mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-07 04:03:20 +00:00
in docs, update replicationController to replicationcontroller
This commit is contained in:
@@ -89,7 +89,7 @@ No pods will be available before starting a container:
|
||||
kubectl get pods
|
||||
POD CONTAINER(S) IMAGE(S) HOST LABELS STATUS
|
||||
|
||||
kubectl get replicationControllers
|
||||
kubectl get replicationcontrollers
|
||||
CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
|
||||
|
||||
We'll follow the aws-coreos example. Create a pod manifest: `pod.json`
|
||||
|
@@ -46,7 +46,7 @@ You can now use any of the cluster/kubectl.sh commands to interact with your loc
|
||||
```
|
||||
cluster/kubectl.sh get pods
|
||||
cluster/kubectl.sh get services
|
||||
cluster/kubectl.sh get replicationControllers
|
||||
cluster/kubectl.sh get replicationcontrollers
|
||||
cluster/kubectl.sh run-container my-nginx --image=nginx --replicas=2 --port=80
|
||||
|
||||
|
||||
@@ -61,7 +61,7 @@ cluster/kubectl.sh run-container my-nginx --image=nginx --replicas=2 --port=80
|
||||
## introspect kubernetes!
|
||||
cluster/kubectl.sh get pods
|
||||
cluster/kubectl.sh get services
|
||||
cluster/kubectl.sh get replicationControllers
|
||||
cluster/kubectl.sh get replicationcontrollers
|
||||
```
|
||||
|
||||
|
||||
|
@@ -157,7 +157,7 @@ NAME IMAGE(S) HOST LABELS STATUS
|
||||
$ ./cluster/kubectl.sh get services
|
||||
NAME LABELS SELECTOR IP PORT
|
||||
|
||||
$ ./cluster/kubectl.sh get replicationControllers
|
||||
$ ./cluster/kubectl.sh get replicationcontrollers
|
||||
NAME IMAGE(S SELECTOR REPLICAS
|
||||
```
|
||||
|
||||
@@ -200,7 +200,7 @@ kubernetes-minion-1:
|
||||
65a3a926f357 kubernetes/pause:latest "/pause" 39 minutes ago Up 39 minutes 0.0.0.0:4194->8080/tcp k8s--net.c5ba7f0e--cadvisor_-_agent.file--342fd561
|
||||
```
|
||||
|
||||
Going back to listing the pods, services and replicationControllers, you now have:
|
||||
Going back to listing the pods, services and replicationcontrollers, you now have:
|
||||
|
||||
```sh
|
||||
$ ./cluster/kubectl.sh get pods
|
||||
@@ -212,7 +212,7 @@ NAME IMAGE(S) HOST
|
||||
$ ./cluster/kubectl.sh get services
|
||||
NAME LABELS SELECTOR IP PORT
|
||||
|
||||
$ ./cluster/kubectl.sh get replicationControllers
|
||||
$ ./cluster/kubectl.sh get replicationcontrollers
|
||||
NAME IMAGE(S SELECTOR REPLICAS
|
||||
myNginx nginx name=my-nginx 3
|
||||
```
|
||||
|
Reference in New Issue
Block a user