aylei / kubectl-debug

This repository is no longer maintained, please checkout https://github.com/JamesTGrant/kubectl-debug.
Apache License 2.0
2.31k stars 303 forks source link

Do not use HostPort when using --port-forward #136

Open aylei opened 3 years ago

aylei commented 3 years ago

When port-forward is enabled (which is by default after v0.1.1), the agent do not have to specify hostPort, and this could help avoiding potential port conflicts.

ref: #118