Persistent Storage - how to build it HA?

Asking for help? Comment out what you need so we can get more information to help you!

Cluster information:

Kubernetes version: v1.29.3
Cloud being used: (put bare-metal if not on a public cloud)
Installation method: bare-metal
Host OS: Almalinux 9
CNI and version: calico 3.15
CRI and version: 1.29.0

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

How to build a HA persistent Storage for K8s ?

had this:

apiVersion: v1
kind: PersistentVolume
metadata:
  name: demo-pv
spec:
  accessModes:
    - ReadWriteOnce
  capacity:
    storage: 1Gi
  storageClassName: standard
  hostPath:
    path: /tmp/demo-pv

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: demo-pvc
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: standard
  volumeName: demo-pv


apiVersion: v1
kind: Pod
metadata:
  name: pvc-pod
spec:
  containers:
  - image: nginx:latest
    name: pvc-pod-container
    volumeMounts:
    - mountPath: /data
      name: data
  volumes:
  - name: data
    persistentVolumeClaim:
      claimName: demo-pvc

But when the Worker Node goes down where the Storage is running on
then pods has a problem.

How to build this as HA version
so that can stop / reboot a worker node an the persistent Storage keeps available