mirror of https://github.com/k3s-io/k3s
6f7eac63c2
Automatic merge from submit-queue (batch tested with PRs 38505, 41785, 46315) Fix provisioned GCE PD not being reused if already exists @jsafrane PTAL This is another attempt at https://github.com/kubernetes/kubernetes/pull/38702 . We have observed that `gce.service.Disks.Insert(gce.projectID, zone, diskToCreate).Do()` instantly gets an error response of alreadyExists, so we must check for it. I am not sure if we still need to check for the error after `waitForZoneOp`; I think that if there is an alreadyExists error, the `Do()` above will always respond with it instantly. But because I'm not sure, and to be safe, I will leave it. |
||
---|---|---|
.. | ||
BUILD | ||
OWNERS | ||
doc.go | ||
gce.go | ||
gce_backendservice.go | ||
gce_cert.go | ||
gce_clusterid.go | ||
gce_clusters.go | ||
gce_disks.go | ||
gce_firewall.go | ||
gce_forwardingrule.go | ||
gce_healthchecks.go | ||
gce_instancegroup.go | ||
gce_instances.go | ||
gce_loadbalancer.go | ||
gce_op.go | ||
gce_routes.go | ||
gce_staticip.go | ||
gce_targetproxy.go | ||
gce_test.go | ||
gce_urlmap.go | ||
gce_util.go | ||
gce_zones.go | ||
metrics.go | ||
token_source.go |