Commit Graph

403 Commits

Author SHA1 Message Date
Wei Huang
49da505a9a EvenPodsSpread: api changes 2019-07-18 17:34:26 -07:00
draveness
d83526d253 Revert "feat: cleanup pod critical pod annotations feature"
This reverts commit b6d41ee5cc.
2019-07-18 13:31:12 +08: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
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
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
draveness
b6d41ee5cc feat: cleanup pod critical pod annotations feature 2019-07-11 08:54:19 +08:00
Kubernetes Prow Robot
7c7d70bc7c Merge pull request #77449 from smarterclayton/compress_2
Replace HTTP compression with a more scoped impl, only use on responses > 128KB
2019-07-09 01:54:03 -07:00
Kubernetes Prow Robot
bbef01a202 Merge pull request #74411 from nolancon/topology-manager-flags-feature-gate
Add feature gate and kubelet flags for Topology Manager
2019-07-03 15:16:13 -07:00
Khaled Henidak(Kal)
72719d5875 IPv6DualStack ALPHA feature 2019-07-02 15:39:05 +00:00
nolancon
705f97e171 Enable feature gate and kubelet flags for Topology Manager
Nit: remove capitalization of preferred
Remove line from kubelet and add to separate PR for easier merge

nit: dependency added to separate PR

Add check to ensure strict policy cannot be set without feature gate enabled

Topology Manager runs "none" policy by default.

Added constants for policies and updated documentation.
2019-07-02 06:50:17 +01:00
Clayton Coleman
a872c6826c Set API compression feature gate to Beta 2019-06-25 12:44:15 -04:00
Kubernetes Prow Robot
ad095324bf Merge pull request #79309 from draveness/feature/cleanup-CSIPersistentVolume-feature-gates
feat: cleanup feature gates for CSIPersistentVolume
2019-06-25 01:15:03 -07:00
draveness
8e9472ba79 feat: cleanup feature gates for CSIPersistentVolume 2019-06-25 09:00:12 +08:00
Kubernetes Prow Robot
2109c1a7a3 Merge pull request #79310 from draveness/feature/cleanup-KubeletPluginsWatcher-feature-gates
feat: cleanup feature gates for KubeletPluginsWatcher
2019-06-23 23:04:09 -07:00
Kubernetes Prow Robot
46469ee9d5 Merge pull request #79307 from draveness/feature/cleanup-kube-features
feat: remove several GA features flag
2019-06-23 14:47:54 -07:00
draveness
35bc5dc6b6 feat: cleanup feature gates for KubeletPluginsWatcher 2019-06-23 16:59:36 +08:00
draveness
5f843da6f4 feat: remove several GA features flag 2019-06-23 16:35:11 +08:00
draveness
ca6003bc75 feat: cleanup PodPriority features gate 2019-06-23 11:57:24 +08:00
Eric Ernst
fc312d4529 pod-overhead: Introduce PodOverhead feature gate
Signed-off-by: Eric Ernst <eric.ernst@intel.com>
2019-06-18 08:05:35 -07:00
RaviSantosh Gudimetla
3c3baf2ce6 Revert "Promote resourcequota scope selectors to GA" 2019-06-04 11:19:03 -04:00
Hemant Kumar
0f62e3fbe8 Make language of error msgs and func names consistent: ExpandVolumeInUse
change feature flag
Fix the e2e test for online and offline expansion
2019-06-03 12:26:56 -04:00
Kubernetes Prow Robot
99392e9f4f Merge pull request #78460 from mysunshine92/update-feature-NodeLease
update Feature:NodeLease in kube_features.go
2019-06-01 02:54:18 -07:00
Kubernetes Prow Robot
bc32307314 Merge pull request #78262 from MrHohn/svc-finalizer-cleanup2
Add Service Load Balancer finalizer support
2019-05-31 22:02:59 -07:00
Kubernetes Prow Robot
fc005789c1 Merge pull request #77274 from RenaudWasTaken/kubeletpodresources-beta
Graduate 3rd party device monitoring plugins to beta!
2019-05-31 10:58:26 -07:00
j-griffith
a66bb3c63d Update unit tests and feature name
Update the unit tests to include checks for incorrect APIGroup type in
PVC DataSource and change the name of the feature gate to be more clear:
s/VolumeDataSource/VolumePVCDataSource/
2019-05-31 06:07:44 -06:00
wangqingcan
52f3380ef3 change preempting to PreemptionPolicy 2019-05-31 12:42:05 +08:00
Zihong Zheng
e44fb7333e Define Alpha feature gate for Load Balancer finalizer 2019-05-30 21:09:04 -07:00
Kubernetes Prow Robot
cf76868b34 Merge pull request #66928 from RobertKrawitz/ephemeral-storage-quota-exp
Ephemeral storage monitoring via filesystem quotas
2019-05-30 20:44:26 -07:00
Renaud Gaubert
39aeaac90e Graduate KubeletPodResources to beta!
Signed-off-by: Renaud Gaubert <rgaubert@nvidia.com>
2019-05-30 07:45:07 -07:00
Kubernetes Prow Robot
225859eb3e Merge pull request #78448 from ravisantoshgudimetla/promote-resourcequota
Promote resourcequota scope selectors to GA
2019-05-30 02:24:46 -07:00
Kubernetes Prow Robot
b18846cf4c Merge pull request #78426 from sttts/sttts-crd-conversion-beta
apiextensions: promote CRD conversion to beta
2019-05-30 02:24:18 -07:00
andyzhangx
f5b319c088 add azure file CSI translation feature gate
fix build error

