adding missing shared-volume.yaml file
This commit is contained in:
parent
b6183f70e2
commit
527829b5cd
25
shared-volume.yaml
Normal file
25
shared-volume.yaml
Normal file
@ -0,0 +1,25 @@
|
||||
apiVersion: v1
|
||||
kind: Pod
|
||||
metadata:
|
||||
name: sharedvolume
|
||||
spec:
|
||||
containers:
|
||||
- image: centos:7
|
||||
name: centos1
|
||||
command:
|
||||
- sleep
|
||||
- "3600"
|
||||
volumeMounts:
|
||||
- mountPath: /centos1
|
||||
name: test
|
||||
- image: centos:7
|
||||
name: centos2
|
||||
command:
|
||||
- sleep
|
||||
- "3600"
|
||||
volumeMounts:
|
||||
- mountPath: /centos2
|
||||
name: test
|
||||
volumes:
|
||||
- name: test
|
||||
emptyDir: {}
|
||||
Loading…
Reference in New Issue
Block a user