Skip to content

Commit 2f0f9ad

Browse files
serathiusk8s-publishing-bot
authored andcommitted
Introduce ConcurrentWatchObjectDecode feature gate disabled by default
Kubernetes-commit: 93a10a75698075e86344ee4fdb56701309468b95
1 parent f36c496 commit 2f0f9ad

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

pkg/features/kube_features.go

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,11 @@ const (
101101
// Allows authorization to use field and label selectors.
102102
AuthorizeWithSelectors featuregate.Feature = "AuthorizeWithSelectors"
103103

104+
// owner: @serathius
105+
// beta: v1.31
106+
// Enables concurrent watch object decoding to avoid starving watch cache when conversion webhook is installed.
107+
ConcurrentWatchObjectDecode featuregate.Feature = "ConcurrentWatchObjectDecode"
108+
104109
// owner: @cici37 @jpbetz
105110
// kep: http://kep.k8s.io/3488
106111
// alpha: v1.26
@@ -365,6 +370,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
365370

366371
AuthorizeWithSelectors: {Default: false, PreRelease: featuregate.Alpha},
367372

373+
ConcurrentWatchObjectDecode: {Default: false, PreRelease: featuregate.Beta},
374+
368375
ValidatingAdmissionPolicy: {Default: true, PreRelease: featuregate.GA, LockToDefault: true}, // remove in 1.32
369376

370377
CoordinatedLeaderElection: {Default: false, PreRelease: featuregate.Alpha},

0 commit comments

Comments
 (0)