Skip to content

Commit dc14711

Browse files
authored
Enable kubelet feature gates: KubeletInUserNamespace: true (#357)
* Enable kubelet feature gates: KubeletInUserNamespace to allow podman rootless to work when we create a kind cluster. #352 Signed-off-by: cmoulliard <cmoulliard@redhat.com> * Move the kind declaration under the apiVersion for kubelet Signed-off-by: cmoulliard <cmoulliard@redhat.com> --------- Signed-off-by: cmoulliard <cmoulliard@redhat.com>
1 parent 1aa5f90 commit dc14711

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/main/resources/kubeadm-1.24.0.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,9 @@ nodeRegistration:
5252
provider-id: kind://docker/kind/kindcontainer-control-plane
5353
---
5454
apiVersion: kubelet.config.k8s.io/v1beta1
55+
kind: KubeletConfiguration
56+
featureGates:
57+
KubeletInUserNamespace: true
5558
cgroupDriver: systemd
5659
cgroupRoot: /kubelet
5760
evictionHard:
@@ -60,7 +63,6 @@ evictionHard:
6063
nodefs.inodesFree: 0%
6164
failSwapOn: false
6265
imageGCHighThresholdPercent: 100
63-
kind: KubeletConfiguration
6466
---
6567
apiVersion: kubeproxy.config.k8s.io/v1alpha1
6668
conntrack:

0 commit comments

Comments
 (0)