From 9b349a904989c8235c4cfb5704c50f16212e634e Mon Sep 17 00:00:00 2001 From: Alexandre Ardhuin Date: Fri, 27 Jul 2018 11:21:32 +0200 Subject: [PATCH] Fix label of registry in README --- roles/kubernetes-apps/registry/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/roles/kubernetes-apps/registry/README.md b/roles/kubernetes-apps/registry/README.md index 81615631e..c320f2bd4 100644 --- a/roles/kubernetes-apps/registry/README.md +++ b/roles/kubernetes-apps/registry/README.md @@ -110,18 +110,18 @@ metadata: name: kube-registry-v0 namespace: kube-system labels: - k8s-app: kube-registry-upstream + k8s-app: registry version: v0 kubernetes.io/cluster-service: "true" spec: replicas: 1 selector: - k8s-app: kube-registry-upstream + k8s-app: registry version: v0 template: metadata: labels: - k8s-app: kube-registry-upstream + k8s-app: registry version: v0 kubernetes.io/cluster-service: "true" spec: @@ -164,12 +164,12 @@ metadata: name: kube-registry namespace: kube-system labels: - k8s-app: kube-registry-upstream + k8s-app: registry kubernetes.io/cluster-service: "true" kubernetes.io/name: "KubeRegistry" spec: selector: - k8s-app: kube-registry-upstream + k8s-app: registry ports: - name: registry port: 5000 @@ -257,7 +257,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-upstream \ +$ POD=$(kubectl get pods --namespace kube-system -l k8s-app=registry \ -o template --template '{{range .items}}{{.metadata.name}} {{.status.phase}}{{"\n"}}{{end}}' \ | grep Running | head -1 | cut -f1 -d' ')