kubectl port-forward

Description

Forward one or more local ports to a pod.

Command
kubectl port-forward
Examples
Forward port
kubectl port-forward my-pod 8080:80
Forward multiple ports
kubectl port-forward my-pod 8080:80 8443:443
Command Info
Category: Networking
Type: Kubernetes
Views: 12
Status: Active
Tags
port-forward networking access