mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
features: add ExecProbeTimeout feature gate
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
This commit is contained in:
parent
8ef299552b
commit
0b6ef21233
@ -668,6 +668,14 @@ const (
|
|||||||
// alpha: v1.21
|
// alpha: v1.21
|
||||||
// LoadBalancerIPMode enables the IPMode field in the LoadBalancerIngress status of a Service
|
// LoadBalancerIPMode enables the IPMode field in the LoadBalancerIngress status of a Service
|
||||||
LoadBalancerIPMode featuregate.Feature = "LoadBalancerIPMode"
|
LoadBalancerIPMode featuregate.Feature = "LoadBalancerIPMode"
|
||||||
|
|
||||||
|
// owner: @andrewsykim @SergeyKanzhelev
|
||||||
|
// GA: v1.20
|
||||||
|
//
|
||||||
|
// Ensure kubelet respects exec probe timeouts. Feature gate exists in-case existing workloads
|
||||||
|
// may depend on old behavior where exec probe timeouts were ignored.
|
||||||
|
// Lock to default in v1.21 and remove in v1.22.
|
||||||
|
ExecProbeTimeout featuregate.Feature = "ExecProbeTimeout"
|
||||||
)
|
)
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -769,6 +777,7 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
|
|||||||
RootCAConfigMap: {Default: true, PreRelease: featuregate.Beta},
|
RootCAConfigMap: {Default: true, PreRelease: featuregate.Beta},
|
||||||
SizeMemoryBackedVolumes: {Default: false, PreRelease: featuregate.Alpha},
|
SizeMemoryBackedVolumes: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
LoadBalancerIPMode: {Default: false, PreRelease: featuregate.Alpha},
|
LoadBalancerIPMode: {Default: false, PreRelease: featuregate.Alpha},
|
||||||
|
ExecProbeTimeout: {Default: true, PreRelease: featuregate.GA}, // lock to default in v1.21 and remove in v1.22
|
||||||
|
|
||||||
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
// inherited features from generic apiserver, relisted here to get a conflict if it is changed
|
||||||
// unintentionally on either side:
|
// unintentionally on either side:
|
||||||
|
Loading…
Reference in New Issue
Block a user