Kubectl port-foward: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Kubectl =Overview= kubectl [-n ''namespace''] port-forward service/''service-name'' 8080:8080") |
|||
(2 intermediate revisions by the same user not shown) | |||
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 -n yunikorn port-forward svc/yunikorn-service 9889:9889 | |||
</syntaxhighlight> |
Latest revision as of 19:52, 6 December 2023
Internal
Overview
kubectl [-n namespace] port-forward service/service-name local-port:service-port
kubectl -n yunikorn port-forward svc/yunikorn-service 9889:9889