This repository contains a collection of Camel K examples useful to understand how it works, common use cases and the idiomatic programming model.
You can find more information about Apache Camel and Apache Camel K on the official Camel website.
To better work on all examples, make sure you have all them locally by checking out the git repository:
git clone git@github.com:apache/camel-k-examples.git
All examples require that you are connected to a Kubernetes/OpenShift cluster, even a local instance such as Minikube or CRC. Some advanced examples may have additional requirements.
Ensure that you've followed the Camel K installation guide for your specific cluster before looking at the examples.
All examples need at least the following CLI tools installed on your system:
kubectl
: the Kubernetes default CLI tool that can be downloaded from the Kubernetes releases page.kamel
: the Apache Camel K CLI that can be downloaded from the Camel K release page.
In Generic Examples we are providing multiple generic examples folder.
In Kamelets we have a set of examples based on Kamelets.