mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 06:01:25 +00:00
19 lines
340 B
YAML
19 lines
340 B
YAML
apiVersion: v1
|
|
kind: Pod
|
|
metadata:
|
|
name: volume-test
|
|
spec:
|
|
containers:
|
|
- name: volume-test
|
|
image: nginx:stable-alpine
|
|
imagePullPolicy: IfNotPresent
|
|
volumeMounts:
|
|
- name: volv
|
|
mountPath: /data
|
|
ports:
|
|
- containerPort: 80
|
|
volumes:
|
|
- name: volv
|
|
persistentVolumeClaim:
|
|
claimName: local-path-pvc
|