mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
Merge pull request #57835 from cimomo/azure-provider-fixes
Automatic merge from submit-queue. 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>. Minor commenting fixes for Azure Disk Controllers from CR **What this PR does / why we need it**: Minor commenting fixes for Azure Disk Controllers from code review. **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 # **Special notes for your reviewer**: **Release note**: ```release-note NONE ```
This commit is contained in:
commit
411881803f
@ -611,7 +611,7 @@ func (c *BlobDiskController) findSANameForDisk(storageAccountType storage.SkuNam
|
|||||||
return SAName, nil
|
return SAName, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// avergates are not ok and we are at capacity(max storage accounts allowed)
|
// averages are not ok and we are at capacity (max storage accounts allowed)
|
||||||
if aboveAvg && countAccounts == maxStorageAccounts {
|
if aboveAvg && countAccounts == maxStorageAccounts {
|
||||||
glog.Infof("azureDisk - shared storageAccounts utilzation(%v) > grow-at-avg-utilization (%v). But k8s maxed on SAs for PVC(%v). k8s will now exceed grow-at-avg-utilization without adding accounts",
|
glog.Infof("azureDisk - shared storageAccounts utilzation(%v) > grow-at-avg-utilization (%v). But k8s maxed on SAs for PVC(%v). k8s will now exceed grow-at-avg-utilization without adding accounts",
|
||||||
avgUtilization, storageAccountUtilizationBeforeGrowing, maxStorageAccounts)
|
avgUtilization, storageAccountUtilizationBeforeGrowing, maxStorageAccounts)
|
||||||
|
@ -106,8 +106,8 @@ func (c *ManagedDiskController) DeleteManagedDisk(diskURI string) error {
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
// We don't need poll here, k8s will immediatly stop referencing the disk
|
// We don't need poll here, k8s will immediately stop referencing the disk
|
||||||
// the disk will be evantually deleted - cleanly - by ARM
|
// the disk will be eventually deleted - cleanly - by ARM
|
||||||
|
|
||||||
glog.V(2).Infof("azureDisk - deleted a managed disk: %s", diskURI)
|
glog.V(2).Infof("azureDisk - deleted a managed disk: %s", diskURI)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user