Kubernetes Deep Dive Room

Sign Up Free or Log In to participate!

Getting Forbidden error while provisioning a pv

Getting forbidden error while trying to provision a pv in my cluster

kubectl apply -f gke-pv.yml

Error from server (Forbidden): error when creating "gke-pv.yml": persistentvolumes "pv1" is forbidden: error querying GCE PD volume uber-disk: disk is not found

1 Answers

Hi, make sure the uber-disk you created previously is in the same zone as your cluster.

Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?