Skip to content

Commit f007c68

Browse files
committed
doc: deprecate azure blob disk feature
1 parent bf94f27 commit f007c68

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

pkg/volume/azure_dd/azure_common.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ var (
5959
string(api.AzureDataDiskCachingReadWrite))
6060

6161
supportedDiskKinds = sets.NewString(
62-
string(api.AzureSharedBlobDisk),
63-
string(api.AzureDedicatedBlobDisk),
62+
string(api.AzureSharedBlobDisk), // deprecated
63+
string(api.AzureDedicatedBlobDisk), // deprecated
6464
string(api.AzureManagedDisk))
6565

6666
// only for Windows node

pkg/volume/azure_dd/azure_provision.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ func (p *azureDiskProvisioner) Provision(selectedNode *v1.Node, allowedTopologie
303303
if err != nil {
304304
return nil, err
305305
}
306-
} else {
306+
} else { // Attention: blob disk feature is deprecated
307307
if kind == v1.AzureDedicatedBlobDisk {
308308
_, diskURI, _, err = diskController.CreateVolume(name, account, storageAccountType, location, requestGiB)
309309
if err != nil {

staging/src/k8s.io/legacy-cloud-providers/azure/azure_blobDiskController.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import (
4040
"k8s.io/klog/v2"
4141
)
4242

43+
// Attention: blob disk feature is deprecated
4344
const (
4445
vhdContainerName = "vhds"
4546
useHTTPSForBlobBasedDisk = true

0 commit comments

Comments
 (0)