iamolegga/Kubectl Port Forward
GitHub Action for kubectl port-forwarding
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| resource | Kubernetes resource to forward to (e.g., pod/my-pod, deploy/my-deployment, service/my-service) | yes | — |
| remote-port | Remote port on the Kubernetes resource | yes | — |
| local-port | Local port to forward to (defaults to remote-port) | no | — |
| namespace | Kubernetes namespace (uses current context if not specified) | no | — |
| wait-timeout | Seconds to wait for resource to be ready (default: 60) | no | 60 |
| health-check-timeout | Seconds to wait for port to be accessible (default: 10) | no | 10 |
| health-check-interval | Seconds between health checks (default: 1) | no | 1 |
Outputs
| name | description |
|---|---|
| local-port | The local port that was forwarded |
| pid | Process ID of the kubectl port-forward process |