To resolve persistentvolumes "xxxxxx" is forbidden: error querying GCE PD volume xxxx: disk is not found on GCP (google cloud)
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv1
spec:
accessModes:
- ReadWriteOnce
storageClassName: ssd
capacity:
storage: 20Gi
persistentVolumeReclaimPolicy: Retain
gcePersistentDisk:
pdName: mydisk
First, List your disks and make sure "pdName" matches with your disk name

Second, make sure your Google Kubernetes Engine (GKE) and Disk are provisioned in the same region
Comments