Change display format for command output
The output of `kubectl` commands should be displayed as blockquotes, rather than fenced code blocks, since they represent command output, rather than commands to run.pull/51/head
parent
f7e0aee549
commit
94a8840dfd
|
@ -8,9 +8,9 @@ This lab walks you through a quick smoke test to make sure things are working.
|
||||||
kubectl run nginx --image=nginx --port=80 --replicas=3
|
kubectl run nginx --image=nginx --port=80 --replicas=3
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
|
||||||
deployment "nginx" created
|
> deployment "nginx" created
|
||||||
```
|
|
||||||
|
|
||||||
```
|
```
|
||||||
kubectl get pods -o wide
|
kubectl get pods -o wide
|
||||||
|
@ -26,9 +26,9 @@ nginx-2032906785-u8rzc 1/1 Running 0 21s 10.200.0.2 w
|
||||||
kubectl expose deployment nginx --type NodePort
|
kubectl expose deployment nginx --type NodePort
|
||||||
```
|
```
|
||||||
|
|
||||||
```
|
|
||||||
service "nginx" exposed
|
> service "nginx" exposed
|
||||||
```
|
|
||||||
|
|
||||||
> Note that --type=LoadBalancer will not work because we did not configure a cloud provider when bootstrapping this cluster.
|
> Note that --type=LoadBalancer will not work because we did not configure a cloud provider when bootstrapping this cluster.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue