Merge pull request #3031 from a14n/patch-1
Fix label of registry in README
This commit is contained in:
commit
a2c9331b56
1 changed files with 6 additions and 6 deletions
|
@ -110,18 +110,18 @@ metadata:
|
||||||
name: kube-registry-v0
|
name: kube-registry-v0
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kube-registry-upstream
|
k8s-app: registry
|
||||||
version: v0
|
version: v0
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
replicas: 1
|
replicas: 1
|
||||||
selector:
|
selector:
|
||||||
k8s-app: kube-registry-upstream
|
k8s-app: registry
|
||||||
version: v0
|
version: v0
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kube-registry-upstream
|
k8s-app: registry
|
||||||
version: v0
|
version: v0
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
spec:
|
spec:
|
||||||
|
@ -164,12 +164,12 @@ metadata:
|
||||||
name: kube-registry
|
name: kube-registry
|
||||||
namespace: kube-system
|
namespace: kube-system
|
||||||
labels:
|
labels:
|
||||||
k8s-app: kube-registry-upstream
|
k8s-app: registry
|
||||||
kubernetes.io/cluster-service: "true"
|
kubernetes.io/cluster-service: "true"
|
||||||
kubernetes.io/name: "KubeRegistry"
|
kubernetes.io/name: "KubeRegistry"
|
||||||
spec:
|
spec:
|
||||||
selector:
|
selector:
|
||||||
k8s-app: kube-registry-upstream
|
k8s-app: registry
|
||||||
ports:
|
ports:
|
||||||
- name: registry
|
- name: registry
|
||||||
port: 5000
|
port: 5000
|
||||||
|
@ -257,7 +257,7 @@ You can use `kubectl` to set up a port-forward from your local node to a
|
||||||
running Pod:
|
running Pod:
|
||||||
|
|
||||||
``` console
|
``` 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}}' \
|
-o template --template '{{range .items}}{{.metadata.name}} {{.status.phase}}{{"\n"}}{{end}}' \
|
||||||
| grep Running | head -1 | cut -f1 -d' ')
|
| grep Running | head -1 | cut -f1 -d' ')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue