k0s icon indicating copy to clipboard operation
k0s copied to clipboard

Add "k0s config create --node"

Open kke opened this issue 3 years ago • 0 comments

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

It could be handy if k0s could filter out all the global config options from a configuration and only output the node specific parts.

Describe the solution you would like

k0s config create --node --config k0s.yaml

Or piping:

k0s config get | k0s config create --node --config - (config get would be a shortcut to k0s kubectl -n kube-system get clusterconfig k0s).

Maybe there could be --global for the inverse operation?

Describe alternatives you've considered

I believe the only alternative is doing it manually.

Additional context

With dynamic config, each node still needs the node specific config from a local file.

kke avatar Jan 27 '22 09:01 kke