Skip to content

Commit ae00378

Browse files
authored
Create PD-pod.yml
1 parent 6cdfaf3 commit ae00378

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
apiVersion: v1
2+
kind: Pod
3+
metadata:
4+
name: pod-pvc
5+
spec:
6+
containers:
7+
- image: nginx
8+
name: c1
9+
volumeMounts:
10+
- mountPath: "/data"
11+
name: my-volume
12+
volumes:
13+
- name: my-volume
14+
persistentVolumeClaim:
15+
claimName: sc-pvc

0 commit comments

Comments
 (0)