This message was deleted.
# harvester
a
This message was deleted.
t
I think you can modify /oem/90_custom.yaml (or it's v1.1.1 equivalent) and find the part that writes out /etc/rancher/rke2/config.yaml.d/90-harvester-server.yaml and edit the kubelet-args section to add an arg to enable the feature gate. I am doing something similar to enable CPU Manager. kubelet-arg: - "max-pods=200" - "cpu-manager-policy=static" - "feature-gates=CPUManager=true"
p
will simply writing to file /etc/rancher/rke2/config.yaml.d/90-harvester-server.yaml will update the k8s cluster or do I need to restart any server or pod ?
t
I don't know if you can update that file and restart kubelet manually or not. I always applied the setting via a reboot to make sure the config file change worked and since I was in a test environment.
p
Let me try with the first approach because reboot in prod/staging won't be a great solution for us
@thousands-action-31843 How are you doing this
I always applied the setting via a reboot to make sure the config fille changed work