Commit Graph

812 Commits

Author SHA1 Message Date
wangyamei
f10c492b68 The DownwardAPIHugePages feature is beta now, set true by default. 2021-11-10 09:35:52 +08:00
Kubernetes Prow Robot
d3ef2e393b
Merge pull request #106058 from marosset/host-process-containers-beta
Move WindowsHostProcessContainers feature-gate to Beta
2021-11-08 19:59:39 -08:00
Hemant Kumar
9d9c3000b0 Remove unnecessary unit tests that exercised disabling the feature gate 2021-11-08 16:41:26 -05:00
Deepak Kinni
bfd5f23a0b PV controller changes to support PV Deletion protection finalizer
Signed-off-by: Deepak Kinni <dkinni@vmware.com>
2021-11-08 10:35:58 -08:00
Kubernetes Prow Robot
33de444861
Merge pull request #103095 from haircommander/podAndContainerStatsFromCRI-feature-gate
Kubelet: implement support for podAndContainerStatsFromCRI
2021-11-07 18:26:53 -08:00
Kubernetes Prow Robot
2af34cf54d
Merge pull request #105940 from dobsonj/kep-1682-ga
Move CSIVolumeFSGroupPolicy feature to GA
2021-11-04 12:34:23 -07:00
Kubernetes Prow Robot
5446b89857
Merge pull request #104470 from pacoxu/patch-4
Remove GAed feature gate CronJobControllerV2
2021-11-03 06:40:58 -07:00
Jonathan Dobson
082cb15648 Move CSIVolumeFSGroupPolicy feature to GA 2021-11-02 15:22:33 -06:00
Matthew Wong
f828fcdf76 Turn CSIMigrationAWS on by default 2021-11-02 11:14:47 -07:00
Jordan Liggitt
01fa142ef5 PodSecurity: promote to beta 2021-11-02 09:43:24 -04:00
Mark Rossetti
d16c1f1004 Move WindowsHostProcessContainers feature-gate to Beta
Signed-off-by: Mark Rossetti <marosset@microsoft.com>
2021-11-01 14:48:56 -07:00
Peter Hunt
cd85d4b3fb features: add podAndContainerStatsFromCRI
to allow users to specify whether the Kubelet should pull pod and container stats
strictly from the CRI, rather than a mixture of CRI and cAdvsior

Signed-off-by: Peter Hunt <pehunt@redhat.com>
2021-10-29 09:40:19 -04:00
Kubernetes Prow Robot
bb24c265ce
Merge pull request #104693 from ravisantoshgudimetla/add-podOS-field
Add pod os field
2021-10-28 21:38:50 -07:00
Kubernetes Prow Robot
c592bd40f2
Merge pull request #105609 from pohly/generic-ephemeral-volume-ga
generic ephemeral volume GA
2021-10-28 17:36:50 -07:00
ravisantoshgudimetla
8d97eaf48c feature: Add podOS featuregate 2021-10-28 17:31:52 -04:00
Kubernetes Prow Robot
6edcb60d9f
Merge pull request #104915 from alculquicondor/job-ready
Track ready pods in Job status
2021-10-28 09:20:26 -07:00
Hemant Kumar
f4ddf15c1f Move ConfigurableFSGroupPolicy feature to GA 2021-10-25 12:21:43 -04:00
Kubernetes Prow Robot
c767c9d993
Merge pull request #105663 from Jefftree/feature-openapiv3
Add feature flag for OpenAPI v3
2021-10-21 10:17:37 -07:00
Kubernetes Prow Robot
18104ecf1f
Merge pull request #105405 from verb/1.23-ec-beta
Promote EphemeralContainers to beta
2021-10-20 09:24:10 -07:00
Kubernetes Prow Robot
dea14dbdcc
Merge pull request #105495 from ikeeip/storageobjectinuseprotection_lock_to_default
Lock StorageObjectInUseProtection feature gate to default
2021-10-19 21:45:57 -07:00
Aldo Culquicondor
1bff5eb44d Add ready field to Job status
to keep a count of the pods that have the ready condition.

Also:
- Add feature gate JobReadyPods.
- Add Ready to describe.

Change-Id: Ib934730a430a8e2a2f485671e345fe2330006939
2021-10-19 15:18:34 -04:00
Lee Verberne
6f4b8da9a3 Promote EphemeralContainers feature to beta 2021-10-19 08:47:57 -04:00
Aldo Culquicondor
2c1b3fdb5b Graduate JobTrackingWithFinalizers to beta
Enable feature by default.

