From 527829b5cd4d53f2210f7a328df5ab3ef1bec8c6 Mon Sep 17 00:00:00 2001 From: ldynia Date: Tue, 1 Sep 2020 23:01:23 +0000 Subject: [PATCH] adding missing shared-volume.yaml file --- shared-volume.yaml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 shared-volume.yaml diff --git a/shared-volume.yaml b/shared-volume.yaml new file mode 100644 index 0000000..cf014c5 --- /dev/null +++ b/shared-volume.yaml @@ -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: {}