kubernetes/pkg/volume
Kubernetes Submit Queue 39659ac1dd Merge pull request #51252 from andyzhangx/azuredisk-windows
Automatic merge from submit-queue

Azuredisk mount on windows node

**What this PR does / why we need it**:
This PR will enable azure disk on windows node, customer could create a pod mounted with azure disk on windows node. 
There are a few pending items still left:
1) Current fstype would be forced as NTFS, will change if there is such requirement
2) GetDeviceNameFromMount function is not implemented(empty) because in Linux, we could use "cat /proc/mounts" to read all mounting points in OS easily, but in Windows, there is no such place, I am still figuring out. The empty function would cause a few warning logging, but it will not affect the main logic now.

**Special notes for your reviewer**:
1. This PR depends on https://github.com/kubernetes/kubernetes/pull/51240, which allow windows mount path in config validation
2. There is a bug in docker on windows(https://github.com/moby/moby/issues/34729), the ContainerPath could only be a drive letter now(e.g. D:), dir path would fail in the end.

The example pod with mount path is like below:

```
kind: Pod
apiVersion: v1
metadata:
  name: pod-uses-shared-hdd-5g
  labels:
    name: storage
spec:
  containers:
  - image: microsoft/iis
    name: az-c-01
    volumeMounts:
    - name: blobdisk01
      mountPath: 'F:'
  nodeSelector:
    beta.kubernetes.io/os: windows
  volumes:
  - name: blobdisk01
    persistentVolumeClaim:
      claimName: pv-dd-shared-hdd-5
```

**Release note**:

```release-note
2017-09-12 17:43:13 -07:00
..
aws_ebs Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
azure_dd enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
azure_file enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
cephfs Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
cinder Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
configmap Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
downwardapi Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
empty_dir Fix pagesize mount option name 2017-09-12 14:34:39 +02:00
fc WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
flexvolume Merge pull request #51474 from verult/ProberTest 2017-09-03 11:10:05 -07:00
flocker Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
gce_pd Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00
git_repo Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
glusterfs Fix glusterfs creating volumes in GiB 2017-09-11 16:25:28 -04:00
host_path Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
iscsi Merge pull request #51628 from jsafrane/fix-iscsi-attach 2017-09-01 00:11:12 -07:00
local Fix local storage code to follow go style 2017-08-31 22:09:41 +08:00
nfs Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
photon_pd Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
portworx Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
projected Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
quobyte Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
rbd Merge pull request #51574 from dillaman/ceph-rbd-image-format 2017-08-31 23:13:15 -07:00
scaleio ScaleIO - Specify SDC GUID value via node label 2017-09-07 16:44:32 -04:00
secret Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
storageos Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
testing WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00
util Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00
validation Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
vsphere_volume Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00
BUILD Use buildozer to delete licenses() rules except under third_party/ 2017-08-11 09:32:39 -07:00
doc.go
metrics_cached.go
metrics_du_test.go switch from package syscall to x/sys/unix 2017-07-21 12:14:42 +02:00
metrics_du.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_errors.go
metrics_nil_test.go
metrics_nil.go
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
metrics_statfs.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS remove deads2k from volume reviewer 2017-07-25 08:52:25 -04:00
plugins_test.go Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
plugins.go Implement controller for resizing volumes 2017-09-04 09:02:34 +02:00
util_test.go Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07:00
util.go Modify VolumeZonePredicate to handle multi-zone PV 2017-09-04 20:13:32 -07: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
volume.go WaitForAttach refactoring for iSCSI attacher/detacher 2017-08-26 17:21:34 -04:00