Closed jinjianming closed 1 month ago
Passing a quoted string inside another quoted string is hard to get right. Maybe we need to refactor the installation parameters by K3s configuration file for advanced installation rather than the only setting with INSTALL_K3S_EXEC
env.
Should consider with https://github.com/cnrancher/autok3s/issues/638
any news?
@goolzerg This feature is already working in progress and doing the final test. We will release v0.9.3 as soon as this feature is tested. Thanks for your patience.
The K3s server/agent configuration can be set from the Server Config File/Agent Config File which is hidden by default from UI.
For users who use the CLI, use the parameter --server-config-file /my/server-config.yaml --agent-config-file /my/agent-config.yaml
Tested with v0.9.3-rc1
This is my complete boot command, and you can see that I have set 'etcd-snapshot-schedule-cron' to execute backup logic every minute
But it did not take effect. After analysis, it was found that Autok3s will configure line breaks
I tried to manually modify it to the following format and it works properly
CC @JacieChao @orangedeng