k3s/pkg/volume/azure_dd
Kubernetes Submit Queue d85fd8b244 Merge pull request #54459 from andyzhangx/azure-change-default-pv-kind
Automatic merge from submit-queue (batch tested with PRs 53730, 51608, 54459, 54534, 54585). 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>.

fix azure storage account num exhausting issue

**What this PR does / why we need it**:
If customer is using the default storage class of azure-disk, create lots of azure disk pvs by using default storage class of azure-disk, the storage account num would be exhausted in the azure subscription. Change default `kind` value of azure disk storge class from `Dedicated` to `Shared`, which means only a few storage accounts would be created even there are even hundreds of azure disk PVs.

**Which issue this PR fixes**:
fixes #54669
fix storage account num exhausting issue when lots of azure disk pvs are created by using the default storage class of azure-disk

**Special notes for your reviewer**:
fix azure storage account num exhausting issue when lots of azure disk pvs are created by using the default storage class of azure-disk
I would suggest also cherry pick this fix to v1.7, v1.8

**Release note**:

```
fix azure storage account num exhausting issue
```

/sig azure
@karataliu @rootfs @brendanburns
2017-10-26 19:59:28 -07:00
..
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
OWNERS Remove repeated reviewers names 2017-08-10 12:51:06 +08:00
attacher.go enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
azure_common.go change default kind value of azure disk pv 2017-10-25 06:17:55 +00:00
azure_common_linux.go fix#50150: azure disk mount failure on coreos 2017-10-25 05:19:57 +00:00
azure_common_test.go TestIoHandler should not run on unsupported platforms 2017-09-20 00:35:58 -07:00
azure_common_unsupported.go enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
azure_common_windows.go enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
azure_dd.go enable azure disk mount on windows node 2017-09-12 01:52:48 +00:00
azure_dd_test.go Adding dynamic Flexvolume plugin discovery capability, using filesystem watch. 2017-08-25 11:42:32 -07:00
azure_mounter.go fix azure pv crash due to readOnly nil 2017-10-26 06:51:03 +00:00
azure_provision.go Add storageClass.mountOptions and use it in all applicable plugins 2017-08-29 11:37:36 -04:00