From ae29e73adc2dbb8abc1cb100d7ad1a3831a90a42 Mon Sep 17 00:00:00 2001 From: Sabbir Ahmed Shameem <145862004+SAShameem@users.noreply.github.com> Date: Tue, 7 May 2024 20:09:18 +0600 Subject: [PATCH] Create pv-pod.yaml --- content/bn/examples/pods/storage/pv-pod.yaml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 content/bn/examples/pods/storage/pv-pod.yaml diff --git a/content/bn/examples/pods/storage/pv-pod.yaml b/content/bn/examples/pods/storage/pv-pod.yaml new file mode 100644 index 0000000000..0597be6876 --- /dev/null +++ b/content/bn/examples/pods/storage/pv-pod.yaml @@ -0,0 +1,18 @@ +apiVersion: v1 +kind: Pod +metadata: + name: task-pv-pod +spec: + volumes: + - name: task-pv-storage + persistentVolumeClaim: + claimName: task-pv-claim + containers: + - name: task-pv-container + image: nginx + ports: + - containerPort: 80 + name: "http-server" + volumeMounts: + - mountPath: "/usr/share/nginx/html" + name: task-pv-storage