From dab2ee10976651d671808f2ab24d8499025c3abf Mon Sep 17 00:00:00 2001 From: Ioannis Polyzos Date: Tue, 26 May 2020 18:01:05 +0100 Subject: [PATCH] Update uninstalling.doc update docs for the use of 'kamel uninstall' command --- docs/modules/ROOT/pages/uninstalling.adoc | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/modules/ROOT/pages/uninstalling.adoc b/docs/modules/ROOT/pages/uninstalling.adoc index ff460afaec..29c9514f5c 100644 --- a/docs/modules/ROOT/pages/uninstalling.adoc +++ b/docs/modules/ROOT/pages/uninstalling.adoc @@ -1,9 +1,16 @@ [[uninstalling]] = Uninstalling Camel K -If you really need to, it is possible to completely uninstall Camel K from OpenShift or Kubernetes with the following command, using the "oc" or "kubectl" tool: +If you really need to, it is possible to completely uninstall Camel K from OpenShift or Kubernetes with the following command: ``` -# kubectl on plain Kubernetes -oc delete all,pvc,configmap,rolebindings,clusterrolebindings,secrets,sa,roles,clusterroles,crd -l 'app=camel-k' +kamel uninstall +``` + +This will uninstall from the cluster namespace all Camel K resources along with the operator. + + To verify that all resources have been removed you can use the following command: +``` +kubectl get all,pvc,configmap,rolebindings,clusterrolebindings,secrets,sa,roles,clusterroles,crd -l 'app=camel-k' +No resources found in default namespace. ```