Kubectl port-foward: Difference between revisions
Jump to navigation
Jump to search
Line 9: | Line 9: | ||
<syntaxhighlight lang='bash'> | <syntaxhighlight lang='bash'> | ||
kubectl port-forward svc/yunikorn-service 9889:9889 | kubectl -n yunikorn port-forward svc/yunikorn-service 9889:9889 | ||
</syntaxhighlight> | </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