Google Certified Associate Cloud Engineer 2020

Sign Up Free or Log In to participate!

Question: About PV/StorageClasses in GKE


Anyone worked on gce disks to create PV and storage classes. I got stuck in below problem pls suggest an idea

I’m trying to create a simple deployment with 3 replicas and have configured it to test storage on cloud. Once i create pvc and map it to deployment, disk getting created dynamically(with help of storage class) on one particular zone in gcp and automatically attached to a worker node instance in the same zone. My problem is all the pods from deployment get scheduled to same node where disk is attached, i wanted to know how to create a disk across the cluster or create centrally for the pods of a deployment from different node can read & write.

0 Answers

Sign In
Welcome Back!

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

Get Started
Who’s going to be learning?