Merge pull request #24429 from montmanu/kubectl/port-forward

Update the example for kubectl port-forward
This commit is contained in:
Kubernetes Prow Robot
2020-10-08 17:09:06 -07:00
committed by GitHub
2 changed files with 3 additions and 2 deletions
@@ -152,7 +152,7 @@ for database debugging.
or or
```shell ```shell
kubectl port-forward service/redis-master 7000:6379 kubectl port-forward service/redis-master 7000:redis
``` ```
Any of the above commands works. The output is similar to this: Any of the above commands works. The output is similar to this:
@@ -8,7 +8,8 @@ metadata:
tier: backend tier: backend
spec: spec:
ports: ports:
- port: 6379 - name: redis
port: 6379
targetPort: 6379 targetPort: 6379
selector: selector:
app: redis app: redis