k3s/pkg/cloudprovider/providers
Kubernetes Submit Queue 6f7eac63c2 Merge pull request #46315 from wongma7/gcepdalready
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.
2017-05-24 06:47:03 -07:00
..
aws Admin Can Specify in Which AWS Availability Zone(s) a PV Shall Be Created 2017-05-24 10:48:11 +02:00
azure Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
cloudstack Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
fake Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
gce Merge pull request #46315 from wongma7/gcepdalready 2017-05-24 06:47:03 -07:00
mesos Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
openstack Refactor to use Volume IDs and remove ambiguity 2017-05-24 12:59:16 +02:00
ovirt Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
photon Initialize cloud providers with a K8s clientBuilder 2017-05-17 14:38:25 -07:00
rackspace Refactor to use Volume IDs and remove ambiguity 2017-05-24 12:59:16 +02:00
vsphere SPBM policy ID support in vsphere cloud provider 2017-05-22 19:45:17 -07:00
BUILD Enable auto-generating sources rules 2017-01-05 14:14:13 -08:00
providers.go Support persistent volume on Photon Controller platform 2016-11-08 09:36:16 -08:00