Format code style (#9055)

* Add code format

* Format code display

* Render style error
This commit is contained in:
Gao Wen
2018-07-17 15:45:38 +08:00
committed by k8s-ci-robot
parent 5874f9986e
commit 6f55bb02c5
3 changed files with 74 additions and 40 deletions
@@ -97,7 +97,7 @@ kubectl get pod cpu-demo --output=yaml --namespace=cpu-example
The output shows that the one Container in the Pod has a CPU request of 500 millicpu
and a CPU limit of 1 cpu.
```shell
```yaml
resources:
limits:
cpu: "1"
@@ -185,7 +185,7 @@ The output shows that the Pod's status is Pending. That is, the Pod has not been
scheduled to run on any Node, and it will remain in the Pending state indefinitely:
```
```shell
kubectl get pod cpu-demo-2 --namespace=cpu-example
NAME READY STATUS RESTARTS AGE
cpu-demo-2 0/1 Pending 0 7m