mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-09 05:01:46 +00:00
Fixup name vs ID terminology
This commit is contained in:
@@ -52,7 +52,7 @@ cluster/kubecfg.sh list pods
|
||||
You'll see a single redis master pod. It will also display the machine that the pod is running on once it gets placed (may take up to thirty seconds).
|
||||
|
||||
```
|
||||
Name Image(s) Host Labels
|
||||
ID Image(s) Host Labels
|
||||
---------- ---------- ---------- ----------
|
||||
redis-master-2 dockerfile/redis kubernetes-minion-3.c.briandpe-api.internal name=redis-master
|
||||
```
|
||||
@@ -91,7 +91,7 @@ to create the service with the `kubecfg` cli:
|
||||
|
||||
```shell
|
||||
$ cluster/kubecfg.sh -c examples/guestbook/redis-master-service.json create services
|
||||
Name Labels Selector Port
|
||||
ID Labels Selector Port
|
||||
---------- ---------- ---------- ----------
|
||||
redismaster name=redis-master 10000
|
||||
```
|
||||
@@ -135,7 +135,7 @@ to create the replication controller by running:
|
||||
|
||||
```shell
|
||||
$ cluster/kubecfg.sh -c examples/guestbook/redis-slave-controller.json create replicationControllers
|
||||
Name Image(s) Selector Replicas
|
||||
ID Image(s) Selector Replicas
|
||||
---------- ---------- ---------- ----------
|
||||
redisSlaveController brendanburns/redis-slave name=redisslave 2
|
||||
```
|
||||
@@ -150,7 +150,7 @@ Once that's up you can list the pods in the cluster, to verify that the master a
|
||||
|
||||
```shell
|
||||
$ cluster/kubecfg.sh list pods
|
||||
Name Image(s) Host Labels
|
||||
ID Image(s) Host Labels
|
||||
---------- ---------- ---------- ----------
|
||||
redis-master-2 dockerfile/redis kubernetes-minion-3.c.briandpe-api.internal name=redis-master
|
||||
4d65822107fcfd52 brendanburns/redis-slave kubernetes-minion-3.c.briandpe-api.internal name=redisslave,replicationController=redisSlaveController
|
||||
@@ -184,7 +184,7 @@ Now that you have created the service specification, create it in your cluster w
|
||||
|
||||
```shell
|
||||
$ cluster/kubecfg.sh -c examples/guestbook/redis-slave-service.json create services
|
||||
Name Labels Selector Port
|
||||
ID Labels Selector Port
|
||||
---------- ---------- ---------- ----------
|
||||
redisslave name=redisslave name=redisslave 10001
|
||||
```
|
||||
@@ -225,7 +225,7 @@ Using this file, you can turn up your frontend with:
|
||||
|
||||
```shell
|
||||
$ cluster/kubecfg.sh -c examples/guestbook/frontend-controller.json create replicationControllers
|
||||
Name Image(s) Selector Replicas
|
||||
ID Image(s) Selector Replicas
|
||||
---------- ---------- ---------- ----------
|
||||
frontendController brendanburns/php-redis name=frontend 3
|
||||
```
|
||||
@@ -234,7 +234,7 @@ Once that's up (it may take ten to thirty seconds to create the pods) you can li
|
||||
|
||||
```shell
|
||||
$ cluster/kubecfg.sh list pods
|
||||
Name Image(s) Host Labels
|
||||
ID Image(s) Host Labels
|
||||
---------- ---------- ---------- ----------
|
||||
redis-master-2 dockerfile/redis kubernetes-minion-3.c.briandpe-api.internal name=redis-master
|
||||
4d65822107fcfd52 brendanburns/redis-slave kubernetes-minion-3.c.briandpe-api.internal name=redisslave,replicationController=redisSlaveController
|
||||
|
Reference in New Issue
Block a user