You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2023/09/19 16:47:22 UTC
[camel-website] 02/02: feat: camel k runtime 3.2.0 release
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-website.git
commit 2a7940729772be7a730b77b5f40b8bc7c7895cbe
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Tue Sep 19 11:43:46 2023 +0200
feat: camel k runtime 3.2.0 release
---
.../blog/2023/09/camel-4-on-camel-k/featured.png | Bin 0 -> 243818 bytes
content/blog/2023/09/camel-4-on-camel-k/index.md | 50 +++++++++++++++++++++
2 files changed, 50 insertions(+)
diff --git a/content/blog/2023/09/camel-4-on-camel-k/featured.png b/content/blog/2023/09/camel-4-on-camel-k/featured.png
new file mode 100644
index 00000000..a9a95d3b
Binary files /dev/null and b/content/blog/2023/09/camel-4-on-camel-k/featured.png differ
diff --git a/content/blog/2023/09/camel-4-on-camel-k/index.md b/content/blog/2023/09/camel-4-on-camel-k/index.md
new file mode 100644
index 00000000..1e508c83
--- /dev/null
+++ b/content/blog/2023/09/camel-4-on-camel-k/index.md
@@ -0,0 +1,50 @@
+---
+title: "Camel 4 on Camel K"
+date: 2023-09-19
+draft: false
+authors: [squakez]
+categories: ["Releases", "Camel K", "Roadmap"]
+preview: "Camel K Runtime 3.2.0 release, aka, how to run Camel 4 with Camel K."
+---
+
+This blog announce the availability of Camel K Runtime version 3.2.0 which will gives you the possibility to run **Camel 4 workloads on Kubernetes with Camel K**.
+
+# Release details
+
+* Apache Camel K Runtime 3.2.0
+* Apache Camel Quarkus 3.2.0
+* Apache Camel 4.0.0
+
+# How to run Camel 4 with Camel K
+
+If you are on Camel K 2.0, this is quite straightforward. If you recall, one of the major feature of version 2 is the ability to run any Camel K runtime. Here we are collecting the first fruits of that hard work of code refactoring.
+
+```
+kamel run test.yaml -t camel.runtime-version=3.2.0
+kamel logs test
+...
+[1] 2023-09-19 08:51:59,475 INFO [org.apa.cam.k.Runtime] (main) Apache Camel K Runtime 3.2.0
+[1] 2023-09-19 08:51:59,496 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
+[1] 2023-09-19 08:51:59,498 INFO [org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 4.0.0 is starting
+[1] 2023-09-19 08:51:59,475 INFO [org.apa.cam.k.Runtime] (main) Apache Camel K Runtime 3.2.0
+[1] 2023-09-19 08:51:59,496 INFO [org.apa.cam.qua.cor.CamelBootstrapRecorder] (main) Bootstrap runtime: org.apache.camel.quarkus.main.CamelMainRuntime
+[1] 2023-09-19 08:51:59,498 INFO [org.apa.cam.mai.MainSupport] (main) Apache Camel (Main) 4.0.0 is starting
+...
+```
+
+There may be a little caveat if you're running the Camel K 2 default configuration. As the default for this version is a previous version of Camel which was running on top of Java 11, now you need to create your Camel 4 integration based on a JDK 17 image. It's quite simple by changing the IntegrationPlatform base image parameter, ie:
+
+```
+kamel install --skip-operator-setup --base-image eclipse-temurin:17 --force
+```
+
+NOTE: you can use any other JDK 17 image if you prefer.
+
+## Known limitations
+
+The runtime we use is Camel Quarkus 3.2, which is based on Camel 4. Unfortunately we have discovered a last minute bug on the [Camel dependencies which is not making possible to run Kotlin DSL](https://github.com/apache/camel-k/issues/4738). If this is a requirement, we suggest not to switch yet to the new runtime and await next available version (probably any runtime based on Camel 4.0.1 or 4.1.0).
+
+# Thanks
+
+Thanks a lot to our contributors and the hard work happening in the community. Feel free to provide any feedback or comment using the Apache Camel available channels.
+