Update static-pod.md

Remove blank lines and unified the command line format
This commit is contained in:
XsWack
2017-08-18 09:08:48 +08:00
committed by Zach Corleissen
parent 7cfd99d05e
commit bea2c15aa3
@@ -84,7 +84,6 @@ If we look at our Kubernetes API server (running on host `my-master`), we see th
[joe@my-master ~] $ kubectl get pods
NAME READY STATUS RESTARTS AGE
static-web-my-node1 1/1 Running 0 2m
```
Labels from the static pod are propagated into the mirror-pod and can be used as usual for filtering.
@@ -97,7 +96,6 @@ pods/static-web-my-node1
[joe@my-master ~] $ kubectl get pods
NAME READY STATUS RESTARTS AGE
static-web-my-node1 1/1 Running 0 12s
```
Back to our `my-node1` host, we can try to stop the container manually and see, that kubelet automatically restarts it in a while: