Skip to content

Commit 82787e1

Browse files
Istio disable addon
1 parent 0ff7b5c commit 82787e1

File tree

2 files changed

+29
-0
lines changed

2 files changed

+29
-0
lines changed

articles/aks/istio-deploy-addon.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,21 @@ kubectl label namespace default istio.io/rev=asm-1-17
189189

190190
Expect to see each pod ready with two containers, one of which is the envoy sidecar injected by Istio.
191191

192+
193+
## Delete resources
194+
195+
If you don't intend to enable Istio ingress on your cluster and want to disable the Istio add-on, run the following command:
196+
197+
```azurecli-interactive
198+
az aks mesh disable --resource-group ${RESOURCE_GROUP} --name ${CLUSTER}
199+
```
200+
201+
If you want to clean up all the resources created from this document, run the following command:
202+
203+
```azurecli-interactive
204+
az group delete --name ${RESOURCE_GROUP} --yes --no-wait
205+
```
206+
192207
## Next steps
193208
194209
* [Deploy external or internal ingresses for Istio service mesh add-on][istio-deploy-ingress]

articles/aks/istio-deploy-ingress.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,4 +214,18 @@ Complete the steps listed in the [Istio add-on deployment document][istio-deploy
214214
<title>Simple Bookstore App</title>
215215
```
216216
217+
## Delete resources
218+
219+
If you want to clean up the Istio service mesh and the ingresses while leaving behind the cluster, run the following command:
220+
221+
```azurecli-interactive
222+
az aks mesh disable --resource-group ${RESOURCE_GROUP} --name ${CLUSTER}
223+
```
224+
225+
If you want to clean up all the resources created from the Istio how-to guidance documents, run the following command:
226+
227+
```azurecli-interactive
228+
az group delete --name ${RESOURCE_GROUP} --yes --no-wait
229+
```
230+
217231
[istio-deploy-addon]: istio-deploy-addon.md

0 commit comments

Comments
 (0)