Closed jbcraig closed 6 years ago
My bad, now I see that you have the option volume_cross_zone_attachment to solve this same issue. Not sure which approach is best, I was planning to submit a pull request but now I'm not sure whether to proceed.
if this is still actual please reopen issue
FEATURE REQUEST?
Allow one to specify an option like openstack_ignore_volume_az in all.yml as true/false. When true include the following stanza in cloud_config:
I, like many, use ceph as a backing store for cinder and I have multiple AZz. This causes havoc when creating PVs as they are labeled with the default zone that cinder specifies, in my case "nova". When a pod makes a claim it will fail to match unless you happen to have nodes in the default zone. For ceph backed block storage volumes aren't restricted to a single zone, so this option tells k8s to ignore the cinder zone and not label volumes with an AZ. Then all is good in the k8s PV world.