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

36 lines
1.3 KiB
Markdown

---
# Removed from Kubernetes
title: CSIMigrationAzureFileComplete
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-File in-tree
plugin in kubelet and volume controllers and enables shims and translation
logic to route volume operations from the Azure-File in-tree plugin to
AzureFile CSI plugin. Requires CSIMigration and CSIMigrationAzureFile feature
flags enabled and AzureFile CSI plugin installed and configured on all nodes
in the cluster. This flag has been deprecated in favor of the
`InTreePluginAzureFileUnregister` feature flag which prevents the registration
of in-tree AzureFile plugin.
-->
停止在 kubelet 和卷控制器中注册 Azure-File 内嵌插件,
并启用封装和转换逻辑,将卷操作从 Azure-File 内嵌插件路由到 AzureFile CSI 插件。
这需要启用 CSIMigration 和 CSIMigrationAzureFile 特性标志,
并在集群中的所有节点上安装和配置 AzureFile CSI 插件。该特性标志已被废弃,
取而代之的是能防止注册内嵌 AzureDisk 插件的 `InTreePluginAzureFileUnregister` 特性标志。