k3s/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
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
csi Merge pull request #66884 from NickrenREN/attacher-detacher-refactor 2018-08-15 07:03:48 -07:00
downwardapi
empty_dir
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
glusterfs Remove provisioner config from log message. 2018-08-24 19:40:37 +05:30
host_path
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
photon_pd update volume plugins accordingly 2018-08-14 11:12:54 +08:00
portworx
projected
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
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
vsphere_volume Merge pull request #67328 from cofyc/fix65113-2 2018-08-24 15:25:17 -07:00
BUILD
OWNERS Add Labels to various OWNERS files 2018-08-21 13:59:08 -04:00
doc.go
metrics_cached.go
metrics_du.go
metrics_du_test.go
metrics_errors.go
metrics_nil.go
metrics_nil_test.go
metrics_statfs.go
metrics_statfs_test.go
plugins.go attacher/detacher refactor 2018-08-14 11:12:41 +08:00
plugins_test.go
volume.go attacher/detacher refactor 2018-08-14 11:12:41 +08:00
volume_linux.go
volume_unsupported.go