k0sctl icon indicating copy to clipboard operation
k0sctl copied to clipboard

Allow easy k0sctl managed way passing `--profile` for workers

Open till opened this issue 3 years ago • 4 comments

Hey — first off, thanks for creating k0s and k0sctl. It's been really nice so far.

I had a question about the worker profiles (mostly because of #107). It seems that when I create a profile, I have to add it to installFlags. At least this was what made it work. Should I pr a note to the docs here or to the k0s repository?

till avatar Apr 21 '22 14:04 till

Also related: #309

till avatar Apr 21 '22 14:04 till

A bit more, #309 includes snippets of what needs to happen, in addition:

  • you need to create the directories yourself
  • you need to chown them (e.g. on the controller: kube-apiserver:kube-apiserver, worker: root:root)

Not sure if that should (or could) be "addressed" in k0sctl? Happy to attempt PRs.

till avatar Apr 21 '22 14:04 till

Yes worker profiles aren't understood by k0sctl so you need to use the --profile installFlag. Maybe this could be implemented so it would become a configuration setting.

kke avatar Apr 22 '22 08:04 kke