fix gofmt error
2019-05-30 00:54:39 +00:00
Kubernetes Prow Robot
8d5052eddf Merge pull request #78330 from andyzhangx/csi-translation-azuredisk
Add support for Azure Disk to csi-translation-lib
2019-05-29 17:25:11 -07:00
Dr. Stefan Schimanski
993eaeccdf apiextensions: promote CustomResourceWebhookConversion to beta 2019-05-29 21:15:58 +02:00
Robert Krawitz
f8661d6240 Use xfs_quota command to apply quotas 2019-05-29 15:12:28 -04:00
Robert Krawitz
448e0c44c6 Apply quotas via syscalls using cgo. 2019-05-29 15:12:28 -04:00
Dr. Stefan Schimanski
7fb176d91b apiextensions: add CustomResourceDefaulting feature gate 2019-05-29 15:03:43 +02:00
yameiwang
0af168583d update Feature:NodeLease in kube_features.go 2019-05-29 18:26:04 +08:00
andyzhangx
6f2902e0a3 add feature gate for azure disk
fix gofmt error
2019-05-28 15:38:52 +00:00
ravisantoshgudimetla
958a9e9d30 Promote resourcequota scope selectors to GA 2019-05-28 17:24:54 +02:00
Haowei Cai
5ce7528f3e promote Publish CRD OpenAPI to beta 2019-05-13 12:48:58 -07:00
Andrew Kim
c919139245 update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-05-08 10:01:50 -04:00
Han Kang
33522a7b76 remove GCERegionalPersistentDisk feature from cloud-provider directly to pkg/features since it is no longer used in cloud-provider. This change prevents cloud-provider from bringing in apiserver and component-base (and csi-translation-lib from bringing those two things in transitively) 2019-05-07 17:55:57 -07:00
Kubernetes Prow Robot
922f3603ea Merge pull request #76221 from RobertKrawitz/node-pid-limit-beta
Graduate SupportNodePidsLimit to beta
2019-05-06 15:29:53 -07:00
Jordan Liggitt
63ddfc1db9 Lock GCERegionalPersistentDisk feature on 2019-05-03 14:21:34 -04:00
Kubernetes Prow Robot
f3ec8f0d99 Merge pull request #76546 from HotelsDotCom/kep/VolumeSubpathEnvExpansion-Beta
Beta upgrade for feature gate VolumeSubpathEnvExpansion
2019-04-19 01:05:56 -07:00
yue9944882
6630d7c587 add feature gates for switching between the legacy inflight limiting 2019-04-17 20:28:12 +08:00
Kevin Taylor
bb5b4ad0b2 Beta upgrade for feature date VolumeSubpathEnvExpansion 2019-04-17 07:41:00 +01:00
Robert Krawitz
1c0d021de8 Graduate SupportNodePidsLimit to beta 2019-04-05 18:29:52 -04:00
Dr. Stefan Schimanski
37046e3028 Handle feature gate errors 2019-04-03 16:52:05 +02:00