website/content/zh-cn/docs/reference/command-line-tools-reference/feature-gates/csi-migration-azure-disk-co...

36 lines
1.3 KiB
Markdown

---
# Removed from Kubernetes
title: CSIMigrationAzureDiskComplete
content_type: feature_gate
_build:
list: never
render: false
stages:
- stage: alpha
defaultValue: false
fromVersion: "1.17"
toVersion: "1.20"
- stage: deprecated
fromVersion: "1.21"
toVersion: "1.21"
removed: true
---
<!--
Stops registering the Azure-Disk in-tree
plugin in kubelet and volume controllers and enables shims and translation
logic to route volume operations from the Azure-Disk in-tree plugin to
AzureDisk CSI plugin. Requires CSIMigration and CSIMigrationAzureDisk feature
flags enabled and AzureDisk CSI plugin installed and configured on all nodes
in the cluster. This flag has been deprecated in favor of the
`InTreePluginAzureDiskUnregister` feature flag which prevents the registration
of in-tree AzureDisk plugin.
-->
停止在 kubelet 和卷控制器中注册 Azure 磁盘内嵌插件,
并启用封装和转换逻辑,将卷操作从 Azure 磁盘内嵌插件路由到 AzureDisk CSI 插件。
这需要启用 CSIMigration 和 CSIMigrationAzureDisk 特性标志,
并在集群中的所有节点上安装和配置 AzureDisk CSI 插件。该特性标志已被废弃,
取而代之的是能防止注册内嵌 AzureDisk 插件的 `InTreePluginAzureDiskUnregister` 特性标志。