Commit Graph

35294 Commits

Author SHA1 Message Date
Sean Sullivan
140c62cd4c Update all imports to scheme in staging 2019-07-18 15:32:27 -07:00
Sean Sullivan
be3b2cc1a4 Moved files from pkg/kubectl/scheme to staging 2019-07-18 15:32:12 -07:00
Kubernetes Prow Robot
477304cdbd Merge pull request #80300 from tedyu/idx-trigger
Rename TriggerPublisherFunc as IndexerFunc
2019-07-18 13:24:33 -07:00
Kubernetes Prow Robot
8d4c49faae Merge pull request #80088 from ZP-AlwaysWin/dev01
Fix golint failure in pkg/controller/volume/expand
2019-07-18 09:52:12 -07:00
Kubernetes Prow Robot
748849bbb9 Merge pull request #75805 from brahmaroutu/nfs_metrics
Adding metrics to nfs driver
2019-07-18 08:34:13 -07:00
Kubernetes Prow Robot
c1ebabed42 Merge pull request #80230 from tedyu/rolling-sel
Skip unnecessary copy of Selector
2019-07-18 07:08:25 -07:00
Kubernetes Prow Robot
ab266f725f Merge pull request #80173 from gaorong/node-lease-renew-interval
make node lease renew interval more heuristic
2019-07-18 07:08:11 -07:00
Ted Yu
6e98aab26e Rename TriggerPublisherFunc as IndexerFunc 2019-07-18 06:45:51 -07:00
Kubernetes Prow Robot
ce80aeaac5 Merge pull request #78319 from egernst/scheduler-changes
Scheduler changes to introduce alpha support for Pod Overhead
2019-07-18 01:52:11 -07:00
Kubernetes Prow Robot
91e17af5ff Merge pull request #80263 from tedyu/job-ctrl-early
Skip unnecessary operations if diff is <= 0
2019-07-17 21:28:48 -07:00
Kubernetes Prow Robot
cb9c6f43a5 Merge pull request #80260 from khenidak/fix-panic-in-pod-strategy
fix panic in ResourceLocation in case of empty pod ip list
2019-07-17 21:28:23 -07:00
Kubernetes Prow Robot
1125054612 Merge pull request #80235 from moshe010/remove_string
Remove unnecessary string() from policy_none
2019-07-17 19:34:49 -07:00
Kubernetes Prow Robot
a930b5ca7e Merge pull request #79793 from wojtek-t/index_in_cacher
Simplify trigger functions in cacher
2019-07-17 19:34:37 -07:00
Kubernetes Prow Robot
2b21e478b1 Merge pull request #79489 from bclau/feature/run-as-username
Adds WindowsOptions.RunAsUserName field
2019-07-17 19:34:24 -07:00
Kubernetes Prow Robot
c23a031bb4 Merge pull request #79060 from tedyu/dc-check-err
Check error return from MetaNamespaceKeyFunc
2019-07-17 19:34:10 -07:00
Kubernetes Prow Robot
5db091dde4 Merge pull request #73580 from lmdaly/topology-manager-implementation
Add Topology Manager Implementations based on Interfaces
2019-07-17 14:18:13 -07:00
Ted Yu
898f099346 Skip unnecessary operations if diff is less than 0 2019-07-17 14:03:08 -07:00
Kubernetes Prow Robot
4b2c96c952 Merge pull request #79977 from bertinatto/fix_iscsi_cleanup
Fix iSCSI storage plugin cleanup in block volumes
2019-07-17 12:20:25 -07:00
Kubernetes Prow Robot
601b7935ff Merge pull request #79971 from mrkm4ntr/fix-pv-existence-check
Add check to reduce orphaned volume
2019-07-17 12:20:12 -07:00
Khaled Henidak(Kal)
41f313570e fix panic in ResourceLocation in case of empty pod ip list 2019-07-17 18:30:08 +00:00
Ted Yu
c429b7d3e4 Handle error return from MetaNamespaceKeyFunc 2019-07-17 10:52:23 -07:00
James Sturtevant
a8c78d1359 Windows: Sets the effective SecurityContext's RunAsUserName
Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>
2019-07-17 15:03:11 +00:00
James Sturtevant
1c4edfba57 Run code generation for new field 2019-07-17 15:03:10 +00:00
James Sturtevant
e8b369ff3c Windows: Adds RunAsUserName field in WindowsOptions
Adds the field RunAsUserName in the WindowsSecurityContextOptions type,
which is used in PodSecurityContext and SecurityContext.

This field needs to allow for a valid set of usernames allowed for
Windows containers. It must have the format "U

This commit also validates the runAsUserName field, making sure that it valid,
having the format DOMAIN\USER (case insensitive), where DOMAIN\ is optional and
has to be a valid NetBios or DNS domain name.

For more information about the restrictions on the DOMAIN and USER parts, look here: [1] [2]

Adds the WindowsRunAsUserName alpha feature gate. By default, it is disabled.
If the feature gate is not enabled, the WindowsOptions.RunAsUserName field
will be dropped from both the PodSecurityContext and container
SecurityContext.

Co-Authored-By: Claudiu Belu <cbelu@cloudbasesolutions.com>

