Commit Graph

374 Commits

Author SHA1 Message Date
Matthias Bertschy
a042a4b0ee startupProbe: make update 2019-08-30 00:42:43 +02:00
Matthias Bertschy
e4d26f845e startupProbe: API changes 2019-08-30 00:40:26 +02:00
Kubernetes Prow Robot
b362655242
Merge pull request #81792 from j-griffith/move_cloning_to_beta
Promote VolumePVCDataSource to beta for 1.16
2019-08-29 13:31:25 -07:00
Kubernetes Prow Robot
cd9519fe95
Merge pull request #82004 from pohly/ephemeral-beta
ephemeral inline CSI volumes as beta
2019-08-29 09:30:25 -07:00
Rob Scott
75f6c24923
Adding EndpointSlice controller 2019-08-28 21:13:27 -07:00
Jean Rouge
4607b4ba28 Graduating Windows GMSA support to beta
Concerns from alpha-phase reviews have been addressed in
https://github.com/kubernetes/kubernetes/pull/80320
and
https://github.com/kubernetes/kubernetes/pull/82109
and early adopters have given positive feedback; so it seems there are
no blockers to graduate GMSA support to beta.

This patch also enables GMSA support by default, mainly for the sake of
making it easier for cluster admins to use, as well as for e2e tests in
nightly builds.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-08-28 20:03:52 -07:00
Antoine Pelisse
66f24a7308 Make ServerSideApply beta, and enable by default (on the server) 2019-08-28 15:03:42 -07:00
Kubernetes Prow Robot
f3828b776b
Merge pull request #81965 from roycaihw/crd-feature-gates-to-ga
Bump the CRD feature gates to GA
2019-08-28 14:44:44 -07:00
Clayton Coleman
2888e6e923
Node lifecycle controller should use a label for excluding nodes
The current mechanism for excluding "master" nodes based on node names
is fragile and should be fixed by using a label exclusion similar to
service load balancers. The legacy code path is preserved behind a
defaulted-on gate and will be removed in the future.
2019-08-28 10:29:08 -04:00
Clayton Coleman
901da441de
Add a feature gate for legacy node-role behavior
This gate will default to on in 1.16 to cover the behavior of the
existing system, and then in the future default to off and then be
removed once all consumers have migrated.
2019-08-28 10:17:48 -04:00
Kubernetes Prow Robot
dccd28269a
Merge pull request #81467 from bertinatto/e2e_volume_expand
Graduate Volume Expansion to Beta + e2e tests
2019-08-28 01:37:25 -07:00
Patrick Ohly
482a900e83 storage: make CSIInlineVolume a beta feature
The feature is complete and supported by an increasing number of CSI
drivers, but before it can be really used, it should be moved out of
alpha into beta.
2019-08-28 05:32:44 +02:00
Kubernetes Prow Robot
ab13cf1055
Merge pull request #81691 from MrHohn/svc-finalizer-beta
Promote service load balancer finalizer to Beta
2019-08-27 19:37:48 -07:00
Fabio Bertinatto
73f31afd5d Graduate volume expansion to beta 2019-08-27 17:33:41 +02:00
Haowei Cai
7997058d73 bump the CRD feature gates to GA and lock the defaults 2019-08-26 17:24:04 -07:00
Dr. Stefan Schimanski
78f3ab2ef0 apiextension: promote defaulting to beta 2019-08-26 16:35:21 +02:00
j-griffith
280b3313a0 Promote VolumePVCDataSource to beta for 1.16
Promotes the VolumePVCDataSource feature (cloning) to beta for the 1.16
release.

