Enable Feature Flags on k3s

Hi,

I’m too running k3os and I got stumped by this issue due to nfs-client-provisioner now being incapable of fulfilling new pvcs. I solved it with the below line inside /var/lib/rancher/k3os/config.yaml until the provisioner gets fixed upstream.

k3os:
k3s_args:

  • “–kube-apiserver-arg”
  • “feature-gates=RemoveSelfLink=false”

Note that I had to add the feature-gates flag on a seperate line so that the parser can understand it correctly but I didn’t need to requote it.

Hope this helps you or anyone else who has upgraded his cluster to the latest k3os running on 1.20.6 or above.