Merge pull request #47519 from mikalv/fix_broken_cmd_in_registry_docs

Automatic merge from submit-queue

Fix broken command in registry addon document

**What this PR does / why we need it**:

Fix a command example in registry addon document so it matches the example yaml above.
This commit is contained in:
Kubernetes Submit Queue 2017-06-22 16:43:55 -07:00 committed by GitHub
commit e8fb4abcb7

View File

@ -249,7 +249,7 @@ You can use `kubectl` to set up a port-forward from your local node to a
running Pod:
```console
$ POD=$(kubectl get pods --namespace kube-system -l k8s-app=kube-registry \
$ POD=$(kubectl get pods --namespace kube-system -l k8s-app=kube-registry-upstream \
-o template --template '{{range .items}}{{.metadata.name}} {{.status.phase}}{{"\n"}}{{end}}' \
| grep Running | head -1 | cut -f1 -d' ')