Docker, Docker Compose, Kubernetes, Software Architecture, Software Engineering.
apiVersion: v1 kind: PersistentVolume metadata: name: my-pv spec: storageClassName: my-storage-class capacity: storage: 5Gi accessModes: - ReadWriteOnce hostPath: path: /data --- apiVersion: v1 kind: PersistentVolumeClaim metadata: name: my-pvc spec: storageClassName: my-storage-class accessModes: