Skip to content

Commit

Permalink
Update uninstalling.doc
Browse files Browse the repository at this point in the history
update docs for the use of 'kamel uninstall' command
  • Loading branch information
ipolyzos authored and nicolaferraro committed May 27, 2020
1 parent 1f5a0f6 commit 31f05df
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions docs/modules/ROOT/pages/uninstalling.adoc
Original file line number Diff line number Diff line change
@@ -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.
```

0 comments on commit 31f05df

Please sign in to comment.