kubernetes/pkg/volume
Kubernetes Submit Queue e201d34296
Merge pull request #55845 from vmware/multi-vc-upstream
Automatic merge from submit-queue (batch tested with PRs 55112, 56029, 55740, 56095, 55845). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.

Updating vsphere cloud provider to support k8s cluster spread across multiple vCenters

**What this PR does / why we need it**:

vSphere cloud provider in Kubernetes 1.8 was designed to work only if all the nodes of the cluster are in one single datacenter folder. This is a hard restriction that makes the cluster not span across different folders/datacenter/vCenters. Users have use-cases to span the cluster across datacenters/vCenters.

**Which issue(s) this PR fixes** 
Fixes # https://github.com/vmware/kubernetes/issues/255

**Special notes for your reviewer**:
This is a change purely in vsphere cloud provider and no changes in kubernetes core are needed.

**Release note**:
```release-note
With this change
 - User should be able to create k8s cluster which spans across multiple ESXi clusters, datacenters or even vCenters.
 - vSphere cloud provider (VCP) uses OS hostname and not vSphere Inventory VM Name.
   That means, now  VCP can handle cases where user changes VM inventory name.
- VCP can handle cases where VM migrates to other ESXi cluster or datacenter or vCenter.

The only requirement is the shared storage. VCP needs shared storage on all Node VMs.
```

Internally tested and reviewed the code.

@tthole, @shaominchen, @abrarshivani
2017-11-20 21:03:50 -08:00
..
aws_ebs Rename Detach() parameter. 2017-10-31 10:55:19 +01:00
azure_dd add Standard GRS, RAGRS support for azure disk 2017-11-17 09:13:17 +00:00
azure_file add vers mountoptions and fix comments 2017-11-16 07:15:26 +00:00
cephfs Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
cinder Checking Cinder disk when tickers are delivered 2017-11-07 15:51:04 +08:00
configmap Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
csi CSI - Generated source code 2017-11-17 19:17:51 -05:00
downwardapi Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
empty_dir Update generated files 2017-11-09 12:14:08 +01:00
fc Merge pull request #54856 from jsafrane/fix-detacher-param-name 2017-11-03 14:33:16 -07:00
flexvolume include error message for volumeManager during attach and mount 2017-11-20 17:53:55 +08:00
flocker Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
gce_pd Merge pull request #54856 from jsafrane/fix-detacher-param-name 2017-11-03 14:33:16 -07:00
git_repo Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
glusterfs Fix representation of the pv's capacity which provisioned by glusterfs 2017-11-17 19:01:39 +02:00
host_path Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
iscsi use SecretObject to reference iSCSI CHAP secret 2017-11-18 20:02:44 +00:00
local Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
nfs Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
photon_pd Rename Detach() parameter. 2017-10-31 10:55:19 +01:00
portworx Update generated files 2017-11-09 12:14:08 +01:00
projected fix incorrect log 2017-10-26 01:40:24 +08:00
quobyte Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
rbd Merge pull request #54556 from cofyc/fix_cmd_not_found 2017-11-18 07:32:22 -08:00
scaleio Remove dependency on drv_cfg binary for querying scalio devices 2017-11-01 17:52:23 -04:00
secret Merge pull request #54652 from msau42/update-owners 2017-11-01 16:30:32 -07:00
storageos fix incorrect log 2017-10-26 01:40:24 +08:00
testing Merge pull request #54856 from jsafrane/fix-detacher-param-name 2017-11-03 14:33:16 -07:00
util Fix dangling attach errors 2017-11-16 08:43:36 -05:00
validation Update generated files 2017-11-09 12:14:08 +01:00
vsphere_volume Updating vSphere Cloud Provider (VCP) to support k8s cluster spead across multiple ESXi clusters, datacenters or even vSphere vCenters 2017-11-17 14:49:32 -08:00
BUILD CSI - Generated source code 2017-11-17 19:17:51 -05:00
doc.go Use Go canonical import paths 2016-07-16 13:48:21 -04:00
metrics_cached.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_du.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_errors.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil.go Disambiguate unsupported metrics from metrics errors 2016-09-15 10:05:30 +10:00
metrics_nil_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
metrics_statfs.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS Update volume OWNERS to reflect active sig-storage reviewers 2017-10-26 13:26:33 -07:00
plugins.go Versioned busybox docker image 2017-10-19 07:17:44 +05:30
plugins_test.go Use const instead of hard code for volume plugin 2017-09-18 20:09:07 +08:00
util.go use core client with explicit version globally 2017-10-27 15:48:32 +08:00
util_test.go pkg/apis/core: mechanical import fixes in dependencies 2017-11-09 12:14:08 +01:00
volume.go Rename Detach() parameter. 2017-10-31 10:55:19 +01:00
volume_linux.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00
volume_unsupported.go Fixes cross platform build failure 2017-08-26 09:58:51 -04:00