This is an automated email from the ASF dual-hosted git repository.
nferraro pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-k.git
The following commit(s) were added to refs/heads/master by this push:
new 31f05df Update uninstalling.doc
31f05df is described below
commit 31f05df2bb08c22f79b59be0f38abb32619fb6dc
Author: Ioannis Polyzos <[email protected]>
AuthorDate: Tue May 26 18:01:05 2020 +0100
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 ff460af..29c9514 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.
```