Remove reference to port-forward to services

port forwarding to services isn't supported.
This commit is contained in:
Ben Mathews 2017-02-17 14:39:48 -07:00 committed by Andrew Chen
parent 27039ac3b6
commit d4c2da211e
1 changed files with 0 additions and 1 deletions

View File

@ -203,7 +203,6 @@ $ kubectl logs -f my-pod -c my-container # stream pod container log
$ kubectl run -i --tty busybox --image=busybox -- sh # Run pod as interactive shell
$ kubectl attach my-pod -i # Attach to Running Container
$ kubectl port-forward my-pod 5000:6000 # Forward port 6000 of Pod to your to 5000 on your local machine
$ kubectl port-forward my-svc 6000 # Forward port to service
$ kubectl exec my-pod -- ls / # Run command in existing pod (1 container case)
$ kubectl exec my-pod -c my-container -- ls / # Run command in existing pod (multi-container case)
$ kubectl top pod POD_NAME --containers # Show metrics for a given pod and its containers