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

Use worker's private address as kubelet's node-ip #181

Merged
merged 5 commits into from
Aug 9, 2021
Merged

Conversation

kke
Copy link
Contributor

@kke kke commented Aug 5, 2021

Fixes #179

As mentioned in the issue, k0sctl should automatically set the --extra-kubelet-args="--node-ip x.x.x.x" for workers having a private address.

The private address is now auto-discovered during Gather Facts for workers too.

@kke
Copy link
Contributor Author

kke commented Aug 6, 2021

DEBU[0019] [ssh] 127.0.0.1:9023: Error: unknown flag: --extra-kubelet-args 

@kke kke merged commit 0063740 into main Aug 9, 2021
@kke kke deleted the set-worker-node-ip branch August 9, 2021 12:28
erdii pushed a commit to erdii/k0sctl that referenced this pull request Aug 10, 2021
* Use worker's private address as kubelet's node-ip

* Resolve private addresses for all hosts

* Wrong argument

* Adapt tests

* Actually adapt tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

node INTERNAL-IP is not set to privateAddress
2 participants