k0s icon indicating copy to clipboard operation
k0s copied to clipboard

k0s install should unpack bundle

Open wenerme opened this issue 3 years ago • 1 comments

Is your feature request related to a problem? Please describe.

want to generate containerd.toml, but system do not install containerd, k0s bundled containerd, but can not access the containerd without k0s start.

Describe the solution you would like

add a new command k0s unpack to get /var/lib/k0s or unpack when k0s install

Describe alternatives you've considered

No response

Additional context

No response

wenerme avatar Feb 22 '22 11:02 wenerme

An alternative solution could be to allow to use k0s's embedded binaries through k0s. Roughly similar to the k0s kubectl subcommand.

So that something along the lines of k0s containerd config default would unpack containerd into the data directory and then exec containerd with the remaining arguments: /path/to/data-dir/bin/containerd config default.

twz123 avatar Feb 28 '22 14:02 twz123