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

Feature Request: Autostart kube-forwarder + connect on boot #49

Open
avolution opened this issue Feb 26, 2020 · 1 comment
Open

Feature Request: Autostart kube-forwarder + connect on boot #49

avolution opened this issue Feb 26, 2020 · 1 comment

Comments

@avolution
Copy link

No description provided.

@dobesv
Copy link
Contributor

dobesv commented Apr 27, 2020

Instead of using kube-forwarder (at least until they might add support for something like this, which is unlikely to happen anytime soon) you can probably use docker, e.g.

docker run --restart=unless-stopped --name forward-xxx -p 127.0.0.1:8080:8080 --volume $HOME/.kube:/root/.kube bitnami/kubectl:latest -- kubectl port-forward ...

One annoying thing about this is that if the pod kubectl connects to is killed you have to restart the docker container.

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

No branches or pull requests

2 participants