https://rancher.com/ logo
Title
p

prehistoric-judge-25958

10/20/2022, 8:06 PM
How do I enable feature gates in my K3s cluster? I want enable StatefulSetAutoDeletePVC
--feature-gates=StatefulSetAutoDeletePVC=true
1
g

gray-lawyer-73831

10/20/2022, 9:47 PM
kubelet-arg:
  - feature-gates=StatefulSetAutoDeletePVC=true
kube-apiserver-arg: 
  - feature-gates=StatefulSetAutoDeletePVC=true
etc. for each k8s component
p

prehistoric-judge-25958

10/20/2022, 9:56 PM
Thanks, where exactly should I put this? ☝️
p

prehistoric-judge-25958

10/21/2022, 10:46 AM
Thank you, will the config.yaml also take effect when restarting k3s service or only on installation? The docs mentioned this: "/etc/rancher/k3s/config.yaml will be used on install."
g

gray-lawyer-73831

10/21/2022, 1:21 PM
It’s taken into effect on restart also
👍 1