[1] https://support.microsoft.com/en-us/help/909264/naming-conventions-in-active-directory-for-computers-domains-sites-and
[2] https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.localaccounts/new-localuser?view=powershell-5.1
2019-07-17 15:03:04 +00:00
Rong Gao
95f3e64785 make node lease renew interval more heuristic 2019-07-17 20:57:21 +08:00
Kubernetes Prow Robot
835552ecb6 Merge pull request #80191 from davidz627/fix/mountStage
Add passthrough for MountOptions for NodeStageVolume for CSI
2019-07-17 00:42:33 -07:00
Kubernetes Prow Robot
683e405f31 Merge pull request #79418 from yue9944882/chore/prune-aggregator-internals
Prune hub-type client/informer/lister from kube-aggregator
2019-07-16 23:22:34 -07:00
Kubernetes Prow Robot
a3898dc41d Merge pull request #79109 from ahg-g/scoring
Score plugin for the scheduling framework.
2019-07-16 21:22:34 -07:00
Louise Daly
9d7e31e66e Topology Manager Implementation based on Interfaces
Co-authored-by: Kevin Klues <kklues@nvidia.com>
Co-authored-by: Conor Nolan <conor.nolan@intel.com>
Co-authored-by: Sreemanti Ghosh <sreemanti.ghosh@intel.com>
2019-07-17 02:30:21 +01:00
ZP-AlwaysWin
1573be94ae fix pkg/controller/volume/expand/pvc_populator.go 2019-07-17 09:00:24 +08:00
Kubernetes Prow Robot
74f371ce48 Merge pull request #75260 from jsafrane/fix-secret-timeout-msg
Fix message of failed sync
2019-07-16 17:36:33 -07:00
David Zhu
831cd29f4e Add passthrough for MountOptions for NodeStageVolume for CSI 2019-07-16 16:17:47 -07:00
Moshe Levi
d52985d3a0 Remove unnecessary string() from policy_none
Signed-off-by: Moshe Levi <moshele@mellanox.com>
2019-07-17 01:58:43 +03:00
Kubernetes Prow Robot
0a5c1f0d97 Merge pull request #79834 from SataQiu/fix-taint-20190705
Make taint.ToString() consistent with the reverse parsing logic
2019-07-16 15:24:05 -07:00
Ted Yu
f463011961 Skip unnecessary copy of Selector 2019-07-16 13:27:38 -07:00
Kubernetes Prow Robot
a10eced56b Merge pull request #80183 from tedyu/desc-check-ret
Check return value of LabelSelectorAsSelector in describe
2019-07-16 13:23:12 -07:00
Kubernetes Prow Robot
c92e7b4980 Merge pull request #79989 from tedyu/kube-metric-del
Log warning if config labels deletion returns false
2019-07-16 13:23:00 -07:00
Kubernetes Prow Robot
4197adaf2d Merge pull request #79343 from nolancon/topology-manager-none
Add Policy None for Topology Manager
2019-07-16 13:22:47 -07:00
Eric Ernst
9babbf8bd7 pod-overhead: autogenerated code for scheduling changes
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-07-16 12:56:19 -07:00
Eric Ernst
62e9717386 scheduler: add pod Overhead support for requests
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-07-16 12:56:19 -07:00
Kubernetes Prow Robot
30c9f097ca Merge pull request #79940 from jeremyxu2010/avoid_detachdisk_never_execute_again
Avoid RbdDiskManager's DetachDisk function never be executed again
2019-07-16 10:11:37 -07:00
Kubernetes Prow Robot
5ece88c4c8 Merge pull request #74526 from DXist/feature/hpa-scale-to-zero
Support scaling HPA to/from zero pods for object/external metrics
2019-07-16 10:11:24 -07:00
Ted Yu
5d1bb99fcd Log warning if config labels deletion returns false 2019-07-16 09:46:12 -07:00
yue9944882
3b1624f0cc remove kube-aggregator/pkg/client/*
use v1 api

[DO NOT REVIEW] bazel changes

code-gen script changes

update hack/update-vendor

remove useless interface type cast
2019-07-16 23:11:15 +08:00
Abdullah Gharaibeh
a80425bd23 Fixed build files. 2019-07-16 10:24:10 -04:00
Abdullah Gharaibeh
73704f1b8e Use error channel to capture first error. 2019-07-16 10:00:42 -04:00
Rinat Shigapov
19d93eefeb Update generated files
update generated protobufs

swagger docs are regenerated

update openapi-spec

update generated openapi
2019-07-16 08:46:21 -05:00
Rinat Shigapov
d55f037b7d HPA scale-to-zero for custom object/external metrics
Add support for scaling to zero pods

minReplicas is allowed to be zero

condition is set once

Based on https://github.com/kubernetes/kubernetes/pull/61423

set original valid condition

add scale to/from zero and invalid metric tests

Scaling up from zero pods ignores tolerance

validate metrics when minReplicas is 0

Document HPA behaviour when minReplicas is 0

Documented minReplicas field in autoscaling APIs
2019-07-16 08:46:21 -05:00
Fabio Bertinatto
80652c8d37 Fix iSCSI storage plugin cleanup in block volumes 2019-07-16 15:41:11 +02:00
Abdullah Gharaibeh
c54c4d1962 Score plugin for the scheduling framework. 2019-07-16 09:38:37 -04:00