Update workloads/controllers/replicationcontroller.md and replicaset.md

* sync with english version in workloads/controllers/replicationcontroller.md and replicaset.md

Signed-off-by: ydFu <ader.ydfu@gmail.com>
This commit is contained in:
ydFu
2021-01-23 13:18:38 +08:00
parent b0ec53eb74
commit f3692a3446
2 changed files with 15 additions and 3 deletions
@@ -97,6 +97,10 @@ Run the example job by downloading the example file and then running this comman
```shell
kubectl apply -f https://k8s.io/examples/controllers/replication.yaml
```
<!--
The output is similar to this:
-->
输出类似于:
```
replicationcontroller/nginx created
```
@@ -109,6 +113,10 @@ Check on the status of the ReplicationController using this command:
```shell
kubectl describe replicationcontrollers/nginx
```
<!--
The output is similar to this:
-->
输出类似于:
```
Name: nginx
Namespace: default
@@ -155,6 +163,10 @@ pods=$(kubectl get pods --selector=app=nginx --output=jsonpath={.items..metadata
echo $pods
```
<!--
The output is similar to this:
-->
输出类似于:
```
nginx-3ntk0 nginx-4ok8v nginx-qrm3m
```