Anthos Service Mesh 1.6 已达到服务终止期限,不再受支持。请参阅从早期版本升级。
查看最新文档或选择其他可用版本:
卸载
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面介绍了如何卸载 Anthos Service Mesh 和开源 Istio。
卸载 Anthos Service Mesh
运行以下命令之一可以卸载随 ASM 配置文件安装的 Anthos Service Mesh 组件。这些命令会删除 istio-system
命名空间和所有自定义资源定义 (CRD),包括您应用的任何 CRD。如果您创建了 CRD,请确保您拥有其副本。
移除控制层面。
- 如果您在 GKE on VMware、GKE on AWS、Amazon Elastic Kubernetes Service 或 Microsoft Azure Kubernetes Service 上安装了 Anthos Service Mesh:
移除控制层面:
istioctl manifest generate --set profile=asm-multicloud | kubectl delete --ignore-not-found=true -f -
删除 istio-system
命名空间:
kubectl delete namespace istio-system
如果您在 Google Kubernetes Engine 上安装了 Anthos Service Mesh:
istioctl manifest generate --set profile=asm-gcp | kubectl delete --ignore-not-found=true -f -
此命令会自动删除 istio-system
命名空间。
停用 Sidecar 自动注入功能(如果已启用):
kubectl label namespace YOUR_NAMESPACE istio-injection=disabled
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-07。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]