Port forward
To forward certain resource in the K8s server to your local machine we can follow the general rule:
kubectl port-forward <resource_type>/<resource_name> <host_port>:<resource_port>
Service
kubectl port-forward svc/myservice 8090:8080
To forward certain resource in the K8s server to your local machine we can follow the general rule:
kubectl port-forward <resource_type>/<resource_name> <host_port>:<resource_port>
kubectl port-forward svc/myservice 8090:8080