feature: Add NodeLogQuery feature gate

Enable the query endpoint only if this gate is enabled in addition to
the EnableNodeLogQuery kubelet config option.
This commit is contained in:
Aravindh Puthiyaparambil 2021-06-10 18:27:24 -07:00
parent a9008b502d
commit d52cbd4a5a
No known key found for this signature in database
GPG Key ID: 2281DA6B582F6AA6

View File

@ -555,6 +555,13 @@ const (
// Robust VolumeManager reconstruction after kubelet restart.
NewVolumeManagerReconstruction featuregate.Feature = "NewVolumeManagerReconstruction"
// owner: @aravindhp @LorbusChris
// kep: http://kep.k8s.io/2271
// alpha: v1.27
//
// Enables querying logs of node services using the /logs endpoint
NodeLogQuery featuregate.Feature = "NodeLogQuery"
// owner: @xing-yang @sonasingh46
// kep: https://kep.k8s.io/2268
// alpha: v1.24
@ -1020,6 +1027,8 @@ var defaultKubernetesFeatureGates = map[featuregate.Feature]featuregate.FeatureS
NewVolumeManagerReconstruction: {Default: true, PreRelease: featuregate.Beta},
NodeLogQuery: {Default: false, PreRelease: featuregate.Alpha},
NodeOutOfServiceVolumeDetach: {Default: true, PreRelease: featuregate.Beta},
NodeSwap: {Default: false, PreRelease: featuregate.Alpha},