Apache Camel K (original) (raw)
Apache Camel K is a lightweight integration framework built from Apache Camel that runs natively on Kubernetes and is specifically designed for serverless and microservice architectures. The Camel K Kubernetes Operator is in charge to transform a user provided Integration custom resource into a Camel application running on the cloud.
Users of Camel K can instantly run integration code written in any Camel DSL without worrying about the building and deployment of the application on the cloud.
How It Works
Just write a helloworld.yaml integration file with the following content:
apiVersion: camel.apache.org/v1
kind: Integration
metadata:
name: helloworld
spec:
flows:
- from:
steps:
- setBody:
simple: Hello Camel from ${routeId}
- log: ${body}
uri: timer:yamlYou can then execute the following command:
kubectl -f helloworld.yaml