Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kubeconfig needs api address override #237

Closed
kke opened this issue Oct 8, 2021 · 0 comments · Fixed by #249
Closed

Kubeconfig needs api address override #237

kke opened this issue Oct 8, 2021 · 0 comments · Fixed by #249
Labels
enhancement New feature or request

Comments

@kke
Copy link
Contributor

kke commented Oct 8, 2021

When you do k0sctl kubeconfig the port is set to whatever was configured to spec.k0s.config.spec.api.port (and apiaddress alike).

This is problematic if you deploy to for example footloose, as the port will possibly be something else than what you have exposed from docker, so you have to perform all sorts of trickery to change the server address in the resulting kubeconfig.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant