diff --git a/slides/custom/volumes.md b/slides/custom/volumes.md index b0b35d8..8446d98 100644 --- a/slides/custom/volumes.md +++ b/slides/custom/volumes.md @@ -199,3 +199,32 @@ spec: ``` ] + +--- + +## Pod using PVC + +.small[ + +```yaml +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 +``` + +]