kubectl-multiforward
kubectl-multiforward copied to clipboard
A `kubectl` plugin that allows you to forward to multiple services based on a config file.
Hi, I need to understand how this tool works, is ther any documentation or tutrial to understand the tool? Thanks
``` ➜ k krew install multiforward ... ➜ k multiforward prod remote port must be > 0 remote port must be > 0 remote port must be > 0 ```...
This feature allows lohalhost address to be changed into another IP address, i.e. your local ethernet interface or any NATted address.
In https://github.com/njnygaard/kubectl-multiforward/blob/1807ecef5b64892bbb30bc3ad8865960a0fad3e7/forward/forward.go#L115-L116 we see that `LocalPort` and `ServicePort` are both set to the same value of `Port`. Could it be possible to voluntarily support setting `LocalPort` and `ServicePort` individually, if...
... or use goreleaser.
Some port-forwards are set up to directly reach pods or deployments. - Pod e.g. Traefik https://doc.traefik.io/traefik/getting-started/install-traefik/#exposing-the-traefik-dashboard `kubectl port-forward $(kubectl get pods --selector "app.kubernetes.io/name=traefik" --output=name) 9000:9000` - Deployment e.g. Cilium Hubble...
With the file `~/.multiforward.yaml` as: ```yaml groups: - name: next services: - displayName: Alertmanager port: 9093 namespace: kube-prometheus-stack name: alertmanager-operated protocol: http - displayName: Prometheus port: 9090 namespace: kube-prometheus-stack name:...
It is a common pattern for kubectl tools to also use the `~/.kube` directory for storing their configuration, e.g. https://github.com/simontheleg/konf-go Would it seem useful to also add `~/.kube/multiforward.yaml` to the...
Hello, I have this problem, when I connect to the kubernetes cluster via teleport: ```bash $ kubectl-multiforward prod error upgrading connection: error sending request: Post "https://eleport.example.com:3026/api/v1/namespaces/example/pods/example-service/portforward": dial tcp: lookup eleport.example.com:...