---
title: （可选）卸载或删除
description: "不需要使用Istio时，可以先卸载Istio相关Pod与配置再删除Istio相关安装文件。当Istio的Benchmark测试全部完成后，可删除Benchmark测试相关Pod与配置。"
url: https://www.hikunpeng.com/document/detail/zh/kunpengcpfs/ecosystemEnable/Istio/kunpeng_istio_zn_012.html
sourcePath: /source/zh/kunpengcpfs/ecosystemEnable/Istio/kunpeng_istio_zn_012.html
indexId: abd96ad3183c4eece827e865b1fd9dd6c0ab52a525a6d81661e13dbe939b755e70
---
# （可选）卸载或删除

不需要使用Istio时，可以先卸载Istio相关Pod与配置再删除Istio相关安装文件。当Istio的Benchmark测试全部完成后，可删除Benchmark测试相关Pod与配置。

#### 卸载Istio相关Pod与配置

在K8s集群master节点执行如下命令卸载Istio相关Pod与配置。
```
istioctl uninstall --purge
```


#### 卸载Istio

删除Istio相关安装文件即可卸载Istio。


#### 删除Benchmark测试相关Pod与配置

在K8s集群master节点执行如下命令删除Benchmark测试相关Pod与配置。
```
kubectl delete all --all -n twopods-istio
kubectl delete namespace twopods-istio
```
