How to set INSTALL_K3S_EXEC? #5048
-
Hello, I'd like to set INSTALL_K3S_EXEC to customize k3s, specifically
I also tried with:
Did not work out either. I wonder what is the proper way to set this? I read in the repo that there is a |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After spending a whole day looking for answers, this is the correct syntax that works:
I suggest making some document changes indicating above is the correct way to add k3s customization in the provisioning script. Current document is not helpful at all at https://docs.rancherdesktop.io/how-to-guides/provisioning-scripts which is not indicating k3s customization although a line says scripts can be used to provide certain command line parameters to K3s. Also I suggest to align with official k3s environment variable, see https://docs.k3s.io/installation/configuration, they all use Above doc enhancement will greatly help others who encounter this same issue. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the suggestion! I've filed a docs bug to see if we can improve the documentation. |
Beta Was this translation helpful? Give feedback.
After spending a whole day looking for answers, this is the correct syntax that works:
I suggest making some document changes indicating above is the correct way to add k3s customization in the provisioning script. Current document is not helpful at all at https://docs.rancherdesktop.io/how-to-guides/provisioning-scripts which is not indicating k3s customization although a line says scripts can be used to provide certain command line parameters to K3s.
Also I suggest to align with official k3s environment variable, see https://docs.k3s.io/installation/configuration, they all use
INSTALL_K3S_EXEC
, it is rather confusing for rancher desktop to useK3S_EXEC
.