Flip SeparateCacheWatchRPC feature gate to false and deprecate it.

Watch requests to etcd are mapped to a single stream that has a limited throughput.
By opening a lot of concurrent watch requests to single resource, users
could starve other watches from getting any events.

Separating the RPC was meant to protect the watch opened by cache.
However, as we are no longer planning to allow users to open watch directly to etcd,
the flag is not needed.
This commit is contained in:
Marek Siarkowicz 2025-01-31 11:38:58 +01:00
parent 3bc8f01c74
commit 4a5bbc4c15
3 changed files with 6 additions and 0 deletions

View File

@ -325,6 +325,7 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
genericfeatures.SeparateCacheWatchRPC: {
{Version: version.MustParse("1.28"), Default: true, PreRelease: featuregate.Beta},
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Deprecated},
},
genericfeatures.StorageVersionAPI: {

View File

@ -364,6 +364,7 @@ var defaultVersionedKubernetesFeatureGates = map[featuregate.Feature]featuregate
SeparateCacheWatchRPC: {
{Version: version.MustParse("1.28"), Default: true, PreRelease: featuregate.Beta},
{Version: version.MustParse("1.33"), Default: false, PreRelease: featuregate.Deprecated},
},
StorageVersionAPI: {

View File

@ -1150,6 +1150,10 @@
lockToDefault: false
preRelease: Beta
version: "1.28"
- default: false
lockToDefault: false
preRelease: Deprecated
version: "1.33"
- name: SeparateTaintEvictionController
versionedSpecs:
- default: true