-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Need a way to get kubeconfig with node IP #1558
Comments
Is a workaround |
/assign |
kubernetes-sigs/kind#1558 (comment) Signed-off-by: adrienjt <[email protected]>
/close
|
@aojea: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The utility is that you can use the kubeconfig from within docker. Common in multicluster. Getting the IP is not so hard, but having to |
kubectl get nodes -o=jsonpath='{range .items[*]}{.metadata.name}{":"}{.status.addresses[?(@.type=="InternalIP")].address}{"\n"}{end}'
testapi-control-plane:172.19.0.6
testapi-control-plane2:172.19.0.5
testapi-control-plane3:172.19.0.4 |
is not valid using kubectl directly? |
/assign |
/remove-kind design |
What would you like to be added:
Some way to get the kubeconfig with the server field using the node container IP rather than the port forward on the hosts loopback or the internal DNS.
Why is this needed:
You could do this in 0.7 and on Linux it works from both host and inside the node / pods
The text was updated successfully, but these errors were encountered: