You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may or may not fix itself for upcoming k0s versions due to k0sproject/k0s#3072 but of course it should be made to work for other versions through k0sctl.
In case if there's custom
dataDir
defined forhosts[*]
ink0s.yaml
cluster config, for example:k0s.yaml
:,
k0sctl kubeconfig
command fails with an error, trying to get thekubelet.conf
file in defaultdataDir
location:k0sctl kubeconfig
should respect thedataDir
parameter values for control-plane host(s) or have the argument to override it.For now, the only option to get a
kubeconfig
after the cluster have been deployed is something likeThe text was updated successfully, but these errors were encountered: