fix alignment in examples emptydir-pod.yaml (#16673)
parent
5af784afc0
commit
16b067cba5
|
@ -1,20 +1,20 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: my-empty-dir-pod
|
name: my-empty-dir-pod
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: microsoft/windowsservercore:1709
|
- image: microsoft/windowsservercore:1709
|
||||||
name: my-empty-dir-pod
|
name: my-empty-dir-pod
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /cache
|
- mountPath: /cache
|
||||||
name: cache-volume
|
name: cache-volume
|
||||||
- mountPath: C:/scratch
|
- mountPath: C:/scratch
|
||||||
name: scratch-volume
|
name: scratch-volume
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache-volume
|
- name: cache-volume
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: scratch-volume
|
- name: scratch-volume
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
beta.kubernetes.io/os: windows
|
beta.kubernetes.io/os: windows
|
||||||
|
|
|
@ -1,20 +1,20 @@
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Pod
|
kind: Pod
|
||||||
metadata:
|
metadata:
|
||||||
name: my-empty-dir-pod
|
name: my-empty-dir-pod
|
||||||
spec:
|
spec:
|
||||||
containers:
|
containers:
|
||||||
- image: microsoft/windowsservercore:1709
|
- image: microsoft/windowsservercore:1709
|
||||||
name: my-empty-dir-pod
|
name: my-empty-dir-pod
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- mountPath: /cache
|
- mountPath: /cache
|
||||||
name: cache-volume
|
name: cache-volume
|
||||||
- mountPath: C:/scratch
|
- mountPath: C:/scratch
|
||||||
name: scratch-volume
|
name: scratch-volume
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache-volume
|
- name: cache-volume
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
- name: scratch-volume
|
- name: scratch-volume
|
||||||
emptyDir: {}
|
emptyDir: {}
|
||||||
nodeSelector:
|
nodeSelector:
|
||||||
beta.kubernetes.io/os: windows
|
beta.kubernetes.io/os: windows
|
||||||
|
|
Loading…
Reference in New Issue