If you really need to, it is possible to completely uninstall Camel K from OpenShift or Kubernetes with the following command:
kamel uninstall
This will uninstall from the cluster namespace all Camel K resources along with the operator.
Note
|
By default the resources possibly shared between clusters such as CustomResourceDefinitions (CRD), ClusterRole and Operator Lifecycle Manager(OLM) will be excluded. To force the inclusion of all resources you can use the --all flag. |
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.