Persistent volumes are not covered here as they require third party dependencies to be set up. https://kubernetes.io/docs/concepts/storage/persistent-volumes/ https://kubernetes.io/docs/concepts/storage/volume-snapshots/ spec.local/ local.yaml --- # https://kubernetes.io/docs/concepts/storage/volumes/#local apiVersion: v1 kind: PersistentVolume metadata: name: volumes-local-persistent-volume labels: pv: local spec: capacity: storage: 5Gi volumeMode: Filesystem accessModes: - ReadWriteOnce persistentVolumeReclaimPolicy: Delete storageClassName: hostpath local: path: /mnt/disks/ssd1 nodeAffinity: required: nodeSelectorTerms: - matchExpressions: - key: kubernetes.io/hostname operator: In values: - docker-desktop