从 Azure Kubernetes 服务 (AKS) 群集卸载开放服务网格 (OSM) 加载项

本文介绍如何从 AKS 群集中卸载 OMS 加载项和相关资源。

禁用群集中的 OSM 加载项

  • 使用 az aks disable-addon 命令和 --addons 参数从您的群集中禁用 OSM 加载项。

    az aks disable-addons \
      --resource-group myResourceGroup \
      --name myAKSCluster \
      --addons open-service-mesh
    

删除 OSM 资源

  • 使用 osm uninstall cluster-wide-resources 命令卸载群集上的剩余资源。

    osm uninstall cluster-wide-resources
    

    备注

    对于版本 1.1,命令为 osm uninstall mesh --delete-cluster-wide-resources

    重要

    禁用 OSM 加载项后,必须删除这些附加资源。 将这些资源保留在群集上可能会导致问题,如果您将来再次启用 OSM 加载项。

后续步骤

详细了解 Open Service Mesh