api: Add EnableNodeLogQuery to KubeletConfiguration

Added EnableNodeLogQuery field to kubelet/apis/config/types.go and
staging/src/k8s.io/kubelet/config/v1beta1/types.go, then executed.
 `hack/update-codegen.sh`.

This new field will default to off and will need to be explicitly
enabled in addition to the NodeLogQuery gate to use the feature.
This commit is contained in:
Aravindh Puthiyaparambil
2023-03-06 14:38:33 -08:00
parent d52cbd4a5a
commit aadad09410
9 changed files with 33 additions and 0 deletions

View File

@@ -58282,6 +58282,13 @@ func schema_k8sio_kubelet_config_v1beta1_KubeletConfiguration(ref common.Referen
Format: "",
},
},
"enableSystemLogQuery": {
SchemaProps: spec.SchemaProps{
Description: "enableSystemLogQuery enables the node log query feature on the /logs endpoint. EnableSystemLogHandler has to be enabled in addition for this feature to work. Default: false",
Type: []string{"boolean"},
Format: "",
},
},
"shutdownGracePeriod": {
SchemaProps: spec.SchemaProps{
Description: "shutdownGracePeriod specifies the total duration that the node should delay the shutdown and total grace period for pod termination during a node shutdown. Default: \"0s\"",