Update integration tests for other features to assume that finalizers are present.

Change-Id: Ie969344f572627dba882c0e862e5700dadaf3026
2021-10-15 10:29:40 -04:00
Konstantin Misyutin
e07d736522 Lock StorageObjectInUseProtection feature gate to default
Signed-off-by: Konstantin Misyutin <konstantin.misyutin@huawei.com>
2021-10-15 19:36:53 +08:00
Kubernetes Prow Robot
dea052ceba
Merge pull request #105479 from ahg-g/ahg-mutable
Allow updating scheduling directives of suspended jobs that never started
2021-10-14 08:09:18 -07:00
Abdullah Gharaibeh
335817cbce Allow updating node affinity, selector and tolerations for suspended jobs that never started 2021-10-14 10:04:47 -04:00
Kubernetes Prow Robot
a8bda48abe
Merge pull request #105474 from mauriciopoppe/readd-volume-subpath-flag
Add VolumeSubpath feature gate back in preparation for its removal
2021-10-13 21:55:28 -07:00
Kubernetes Prow Robot
894ceb63d0
Merge pull request #105003 from swatisehgal/getallocatable-to-beta
podresource-api: getAllocatableResources to Beta
2021-10-13 17:43:27 -07:00
Jefftree
8cb2b798c6 Feature flag openapi v3 2021-10-13 09:40:57 -07:00
Patrick Ohly
a8c930ef46 generic ephemeral volume: graduation to GA
The feature gate gets locked to "true", with the goal to remove it in two
releases.

All code now can assume that the feature is enabled. Tests for "feature
disabled" are no longer needed and get removed.

Some code wasn't using the new helper functions yet. That gets changed while
touching those lines.
2021-10-11 20:54:20 +02:00
Kubernetes Prow Robot
76c86ce324
Merge pull request #105219 from sahilvv/ga_ttl
GA TTLAfterFinish
2021-10-08 09:38:59 -07:00
Kubernetes Prow Robot
63f66e6c99
Merge pull request #105012 from fromanirh/cpumanager-policy-options-beta
node: graduate CPUManagerPolicyOptions to beta
2021-10-08 07:32:59 -07:00
Sahil Vazirani
3988405c8d
GA TTLAfterFinish 2021-10-07 16:58:50 -07:00
Mauricio Poppe
a3710187f0 Add VolumeSubpath feature gate in preparation for its removal in 1.25 2021-10-05 22:57:06 +00:00
Kubernetes Prow Robot
519b164db1
Merge pull request #105222 from cyclinder/remove_node_lease_GA
remove nodeLease feature GA
2021-10-05 05:41:21 -07:00
Author cyclinder
e61b901628 remove nodeLease feature GA
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2021-10-05 12:23:27 +08:00
Swati Sehgal
01dacd0463 podresource-api: getAllocatableResources to Beta
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-10-01 16:48:29 +01:00
Paco Xu
444001ed44 Remove GAed feature gate CronJobControllerV2 2021-09-30 13:49:51 +08:00
Kubernetes Prow Robot
6f47878926
Merge pull request #105107 from cici37/addFG
Add feature gate CustomResourceValidationExpressions
2021-09-29 08:08:48 -07:00
Francesco Romani
077c0aa1be node: graduate CPUManagerPolicyOptions to beta
We graduate the `CPUManagerPolicyOptions` feature to beta
in the 1.23 cycle, and we add new experimental feature gates
to guard new options which are planned in the 1.23 and in the
following cycles.

We introduce additional feature gate called `CPUManagerPolicyAlphaOptions` and
`CPUManagerPolicyBetaOptions`. The basic idea is to avoid the
cumbersome process of adding a feature gate for each option, and to have
feature gates which track the maturity level of _groups_ of options.
Besides this change, the graduation process, and the process in general,
for adding new policy options is still unchanged.

The `full-pcpus-only` option added in the 1.22 cycle is intentionally
moved into the beta policy options

