mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #13437 from alexwlchan/patch-2
Fix two broken codeblocks in Guestbook example
This commit is contained in:
commit
fdaea5303e
@ -206,7 +206,7 @@ This is a simple Go `net/http` ([negroni](https://github.com/codegangsta/negroni
|
|||||||
|
|
||||||
<nop>2. To verify that the guestbook replication controller is running, run the `kubectl get rc` command:
|
<nop>2. To verify that the guestbook replication controller is running, run the `kubectl get rc` command:
|
||||||
|
|
||||||
```
|
```console
|
||||||
$ kubectl get rc
|
$ kubectl get rc
|
||||||
CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
|
CONTROLLER CONTAINER(S) IMAGE(S) SELECTOR REPLICAS
|
||||||
guestbook guestbook kubernetes/guestbook:v2 app=guestbook 3
|
guestbook guestbook kubernetes/guestbook:v2 app=guestbook 3
|
||||||
@ -244,7 +244,7 @@ Just like the others, we create a service to group the guestbook pods but this t
|
|||||||
|
|
||||||
<nop>2. To verify that the guestbook service is up, list all the services in the cluster with the `kubectl get services` command:
|
<nop>2. To verify that the guestbook service is up, list all the services in the cluster with the `kubectl get services` command:
|
||||||
|
|
||||||
```
|
```console
|
||||||
$ kubectl get services
|
$ kubectl get services
|
||||||
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
|
NAME CLUSTER_IP EXTERNAL_IP PORT(S) SELECTOR AGE
|
||||||
guestbook 10.0.217.218 146.148.81.8 3000/TCP app=guestbook 1h
|
guestbook 10.0.217.218 146.148.81.8 3000/TCP app=guestbook 1h
|
||||||
|
Loading…
Reference in New Issue
Block a user