kubernetes/pkg/volume
Kubernetes Submit Queue 91e37eeb92
Merge pull request #67772 from andyzhangx/azuredisk-volumelimits2
Automatic merge from submit-queue (batch tested with PRs 67766, 67642, 67772). 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>.

Enable dynamic azure disk volume limits

**What this PR does / why we need it**:
Enable dynamic azure disk volume limits,
This is an azure cloud provider implementation related to feature: [Dynamic Maximum volume count](https://github.com/kubernetes/features/issues/554)

**Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
Fixes #66269

**Special notes for your reviewer**:
This PR use `az.VirtualMachineSizesClient.List` to list all vm sizes under region, match vm size with current node size, and then got `MaxDataDiskCount`, the `GetVolumeLimits` happens in kubelet and will return `attachable-volumes-azure-disk` in node status as following example:
```
agentpool-22082114-0
    ...
    allocatable:
      attachable-volumes-azure-disk: "8"
      cpu: "2"
      ephemeral-storage: "28043041951"
      hugepages-1Gi: "0"
      hugepages-2Mi: "0"
      memory: 7034772Ki
      pods: "30"
```

**Release note**:

```
Enable dynamic azure disk volume limits
```

/sig azure
/kind feature
2018-08-27 06:14:17 -07:00
..
aws_ebs Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
azure_dd Merge pull request #67772 from andyzhangx/azuredisk-volumelimits2 2018-08-27 06:14:17 -07:00
azure_file Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
cephfs Merge pull request #67332 from nak3/ceph-fuse-opt 2018-08-21 05:25:03 -07:00
cinder Merge pull request #67328 from cofyc/fix65113-2 2018-08-24 15:25:17 -07:00
configmap Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
csi Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
downwardapi Stop sorting downward api file lines 2018-07-09 15:44:03 -04:00
empty_dir Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
fc update volume plugins accordingly 2018-08-14 11:12:54 +08:00
flexvolume Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
flocker Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
gce_pd Add DynamicProvisioningScheduling support for GCE PD and RePD 2018-08-24 14:38:25 -07:00
git_repo Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
glusterfs Remove provisioner config from log message. 2018-08-24 19:40:37 +05:30
host_path fixformat 2018-07-14 10:34:21 +08:00
iscsi Merge pull request #67328 from cofyc/fix65113-2 2018-08-24 15:25:17 -07:00
local Using a fixed set of locks, then we don't need to free unused locks 2018-08-24 12:24:09 +08:00
nfs Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
photon_pd update volume plugins accordingly 2018-08-14 11:12:54 +08:00
portworx kubernetes: fix printf format errors 2018-07-11 00:10:15 +03:00
projected Merge pull request #65429 from WanLinghao/projected_error_return_fix 2018-07-16 13:52:54 -07:00
quobyte Merge pull request #66202 from tanshanshan/fixformat 2018-07-24 21:24:30 -07:00
rbd Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
scaleio Using a fixed set of locks, then we don't need to free unused locks 2018-08-24 12:24:09 +08:00
secret Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07:00
storageos Avoid overflowing int64 in RoundUpSize and return error if overflow int 2018-07-23 13:48:45 -04:00
testing update volume plugins accordingly 2018-08-14 11:12:54 +08:00
util Add DynamicProvisioningScheduling support for GCE PD and RePD 2018-08-24 14:38:25 -07:00
validation Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
vsphere_volume Merge pull request #67328 from cofyc/fix65113-2 2018-08-24 15:25:17 -07:00
BUILD Remove unused io util writer & volume host GetWriter() 2018-07-09 14:09:48 -07: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 Rename Du() to DiskUsage() for more expressive 2018-05-22 10:52:06 +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 update import 2018-02-27 20:23:35 +08:00
metrics_statfs_test.go add volume timestamps 2017-03-02 15:01:59 -08:00
OWNERS Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
plugins.go attacher/detacher refactor 2018-08-14 11:12:41 +08:00
plugins_test.go correct the expected value in plugintest 2018-02-25 15:14:55 +08:00
volume.go attacher/detacher refactor 2018-08-14 11:12:41 +08:00
volume_linux.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00
volume_unsupported.go Add more volume types in e2e and fix part of them. 2018-05-02 10:31:42 +08:00