Camel K allows us to run integrations directly on a Kubernetes or OpenShift cluster. To use it, you need to be connected to a cloud environment or to a local cluster created for development purposes.
Camel K installation is usually straightforward, but for certain cluster types you need to apply specific configuration settings before installing it. Customized instructions are needed for the following cluster types:
Other cluster types (such as OpenShift clusters) should not need prior configuration.
To start using Camel K you need the "kamel" CLI tool, that can be used to both configure the cluster and run integrations. Look into the release page for the latest version of the camel-k-client tool for your specific platform.
Download and uncompress the archive. It contains a small binary file named
kamel that you should put into your system path. For example, if you’re using Linux, you can put
Once you have put the "kamel" CLI in the path, log into your cluster using the standard "oc" (OpenShift) or "kubectl" (Kubernetes) client tool and execute the following command to install Camel K:
This will configure the cluster with the Camel K custom resource definitions and install the operator on the current namespace.
| Custom Resource Definitions (CRD) are cluster-wide objects and you need admin rights to install them. Fortunately, this operation can be done once per cluster. So, if the |
You’re now ready to run some integrations.
Camel K is also available in Helm Hub for installation. Follow the instructions on the Camel K page for more information.