Commit Graph

1651 Commits

Author SHA1 Message Date
Patrick Ohly
9a7e4ccab2 DRA admin access: add feature gate
The new DRAAdminAccess feature gate has the following effects:
- If disabled in the apiserver, the spec.devices.requests[*].adminAccess
  field gets cleared. Same in the status. In both cases the scenario
  that it was already set and a claim or claim template get updated
  is special: in those cases, the field is not cleared.

  Also, allocating a claim with admin access is allowed regardless of the
  feature gate and the field is not cleared. In practice, the scheduler
  will not do that.
- If disabled in the resource claim controller, creating ResourceClaims
  with the field set gets rejected. This prevents running workloads
  which depend on admin access.
- If disabled in the scheduler, claims with admin access don't get
  allocated. The effect is the same.

The alternative would have been to ignore the fields in claim controller and
scheduler. This is bad because a monitoring workload then runs, blocking
resources that probably were meant for production workloads.
2024-10-29 09:50:11 +01:00
Kubernetes Prow Robot
685b8b3ba1 Merge pull request #126981 from kannon92/stable-empty-dir-promotion
KEP-1967: promote size backed memory volumes to stable
2024-10-29 01:00:54 +00:00
Hemant Kumar
a9d71bd6e6 Move RecoverVolumeExpansionFailure feature to beta 2024-10-25 13:39:43 -04:00
James Sturtevant
2c5a8c2618 Add Windows Affinity Featuregate
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
2024-10-25 09:14:54 -07:00
Maciej Szulik
db94009981 Promote job creation timestamp annotation to stable
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2024-10-25 16:09:54 +02:00
Kubernetes Prow Robot
0a62f0fd7b Merge pull request #128139 from Jefftree/revert-allowservicelb
Revert removal of feature AllowServiceLBStatusOnNonLB and LockToDefault first
2024-10-24 15:20:54 +01:00
Jefftree
6828abce0f capitalize deprecated to fix linter 2024-10-22 22:40:06 +00:00
zhifei92
dac7332ed2 integrate kubelet with the systemd watchdog
feat:  add unit test

feat:  add FeatureGate for SystemdWatchdog

fix:  linter and failed tests

feat:  add SystemdWatchdog to versioned feature list yaml
2024-10-21 10:46:14 +08:00
Sreeram Venkitesh
f1f9e7b398 Clean kube_features.go
Added tests, info about new feature gate in error message, fixes from review

Added basic e2e test

Added unit tests

Ran hack/update-featuregates.sh

Tolerate updates to existing resources after disabling feature gate

Added feature gate to versioned_kube_features.go

Fixed existing tests

Use PodValidationOptions for validation instead of using feature gate directly

Relaxed validation for allowing zero in prestop hook sleep action
2024-10-18 22:04:42 +05:30
carlory
d62ee4ab5f Remove generally available feature gate HPAContainerMetrics 2024-10-18 14:37:53 +08:00
Kubernetes Prow Robot
f5ae0413ca Merge pull request #126347 from vinayakankugoyal/kep2862impl
KEP-2862: Fine-grained Kubelet API Authorization
2024-10-18 03:53:04 +01:00
Kubernetes Prow Robot
b1b4e5d397 Merge pull request #128003 from pohly/dra-classic-dra-removal
DRA: remove "classic DRA"
2024-10-18 00:55:17 +01:00
Vinayak Goyal
b1f290d444 KEP-2862: Fine-grained Kubelet API Authorization
Signed-off-by: Vinayak Goyal <vinaygo@google.com>
2024-10-17 20:53:27 +00:00
Michal Wozniak
70a8ceb6f0 Graduate JobManagedBy to Beta in 1.32
# Conflicts:
#	pkg/features/kube_features.go
2024-10-17 09:01:54 +02:00
Jefftree
06321f4a0e Revert "Remove AllowServiceLBStatusOnNonLB gate"
This reverts commit 128e189fcd.
2024-10-16 18:00:42 -04:00
Kevin Hannon
b690c4fe15 feature gate comment 2024-10-16 17:15:47 -04:00
Kevin Hannon
1d752200af promote size backed memory volumes to stable 2024-10-16 17:15:02 -04:00
Patrick Ohly
f84eb5ecf8 DRA: remove "classic DRA"
This removes the DRAControlPlaneController feature gate, the fields controlled
by it (claim.spec.controller, claim.status.deallocationRequested,
claim.status.allocation.controller, class.spec.suitableNodes), the
PodSchedulingContext type, and all code related to the feature.

