Sorry for channelling this question here - I coudn't identify a more apt channel.
How the heck do I enable feature gates with k3d? Trying a day already... :smile_cat:
Doesn't work:
$ k3d cluster create --api-port 6550 -p 8081:80@loadbalancer --agents 2 \
-v /tmp/k3d/kubelet/pods:/var/lib/kubelet/pods:shared \
--k3s-server-arg '--kubelet-arg=feature-gates="EphemeralContainers=true"' \
--k3s-agent-arg '--kubelet-arg=feature-gates="EphemeralContainers=true
If this warrants a FAQ entry, then this is a (docs) feature request.
Eureka, the simple things (without "):
$ k3d cluster create --api-port 6550 -p 8081:80@loadbalancer --agents 2 \
-v /tmp/k3d/kubelet/pods:/var/lib/kubelet/pods:shared \
--k3s-server-arg '--kubelet-arg=feature-gates=EphemeralContainers=true' \
--k3s-agent-arg '--kubelet-arg=feature-gates=EphemeralContainers=true'
Double down on this 隆Eureka! (--kube-apiserver-arg):
$ k3d cluster create --api-port 6550 -p 8081:80@loadbalancer --agents 2 \
-v /tmp/k3d/kubelet/pods:/var/lib/kubelet/pods:shared \
--k3s-server-arg '--kube-apiserver-arg=feature-gates=EphemeralContainers=true'
Hi @blaggacao , thanks for opening this issue!
Now that's some flag/settings hell there :grin:
So it seems like you solved it yourself, right? :+1:
So it seems like you solved it yourself, right?
Confirm, If you don't want to transform this opportunity into an explanatory FAQ entry, please close.
@blaggacao , I added an FAQ entry on how to pass flags through to the API Server :+1:
Thanks for this!