3 ms·
What does a failover look like in Kubernetes? From the GCP Docs: [1] > In the unlikely event of a zonal outage, you can failover your workload running on regi
by caleblloyd 8y ago
What does a failover look like in Kubernetes? From the GCP Docs: [1]
> In the unlikely event of a zonal outage, you can failover your workload running on regional persistent disks to another zone using the force-attach command. The force-attach command allows you to attach the regional persistent disk to a standby VM instance even if the disk cannot be detached from the original VM due to its unavailability.
Does the kubernetes.io/gce-pd provisioner have the logic to detect a zone failure in GCP and call the "force-attach" command if a failover is needed? Or does it always try to do a "force-attach" if a normal attach call fails? How does it handle a split-brain scenario, where the disk is requested by two separate nodes in each zone?
[1] https://cloud.google.com/compute/docs/disks/#repds https://cloud.google.com/compute/docs/disks/#repds
- brown9-2 8y agoNote that in https://cloud.google.com/solutions/using-kubernetes-engine-to-deploy-apps-with-regional-persistent-disks#simulating_a_zone_failure https://cloud.google.com/solutions/using-kubernetes-engine-t... they only simulate a zone failure by deleting one zone's instance group.