For more details:
- KEP: https://github.com/kubernetes/enhancements/pull/2933
- sig-arch discussion:
  https://groups.google.com/u/1/g/kubernetes-sig-architecture/c/Nxsc7pfe5rw

Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-09-29 11:40:03 +02:00
Khaled Henidak (Kal)
a53e2eaeab
move IPv6DualStack feature to stable. (#104691)
* kube-proxy

* endpoints controller

* app: kube-controller-manager

* app: cloud-controller-manager

* kubelet

* app: api-server

* node utils + registry/strategy

* api: validation (comment removal)

* api:pod strategy (util pkg)

* api: docs

* core: integration testing

* kubeadm: change feature gate to GA

* service registry and rest stack

* move feature to GA

* generated
2021-09-24 16:30:22 -07:00
ialidzhikov
d6f4c03e4b Remove the BoundServiceAccountTokenVolume feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-09-21 11:53:51 +03:00
Kubernetes Prow Robot
e8653fe24a
Merge pull request #104163 from ialidzhikov/cleanup/pids-limit
Remove SupportPodPidsLimit and SupportNodePidsLimit feature gates
2021-09-20 11:35:09 -07:00
cici37
117ef89d2b Add feature gate CustomResourceValidationExpressions 2021-09-17 12:43:27 -07:00
saad-ali
beb17fe10b Remove VolumeSubpath feature gate
Remove the VolumeSubpath feature gate.

Feature gate convention has been updated since this was introduced to
indicate that they "are intended to be deprecated and removed after a
feature becomes GA or is dropped.".
2021-09-17 01:59:23 -07:00
Andy Zhang
6b42f4ca40
turn on CSIMigrationAzureFile by default on 1.24 2021-09-16 20:47:09 +08:00
Kubernetes Prow Robot
5d7ac70051
Merge pull request #104670 from andyzhangx/patch-2
turn on CSIMigrationAzureDisk by default on 1.23
2021-09-16 05:35:45 -07:00
Jiahui Feng
2ddcf13e91 add feature gate OpenAPIEnums.
KEP-2887 OpenAPI Enum Types
2021-09-15 16:08:47 -07:00
Kubernetes Prow Robot
62a6df9e0b
Merge pull request #104045 from ravisantoshgudimetla/promote-minReadySec-sts-beta
Promote min ready sec sts beta
2021-09-13 14:33:50 -07:00
Pingan2017
618cabec14 Modify TTLAfterFinished state to beta in comment 2021-09-01 10:50:17 +08:00
Andy Zhang
19db1d758e turn on CSIMigrationAzureDisk by default on 1.23
fix gofmt
2021-08-31 03:10:29 +00:00
Martin Kennelly
da78eb5d8a Update ServiceInternalTrafficPolicy feature state
Feature state is beta in v1.22.0.

Signed-off-by: Martin Kennelly <mkennell@redhat.com>
2021-08-27 16:55:47 +01:00
ravisantoshgudimetla
d0937073dd sts: Promote minReadySeconds 2021-08-20 12:52:59 -04:00
Kubernetes Prow Robot
2dc4f7be17
Merge pull request #103796 from mengjiao-liu/remove-featuregate-AllowInsecureBackendProxy
Remove AllowInsecureBackendProxy feature gate
2021-08-12 10:20:01 -07:00
Andrew Sy Kim
0379c8f96a Fix documented version for DisableKubeletCloudCredentialProviders feature gate
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-08-10 17:24:45 -04:00
Kubernetes Prow Robot
4f50f99cc6
Merge pull request #103685 from mengjiao-liu/remove-ServiceAccountIssuerDiscovery-featuregate
Remove ServiceAccountIssuerDiscovery feature gate
2021-08-09 16:15:17 -07:00
Mengjiao Liu
5eae896d71 Remove AllowInsecureBackendProxy feature gate 2021-08-09 17:35:43 +08:00
Kubernetes Prow Robot
e40e9422e3
Merge pull request #104170 from ialidzhikov/nit/hugepagestoragemediumsize
Correct comment related to HugePageStorageMediumSize feature gate
2021-08-05 20:55:20 -07:00
Kubernetes Prow Robot
35747a6ef8
Merge pull request #104168 from ialidzhikov/cleanup/startupprobe
Remove the StartupProbe feature gate
2021-08-05 17:50:53 -07:00
Owen Strain
a947c32783 Add feature gate to disable in-tree credential providers 2021-08-05 16:50:13 +00:00
ialidzhikov
d866272d65 Correct comment related to HugePageStorageMediumSize feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-05 19:10:09 +03:00
ialidzhikov
a04a98154e Remove the StartupProbe feature gate
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-05 18:48:40 +03:00
ialidzhikov
b5d18f158c Remove SupportPodPidsLimit and SupportNodePidsLimit feature gates
Signed-off-by: ialidzhikov <i.alidjikov@gmail.com>
2021-08-05 17:41:13 +03:00
Paco Xu
94a58a3b14 remove GAed feature gates sysctls 2021-08-04 11:39:54 +08:00
Matthew Cary
fb5b966a88 Revert "Add StatefulSetAutoDeletePVC feature gate"
This reverts commit 0feba0c4ee.
2021-07-15 17:03:53 -07:00
Mengjiao Liu
7911a08fb3 Remove ServiceAccountIssuerDiscovery feature gate 2021-07-14 18:43:59 +08:00
rarashid
bf2ae14501 Move feature flag to beta (but leave as false) and remove the feature flag from Kubelet 2021-07-13 14:25:44 -05:00
Kubernetes Prow Robot
de0670ca0d
Merge pull request #103553 from ehashman/rename-node-ff
Rename NodeSwapEnabled flag to NodeSwap
2021-07-09 16:49:30 -07:00
Kubernetes Prow Robot
60756214d8
Merge pull request #103533 from jiahuif/feature/leader-migration/to-beta
KEP-2436 Leader Migration: to beta
2021-07-09 12:15:00 -07:00
Elana Hashman
642eff0c69
Rename NodeSwapEnabled flag to NodeSwap 2021-07-09 11:39:52 -07:00
Kubernetes Prow Robot
29652248eb
Merge pull request #103596 from andrewsykim/endpointslice-terminating
Promote EndpointSliceTerminatingCondition to Beta
2021-07-09 06:01:42 -07:00
Indeed
995278c9fb add ControllerManagerLeaderMigration as beta
This feature was in staging/src/k8s.io/controller-manager/pkg/features/kube_features.go but missing here.
2021-07-08 21:20:13 -07:00
Andrew Sy Kim
826a5219da promote EndpointSliceTerminatingCondition to Beta
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-08 17:34:10 -04:00
Francesco Romani
c5cb263dcf smtalign: propagate policy options to cpumanager
The CPUManagerPolicyOptions received from the kubelet config/command line args
is propogated to the Container Manager.

We defer the consumption of the options to a later patch(set).

Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:35 +02:00
Kubernetes Prow Robot
a9d7526864
Merge pull request #102970 from tkestack/feature-memory-qos
Feature: Support memory qos with cgroups v2
2021-07-08 14:01:36 -07:00
Kubernetes Prow Robot
b765496650
Merge pull request #98817 from alculquicondor/job-completion-api
Add Job.status.uncountedTerminatedPods for Job tracking
2021-07-08 10:44:54 -07:00
Aldo Culquicondor
bb56a0bd04 Add Job.status.uncountedPodUIDs
For tracking Job Pods that have finished but are not yet counted as failed or succeeded

And feature gate JobTrackingWithFinalizers

Change-Id: I3e080f3ec090922640384b692e88eaf9a544d3b5
2021-07-08 15:31:59 +00:00
Li Bo
c3d9b10ca8 feature: support Memory QoS for cgroups v2 2021-07-08 09:26:46 +08:00
Kubernetes Prow Robot
8fb777efb0
Merge pull request #103451 from swetharepakula/ga-proxy-gates
Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates
2021-07-07 18:09:13 -07:00
Kubernetes Prow Robot
36a7426aa5
Merge pull request #99144 from bart0sh/PR0094-promote-HugePageStorageMediumSize-to-GA
promote huge page storage medium size to GA
2021-07-07 18:09:05 -07:00
Kubernetes Prow Robot
ebbe63f116
Merge pull request #92863 from AkihiroSuda/rootless-pr
kubelet & kube-proxy: ignore sysctl errors and rlimit errors when running in UserNS (for rootless)
2021-07-07 18:08:53 -07:00
Kubernetes Prow Robot
8e56a34195
Merge pull request #102966 from SergeyKanzhelev/deprecateDynamicKubeletConfig
deprecate and disable by default DynamicKubeletConfig feature flag
2021-07-07 17:05:15 -07:00
Swetha Repakula
0a42f7b989 Graduate EndpointSliceProxying and WindowsEndpointSliceProxying Gates 2021-07-07 13:33:30 -07:00
Akihiro Suda
b16323e37c
New feature gate: KubeletInUserNamespace
Enables support for running kubelet in a user namespace.
The user namespace has to be created before running kubelet.
All the node components such as CRI need to be running in the same user namespace.

See kubernetes/enhancements PR 1371 (merged) and issue 2033.

Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
2021-07-07 14:22:55 +09:00
Kubernetes Prow Robot
561959f682
Merge pull request #102823 from ehashman/kep-2400-swap
Alpha node swap support
2021-07-06 22:11:11 -07:00
Kubernetes Prow Robot
15222a599f
Merge pull request #103244 from verult/fsgroup-to-csi
Delegate applying FSGroup to CSI driver through NodeStageVolume and NodePublishVolume
2021-07-06 16:22:10 -07:00
Mike Dame
4b9230ed27 Promote LogarithmicScaleDown to beta
This promotes the LogarithmicScaleDown feature gate to Beta, enabling it
by default. It also introduces a new metric, `sorting_deletion_age_ratio`,
intended to measure the efficacy of this new replica set scaledown behavior.
2021-07-06 09:58:03 -04:00
Andrew Sy Kim
28f3f36505
Promote the ServiceInternalTrafficPolicy field to Beta and on by default (#103462)
* pkg/features: promote the ServiceInternalTrafficPolicy field to Beta and on by default

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/api/service/testing: update Service test fixture functions to set internalTrafficPolicy=Cluster by default

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/apis/core/validation: add more Service validation tests for internalTrafficPolicy

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/registry/core/service/storage: fix failing Service REST storage tests to use internalTrafficPolicy: Cluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/registry/core/service/storage: add two test cases for Service REST TestServiceRegistryInternalTrafficPolicyClusterThenLocal and TestServiceRegistryInternalTrafficPolicyLocalThenCluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/registry/core/service: update strategy unit tests to expect default
internalTrafficPolicy=Cluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/proxy/ipvs: fix unit test Test_EndpointSliceReadyAndTerminatingLocal to use internalTrafficPolicy=Cluster

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/apis/core: update fuzzers to set Service internalTrafficPolicy field

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>

* pkg/api/service/testing: refactor Service test fixtures to use Tweak funcs

Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-06 06:16:30 -07:00
Cheng Xing
99700f7faf feature gate 2021-07-03 16:29:37 -07:00
Sergey Kanzhelev
dffc2a60a2 deprecate and disable by default DynamicKubeletConfig feature flag 2021-07-02 23:53:11 +00:00
Hanlin Shi
c8bc420245 Fix the beta release version.
Signed-off-by: Hanlin Shi <shihanlin9@gmail.com>
2021-07-02 21:58:49 +00:00
Andrew Sy Kim
05c6eaf0d1 promote ServiceLBNodePortControl to beta
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2021-07-02 20:09:14 +00:00
Monis Khan
cd91e59f7c
csr: add expirationSeconds field to control cert lifetime
This change updates the CSR API to add a new, optional field called
expirationSeconds.  This field is a request to the signer for the
maximum duration the client wishes the cert to have.  The signer is
free to ignore this request based on its own internal policy.  The
signers built-in to KCM will honor this field if it is not set to a
value greater than --cluster-signing-duration.  The minimum allowed
value for this field is 600 seconds (ten minutes).

This change will help enforce safer durations for certificates in
the Kube ecosystem and will help related projects such as
cert-manager with their migration to the Kube CSR API.

Future enhancements may update the Kubelet to take advantage of this
field when it is configured in a way that can tolerate shorter
certificate lifespans with regular rotation.

Signed-off-by: Monis Khan <mok@vmware.com>
2021-07-01 23:38:15 -04:00
Kubernetes Prow Robot
98d20f552b
Merge pull request #99378 from mattcary/api
StatefulSet PersistentVolumeClaimDeletePolicy
2021-06-30 11:49:03 -07:00
Kubernetes Prow Robot
21f41b8e82
Merge pull request #101711 from hbagdi/ingressclass-namespaced-params-beta
graduate IngressClassNamespacedParams to beta
2021-06-29 17:07:03 -07:00
Elana Hashman
0dd4ce40ad
Add NodeSwapEnabled feature flag 2021-06-29 11:57:34 -07:00
Chris Henzie
48ba5020a2 ReadWriteOncePod PV access mode and feature gate 2021-06-28 21:25:35 -07:00
Kubernetes Prow Robot
d92f6c424d
Merge pull request #103099 from liggitt/podsecurity
PodSecurity admission
2021-06-28 20:46:52 -07:00
Kubernetes Prow Robot
db3a216fbb
Merge pull request #97238 from andrewsykim/kube-proxy-handle-terminating
kube-proxy handle terminating endpoints
2021-06-28 20:46:40 -07:00
Kubernetes Prow Robot
38f012320f
Merge pull request #101947 from cynepco3hahue/memory_manager_move_to_beta
memory manager: move to beta
2021-06-28 15:38:28 -07:00