Day 36 : Managing Persistent Volumes in Your Deployment
Task 1: Adding a Persistent Volume to Your Deployment for the todo app
To ensure data persistence in your Deployment, you can add a Persistent Volume.
Here's an example pv.yml
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-todo-app
spec:
...
ajayblog.com2 min read