Kubectl port-foward: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 4: | Line 4: | ||
=Overview= | =Overview= | ||
<font size=-2> | |||
kubectl [-n ''namespace''] port-forward service/''service-name'' ''local-port'':''service-port'' | |||
</font> | |||
<syntaxhighlight lang='bash'> | |||
kubectl port-forward svc/yunikorn-service 9889:9889 -n yunikorn | |||
</syntaxhighlight> |
Revision as of 19:52, 6 December 2023
Internal
Overview
kubectl [-n namespace] port-forward service/service-name local-port:service-port
kubectl port-forward svc/yunikorn-service 9889:9889 -n yunikorn