I currently have a managed Azure disk created from a Azure disk snapshot of a Kubernetes Persistent Volume that no longer exists.
I would like to know how to reuse the restored disk in a new 'PersistentVolumeClaim', otherwise K8s will request Azure to create a new empty disk.
My current K8s PersistentVolumeClaim config:
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
name: jenkins-master-vol-claim
annotations:
volume.beta.kubernetes.io/storage-class: managed-standard
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi