Uninstalling Camel K
We’re sad to see you go, but 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 all Camel K resources along with the operator from the cluster namespace.
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. If the --olm=false option was specified during installation, which is the case when installing Camel K from sources on CRC, then it also must be used with the uninstall command. |
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'
NAME READY STATUS RESTARTS AGE
clusterrole.rbac.authorization.k8s.io/camel-k:edit 2020-05-28T20:31:39Z
NAME CREATED AT
customresourcedefinition.apiextensions.k8s.io/builds.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/camelcatalogs.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/integrationkits.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/integrationplatforms.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/integrations.camel.apache.org 2020-05-28T20:31:39Z
customresourcedefinition.apiextensions.k8s.io/integrationprofiles.camel.apache.org 2020-05-28T20:31:39Z