kube-forwarder
kube-forwarder copied to clipboard
Feature Request: Autostart kube-forwarder + connect on boot
trafficstars
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.