Skip to content

Commit 31325b3

Browse files
dimsmedyagh
authored andcommitted
Fix kubelet startup failure in kind-audit-e2e.sh
Remove KubeletConfiguration blocks that set enableSystemLogQuery: true, which requires the NodeLogQuery feature gate to be enabled. This feature gate is still Beta (since v1.30) and defaults to false, causing the kubelet to fail validation and not start. These settings were not needed for the audit logging functionality. Signed-off-by: Davanum Srinivas <davanum@gmail.com>
1 parent 7717497 commit 31325b3

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

experiment/kind-audit-e2e.sh

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -192,11 +192,6 @@ kubeadmConfigPatches:
192192
value: "10"
193193
- name: "container-log-max-size"
194194
value: "100Mi"
195-
---
196-
kind: KubeletConfiguration
197-
apiVersion: kubelet.config.k8s.io/v1beta1
198-
enableSystemLogHandler: true
199-
enableSystemLogQuery: true
200195
# v1beta3 for v1.23.0 ... ?
201196
- |
202197
kind: ClusterConfiguration
@@ -240,11 +235,6 @@ kubeadmConfigPatches:
240235
"v": "${KIND_CLUSTER_LOG_LEVEL}"
241236
"container-log-max-files": "10"
242237
"container-log-max-size": "100Mi"
243-
---
244-
kind: KubeletConfiguration
245-
apiVersion: kubelet.config.k8s.io/v1beta1
246-
enableSystemLogHandler: true
247-
enableSystemLogQuery: true
248238
EOF
249239
# NOTE: must match the number of workers above
250240
NUM_NODES=2

0 commit comments

Comments
 (0)