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

Add doc explaining how to access one kind cluster from another #1305

Closed
hossainemruz opened this issue Feb 3, 2020 · 2 comments
Closed

Add doc explaining how to access one kind cluster from another #1305

hossainemruz opened this issue Feb 3, 2020 · 2 comments
Labels
kind/documentation Categorizes issue or PR as related to documentation.

Comments

@hossainemruz
Copy link

What would you like to be documented:
We would like to have a documentation on how to access one kind cluster from another.

Why is this needed:
We are facing a use case where we need to connect between two clusters. One cluster need to be able to perform some operations on another. For, two kind cluster, we need to modify the kubeconfig (kind-config-kind) file before using it inside one of the clusters. We have to replace the address of

server: https://127.0.0.1:32769

with

server: https://<cluster's control-pane ip >:6443

I would like to submit a PR with necessary explanation.

@hossainemruz hossainemruz added the kind/documentation Categorizes issue or PR as related to documentation. label Feb 3, 2020
@BenTheElder
Copy link
Member

You just need to use kind get kubeconfig --internal to get the contents of one with the internal IP. Or kind export kubeconfig --internal. No manual IP swapping required.

There is help usage for these commands in the CLI.

@hossainemruz
Copy link
Author

Wow. That's cool. Thank you @BenTheElder.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/documentation Categorizes issue or PR as related to documentation.
Projects
None yet
Development

No branches or pull requests

2 participants