k0s
k0s copied to clipboard
Add "k0s config create --node"
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.