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

allow multiple instances of localizer #35

Open
an-tex opened this issue Dec 10, 2020 · 1 comment
Open

allow multiple instances of localizer #35

an-tex opened this issue Dec 10, 2020 · 1 comment
Labels
kind/feature New feature or request

Comments

@an-tex
Copy link

an-tex commented Dec 10, 2020

this would be useful to connect to multiple clusters, currently the tool bails out with:

ERRO[0000] failed to run: localizer instance already running

would it be just a matter of a custom socket path parameter? or would the host-file-cleanup conflict too? In the latter case (or actually in general) it might make sense to separate the localizer hosts with a comment section like other tools do, e.g.:

# Added by Docker Desktop
# To allow the same kube context to work on the host and the container:
127.0.0.1        kubernetes.docker.internal
# End of section

for multiple instances e.g. the pid of the localizer could be included in the comment section and used as an identifier.

motivation: to me it happens frequently that i connect to a test cluster to test something, but this involves verifying something in the prod database. currently i have to disconnect/reconnect to both the cluster and the services to achieve that.

@jaredallard jaredallard added the kind/feature New feature or request label Dec 10, 2020
@jaredallard
Copy link
Contributor

Ahhh, right. Multiple sockets will need to be figured out for multiple instances. The code is written that multiple should be able to be run (w/ different CIDRs and cluster domains, but the socket path is an issue.). I think we can get around this with yet another CLI arg 😄

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

No branches or pull requests

2 participants