Commit Graph

35273 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
SataQiu
23b7ae6041 make taint.ToString() consistent with the reverse parsing logic 2019-07-16 21:06:01 +08:00
Jeremy Xu
d8fc13791a Avoid RbdDiskManager's DetachDisk never execute again 2019-07-16 18:13:38 +08:00
Ted Yu
801f703add Check return value of LabelSelectorAsSelector in describe 2019-07-16 02:56:16 -07:00
wojtekt
68fd329e00 Simplify trigger functions in cacher 2019-07-16 08:55:34 +02:00
Kubernetes Prow Robot
a155f3b0e9 Merge pull request #80132 from draveness/feature/rename-register-priority-function
fix: rename RegisterPriorityFunction2 to RegisterPriorityMapReduceFunction
2019-07-15 20:27:48 -07:00
Kubernetes Prow Robot
5a32bea904 Merge pull request #79777 from draveness/feature/refactor-scheduling-predicates
feat: use channel instead of mutex in scheduling predicates
2019-07-15 20:27:35 -07:00
Kubernetes Prow Robot
fc5ef37db1 Merge pull request #79313 from chenchun/fix-flaky
Add Bind extension point to the scheduling framework
2019-07-15 18:31:38 -07:00
Kubernetes Prow Robot
13af8f286d Merge pull request #80160 from wojtek-t/propagate_error_from_cacher_creation
Propagate error from creating cacher and storage decorators up
2019-07-15 16:33:49 -07:00
Kubernetes Prow Robot
7c90f7d96c Merge pull request #77686 from tedyu/preempt-qty
Break out of inner loop when newQuantity is negative in admissionRequirementList#subtract
2019-07-15 14:53:37 -07:00
Kubernetes Prow Robot
80537a9c5f Merge pull request #77323 from tedyu/cgroup-mgr-linux
Check error return from Update
2019-07-15 14:53:24 -07:00
Kubernetes Prow Robot
12f36302f9 Merge pull request #78361 from tedyu/stateful-get-rev
Break out of loop when currentRevision is found in defaultStatefulSetControl#getStatefulSetRevisions
2019-07-15 12:37:23 -07:00
wojtekt
ee13be2884 Propagate error from creating cacher and storage decorators up 2019-07-15 20:48:30 +02:00
Kubernetes Prow Robot
ac2c1ce08a Merge pull request #80162 from wojtek-t/fix_reflectors
Fix (some) kubelet watches to propagate all options
2019-07-15 10:03:21 -07:00
Kubernetes Prow Robot
10a1d1f5bd Merge pull request #79920 from cwdsuzhou/July/block_not_support_attach
Bugfix: csi plugin supporting raw block that does not need attach mounted failed
2019-07-15 08:39:21 -07:00
Kubernetes Prow Robot
d51c5e3c6c Merge pull request #78774 from taragu/kubectl-get-all-blank-lines
Don't print non-error (blank lines in this case) to stdout
2019-07-15 08:39:08 -07:00
Chun Chen
e04f03d3cb Fix flaky test TestBindPlugin 2019-07-15 23:36:06 +08:00
Chun Chen
3bb1a081ab Revert "Revert "Add Bind extension point of the scheduling framework""
This reverts commit b8950dab50.
2019-07-15 23:36:02 +08:00
wojtekt
93d7feb8a2 Fix kubelet watches to propagate all options 2019-07-15 12:49:45 +02:00
caiweidong
0c628e101a Bugfix: csi raw block that does not need attach mounted failed
Add unit test

fix verify-test-featurefates failed
2019-07-15 10:34:12 +08:00
draveness
a4618d6790 fix: rename RegisterPriorityFunction2 to RegisterPriorityMapReduceFunction 2019-07-15 08:17:52 +08:00