consistent order in yaml and json for multiple-zones.md (#14242)
This commit is contained in:
parent
53b03baaa8
commit
8e0cab2d64
|
|
@ -191,8 +191,8 @@ Create a volume using the dynamic volume creation (only PersistentVolumes are su
|
||||||
```json
|
```json
|
||||||
kubectl apply -f - <<EOF
|
kubectl apply -f - <<EOF
|
||||||
{
|
{
|
||||||
"kind": "PersistentVolumeClaim",
|
|
||||||
"apiVersion": "v1",
|
"apiVersion": "v1",
|
||||||
|
"kind": "PersistentVolumeClaim",
|
||||||
"metadata": {
|
"metadata": {
|
||||||
"name": "claim1",
|
"name": "claim1",
|
||||||
"annotations": {
|
"annotations": {
|
||||||
|
|
@ -241,8 +241,8 @@ this means that this pod can only be created in the same zone as the volume:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kubectl apply -f - <<EOF
|
kubectl apply -f - <<EOF
|
||||||
kind: Pod
|
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: mypod
|
name: mypod
|
||||||
spec:
|
spec:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue