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 a new function like GetHostName that returns the internal name of the service #518

Open
Tracked by #486
smuu opened this issue Jul 22, 2024 · 0 comments
Open
Tracked by #486
Labels
enhancement New feature or request knuu
Milestone

Comments

@smuu
Copy link
Member

smuu commented Jul 22, 2024

Currently, only GetIP is available to connect to other instances. This IP is from the service and not from the Pod, so it adds problems to p2p connections. As Pod IPs are ephemeral we cannot return it, as it might change.

The idea is to use a headless service that translates the service's name to the pod's IP. The developer can then use this host name to connect to other instances.

Related: #514

@smuu smuu added the enhancement New feature or request label Jul 22, 2024
@smuu smuu added the knuu label Jul 22, 2024
@smuu smuu added this to the v0.16.0 milestone Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request knuu
Projects
Status: No status
Development

No branches or pull requests

1 participant