Since alpha release in 1.15 there have been a number of minor bug fixes
in the CSI Hospath Provisioner and the CSI provisioner sidecar.  We've
also added e2e tests using the Hostpath provisioner.
2019-08-22 10:22:58 -06:00
Zihong Zheng
60290dda07 Promote service load balancer finalizer to beta and enable by default 2019-08-20 17:35:08 -07:00
draveness
495faa22db feat: cleanup pod critical pod annotations feature 2019-08-09 08:41:23 +08:00
Lee Verberne
c7ffc1cd8c Rename DebugContainers feature to EphemeralContainers 2019-07-22 11:00:13 +00:00
Kubernetes Prow Robot
323356fda0
Merge pull request #77327 from Huang-Wei/eps-api
Even Pods Spread - 1. API changes
2019-07-19 20:02:55 -07:00
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
Tim Allclair
bc01f97055 Promote RuntimeClass to beta 2019-03-08 13:21:52 -08:00
Vladimir Vivien
4ec7d2305d CSI Inline Volume - API changes 2019-03-08 12:35:07 -05:00
Hemant Kumar
63eb25eb4b Introduce feature gate for volume expansion
Update CSI library version
2019-03-08 09:21:44 -05:00
Kubernetes Prow Robot
1fc2396e2e
Merge pull request #74434 from freehan/pod-ready-ga
promote PodReadinessGate feature to GA
2019-03-07 21:19:43 -08:00
Kubernetes Prow Robot
0b48018a39
Merge pull request #71192 from roycaihw/crd-publish-openapi
Publish CRD openapi
2019-03-07 03:54:58 -08:00
Kubernetes Prow Robot
6dbe98980f
Merge pull request #74909 from NetApp/csi-raw-block-to-beta2
Promote CSI raw blocks to beta
2019-03-06 22:55:46 -08:00
Haowei Cai
11cf3101e3 apiextensions-apiserver: serve openapi spec
Co-authored-by: Dr. Stefan Schimanski <stefan.schimanski@gmail.com>
2019-03-06 16:32:15 -08:00
Kubernetes Prow Robot
c80e45f892
Merge pull request #73840 from adisky/cinder-intree-migration
Add CSI Migration feature flags for Cinder In tree Driver
2019-03-06 14:45:16 -08:00
Kubernetes Prow Robot
752f5668cc
Merge pull request #74737 from wk8/wk8/gmsa_bug_fix
Fixing a small bug with GMSA support
2019-03-06 11:20:49 -08:00
Ben Swartzlander
1493e684d3 Promote CSI raw blocks to beta 2019-03-06 13:43:52 -05:00
Michelle Au
08330c37ca lock csi and plugin watcher GA feature gates 2019-03-05 09:59:05 -08:00
adisky
3090b63414 Add CSI Migration feature flags for Cinder In tree Driver 2019-03-05 06:21:36 +00:00
Xing Yang
6265f4f78c CSINodeInfo/CSIDriver controller changes
This is the 2nd PR to move CSINodeInfo/CSIDriver APIs to
v1beta1 core storage APIs. It includes controller side changes.
It depends on the PR with API changes:
https://github.com/kubernetes/kubernetes/pull/73883
2019-03-04 16:41:58 -08:00
Kubernetes Prow Robot
cb89d8028a
Merge pull request #74769 from msau42/local-pv-ga
move local PV to GA
2019-03-01 19:14:34 -08:00
Michelle Au
5f0847b515 move local PV to GA 2019-03-01 12:51:25 -08:00
Mayank Kumar
1b1251277c Promote RunAsGroup to Beta 2019-02-28 17:24:39 -08:00
Jean Rouge
1908a0ce04 Fixing a small bug with GMSA support
A previous PR (https://github.com/kubernetes/kubernetes/pull/73726)
added GMSA support to the dockershim. Unfortunately, there was a
bug in there: the registry keys used to pass the cred specs down
to Docker were being cleaned up too early, right after the containers'
creation - before Docker would ever try to read them, when trying to
actually start the container.

This patch fixes this.

An e2e test is also provided in a separate PR.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-28 10:26:54 -08:00
Fabio Bertinatto
32c0af42e6 Remove last pieces of mount propagation gate 2019-02-28 13:05:02 +01:00
Minhan Xia
562bc03cf6 promote PodReadinessGate feature to GA 2019-02-25 16:28:29 -08:00
Jean Rouge
b435dbf718 Merge branch 'master' into wk8/gmsa_alpha
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-14 15:38:25 -08:00
Robert Krawitz
2597a1d97e Implement SupportNodePidsLimit, hand-tested 2019-02-13 14:56:17 -05:00
Kubernetes Prow Robot
dc1244c6cd
Merge pull request #72785 from derekwaynecarr/hugepages-ga
Graduate HugePages feature to GA
2019-02-05 13:56:51 -08:00
Jean Rouge
3f5675880d Kubelet changes for Windows GMSA support
This patch comprises the kubelet changes outlined in the GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md)
to add GMSA support to Windows workloads.

More precisely, it includes the logic proposed in the KEP to resolve
which GMSA spec should be applied to which containers, and changes
`dockershim` to copy the relevant GMSA credential specs to Windows
registry values prior to creating the container, passing them down
to docker itself, and finally removing the values from the registry
afterwards; both these changes need to be activated with the `WindowsGMSA`
feature gate.

Includes unit tests.

Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-02-05 09:17:46 -08:00
Antoine Pelisse
0e1d50e70f API Machinery, Kubectl and tests 2019-02-04 13:51:48 -08:00
Derek Carr
deae071d78 Graduate HugePages feature to GA 2019-02-02 00:21:10 -05:00
Kubernetes Prow Robot
235b32e8ad
Merge pull request #72832 from MrHohn/pod-dns-config-ga
Graduate CustomPodDNS feature to GA
2019-02-01 18:29:17 -08:00
Andrew Kim
8be7963797 move GCERegionalPersistentDisk feature to k8s.io/cloud-provider 2019-01-31 15:19:52 -05:00
Bobby (Babak) Salamat
01df1464e5 Graduate Pod priority and preemption to GA 2019-01-29 15:19:38 -08:00
Kubernetes Prow Robot
50cf168e83
Merge pull request #72552 from tallclair/validateproxyredirects
Promote ValidateProxyRedirects to Beta and enable by default
2019-01-24 17:46:32 -08:00