File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
content/en/docs/concepts/workloads/controllers Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ Run the example job by downloading the example file and then running this comman
54
54
``` shell
55
55
kubectl apply -f https://k8s.io/examples/controllers/replication.yaml
56
56
```
57
+ The output is similar to this:
57
58
```
58
59
replicationcontroller/nginx created
59
60
```
@@ -63,6 +64,7 @@ Check on the status of the ReplicationController using this command:
63
64
``` shell
64
65
kubectl describe replicationcontrollers/nginx
65
66
```
67
+ The output is similar to this:
66
68
```
67
69
Name: nginx
68
70
Namespace: default
@@ -101,6 +103,7 @@ To list all the pods that belong to the ReplicationController in a machine reada
101
103
pods=$( kubectl get pods --selector=app=nginx --output=jsonpath={.items..metadata.name})
102
104
echo $pods
103
105
```
106
+ The output is similar to this:
104
107
```
105
108
nginx-3ntk0 nginx-4ok8v nginx-qrm3m
106
109
```
You can’t perform that action at this time.
0 commit comments