The feature gets removed because there is no path towards beta and GA and DRA
with "structured parameters" should be able to replace it.
2024-10-16 23:09:50 +02:00
AmarNathChary
ff7c708207 removed_comments_from_kube_feature_of_alpha_beta_ga 2024-10-16 15:36:34 +05:30
AmarNathChary
f34d14c314 Removed_alp_beta_ga 2024-10-15 10:39:59 +05:30
Aohan Yang
b47e80a319 Promote LoadBalancerIPMode to GA 2024-10-08 23:00:57 +08:00
Jefftree
a8390dcddd Port the rest of unversioned features 2024-09-27 19:10:11 +00:00
Jefftree
de2e232a85 port kcm feature to versioned 2024-09-27 19:08:15 +00:00
Jefftree
c9a999df1a Port deprecated features to versioned 2024-09-27 19:08:06 +00:00
Jefftree
a20039f3d4 update and reorder features that should not be listed under deprecated 2024-09-27 18:43:27 +00:00
Joe Betz
138106896e Migrate apiextensions-apiserver to versioned feature gates 2024-09-26 20:09:01 -04:00
Omer Aplatony
ade7305940 chore: moving apiserver featuregates to versioned
Signed-off-by: Omer Aplatony <omerap12@gmail.com>
2024-09-25 07:41:26 +03:00
Kubernetes Prow Robot
1137a6a0cc Merge pull request #127093 from jpbetz/retry-generate-name-ga
Promote RetryGenerateName to GA
2024-09-24 00:46:06 +01:00
HirazawaUi
7c85784b9f fix the bug where pod grace period will be overwritten 2024-09-20 22:25:01 +08:00
Joe Betz
e3cae09e63 Promote RetryGenerateName to GA 2024-09-19 14:01:46 -04:00
Jefftree
a5641b33c9 Reorder features alphabetical and add comments for adding features 2024-09-19 17:03:47 +00:00
Kubernetes Prow Robot
3fd267776a Merge pull request #126775 from carlory/cleanup-NewVolumeManagerReconstruction
cleanup after NewVolumeManagerReconstruction is GA
2024-09-13 22:07:13 +01:00
Adrian Moisey
8e3adc4df6 KEP-4427 : AllowRelaxedDNSSearchValidation (#127167)
* KEP-4427 : AllowRelaxedDNSSearchValidation

* Add e2e test with feature gate to test KEP-4427 RelaxedDNSSearchValidation

* Add more validatePodDNSConfig test cases

Also update Regex to match the case we want.

Thanks Tim and Antonio!
2024-09-12 09:41:19 +01:00
Kubernetes Prow Robot
5639b4b29c Merge pull request #127019 from carlory/remove-fg-NodeOutOfServiceVolumeDetach
Remove generally available feature gate NodeOutOfServiceVolumeDetach
2024-09-11 12:29:12 +01:00
Kubernetes Prow Robot
8e4d638e31 Merge pull request #126863 from carlory/MinDomainsInPodTopologySpread
Remove generally available feature gate MinDomainsInPodTopologySpread
2024-09-11 08:56:32 +01:00
Kubernetes Prow Robot
0aea469b96 Merge pull request #127186 from Adarsh-verma-14/remove-duplication
remove the feature flag duplicate definition from pkg/features/kube_features.go
2024-09-10 23:05:56 +01:00
Adarsh-verma-14
4367bae2f5 remove the feature flag definition from pkg/features/kube_features.go for RetryGenerateName 2024-09-06 23:48:27 +05:30
carlory
d5d5bf9f59 Remove generally available feature gate NodeOutOfServiceVolumeDetach 2024-09-05 10:33:16 +08:00
carlory
c2a3009018 Remove generally available feature gate MinDomainsInPodTopologySpread 2024-09-05 10:29:41 +08:00
carlory
8d32f22be4 cleanup after NewVolumeManagerReconstruction is GA 2024-09-05 10:10:07 +08:00
Abhijit Hoskeri
c7e4e831dd node self-register continue if CREATE is 403.
tryRegisterWithAPIServer issues node create requests
regardless of whether the Node already exists.

If there's an admission policy forbidding the creation
of new nodes, the policy would return 403 even if the
Node actually exists.

This change makes Kubelet proceed to attempt to GET
the node in case the Create returns 403.

The feature `KubeletRegistrationGetOnExistsOnly`
restores the previous behavior.
2024-09-05 01:22:44 +00:00
Jefftree
e1893bf44e fix feature gate version introduced for StatefulSetAutoDeletePVC 2024-09-04 17:00:42 +00:00
Jefftree
e7bfd4b6b2 Rename stable to GA 2024-09-04 14:40:12 +00:00
Jefftree
92c36f59b1 fix feature gate version introduced 2024-09-04 14:40:12 +00:00
Jefftree
2954dbbe26 fix feature gate version introduced for MatchLabelKeeysInPodAffinity 2024-09-04 14:30:15 +00:00
Jefftree
86d5bb8607 fix feature gate version introduced for ClusterTrustBundle 2024-09-04 14:30:15 +00:00
Jefftree
c5597f71a6 Port feature gates to versioned 2024-09-04 14:30:13 +00:00
Kubernetes Prow Robot
8b664fd414 Merge pull request #127009 from vinayakankugoyal/kep4633
KEP-4633: Graduate to BETA.
2024-09-04 01:17:28 +01:00
Kubernetes Prow Robot
6b2a5b84e5 Merge pull request #127058 from carlory/rm-fgs
Remove GAed feature gates ServerSideApply/ServerSideFieldValidation
2024-09-03 19:58:02 +01:00
Vinayak Goyal
8a4e23ea30 KEP-4633: Graduate to BETA.
Signed-off-by: Vinayak Goyal <vinaygo@google.com>
2024-09-03 18:18:06 +00:00