vbem/Kubernetes port-forward
Forward local ports to a workload in Kubernetes
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| workload | Kubernetes workload `type/name` such as `deploy/mydeploy`, `svc/mysvc` or `po/mypod` | yes | — |
| mappings | Ports mappings `[LOCAL_PORT:]REMOTE_PORT [...[LOCAL_PORT_N:]REMOTE_PORT_N]` (default as `8080:80`) | no | 8080:80 |
| options | Other command-line options, such as `--namespace=myns` | no | "" |
| sleep | Seconds to wait before action finished (default as `3`) | no | 3 |
Outputs
| name | description |
|---|---|
| pid | Process ID of port-forward daemon |
| log | Path to port-forward log file |