KEP-1490: In-tree Storage Plugin to CSI Migration - Azuredisk
In-tree Storage Plugin to CSI Migration - AzureDisk Design Doc
Table of Contents
Summary
This document present as a vendor specific KEP for the parent KEP CSI Migration
This inherits all the contents from its parent KEP. It will introduce two new feature gates to be used as as described in its parent KEP. For all other contents, please refer to the parent KEP.
New Feature Gates
- CSIMigrationAzureDisk
- As describe in CSI Migration
,
when this feature flag && the
CSIMigrationis enabled at the same time, all operations related to the in-tree volume pluginkubernetes.io/azure-diskwill be redirect to use the corresponding CSI driver. From a user perspective, nothing will be noticed.
- As describe in CSI Migration
,
when this feature flag && the
- InTreePluginAzureDiskUnregister
- This flag technically is not part of CSI Migration design. But it happens to be related and helps with
CSI Migration. The name speaks for itself, when this flag is enabled, kubernetes will not register the
kubernetes.io/azue-diskas one of the in-tree storage plugin provisioners. This flag standalone can work out of CSI Migration features. - However, when all
InTreePluginAzureDiskUnregister,CSIMigrationAzureDiskandCSIMigrationfeature flags are enabled at the same time. The kube-controller-manager will skip the feature flag checking on kubelet and treat Azure Disk CSI migration as already complete. And directly redirect traffic to CSI driver for all azure disk related operations.
- This flag technically is not part of CSI Migration design. But it happens to be related and helps with
CSI Migration. The name speaks for itself, when this flag is enabled, kubernetes will not register the
Production Readiness Review Questionnaire
Please refer to the CSI Migration Production Readiness Review Questionnaire .
Implementation History
Major milestones in the life cycle of a KEP should be tracked in Implementation History.
- 2022-01-05 KEP created
Major milestones for Azure Disk in-tree plugin CSI migration:
1.15
- AzureDisk CSI migration to Alpha
1.19
- AzureDisk CSI migration to Beta, off by default.
1.23
- AzureDisk CSI migration to Beta, on by default.
1.24
- AzureDisk CSI migration to GA