Uninstall: add note about removal of istio-system ns (#7151)

* Uninstall: add note about removal of istio-system ns

Fixes: #23189.

* Clarify the reason of not removing it

* Apply suggestions from code review

Co-Authored-By: Frank Budinsky <frankb@ca.ibm.com>

Co-authored-by: Frank Budinsky <frankb@ca.ibm.com>
This commit is contained in:
Jonh Wendell 2020-04-24 12:20:40 -04:00 committed by GitHub
parent d35bf73569
commit 1449b54534
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 3 deletions

View File

@ -388,13 +388,20 @@ We welcome you to ask questions and give us feedback by joining the
## Uninstall ## Uninstall
The uninstall deletes the RBAC permissions, the `istio-system` namespace, and The uninstall deletes the RBAC permissions and all resources hierarchically
all resources hierarchically under it. It is safe to ignore errors for under the `istio-system` namespace. It is safe to ignore errors for non-existent
non-existent resources because they may have been deleted hierarchically. resources because they may have been deleted hierarchically.
{{< text bash >}} {{< text bash >}}
$ istioctl manifest generate --set profile=demo | kubectl delete -f - $ istioctl manifest generate --set profile=demo | kubectl delete -f -
{{< /text >}} {{< /text >}}
The `istio-system` namespace is not removed by default.
If no longer needed, use the following command to remove it:
{{< text bash >}}
$ kubectl delete namespace istio-system
{{< /text >}}
To delete the `Bookinfo` sample application and its configuration, see To delete the `Bookinfo` sample application and its configuration, see
[`Bookinfo` cleanup](/docs/examples/bookinfo/#cleanup). [`Bookinfo` cleanup](/docs/examples/bookinfo/#cleanup).

View File

@ -532,3 +532,10 @@ To uninstall Istio, run the following command:
{{< text bash >}} {{< text bash >}}
$ istioctl manifest generate <your original installation options> | kubectl delete -f - $ istioctl manifest generate <your original installation options> | kubectl delete -f -
{{< /text >}} {{< /text >}}
The control plane namespace (e.g., `istio-system`) is not removed by default.
If no longer needed, use the following command to remove it:
{{< text bash >}}
$ kubectl delete namespace istio-system
{{< /text >}}