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-k.git


The following commit(s) were added to refs/heads/main by this push:
     new e3abd143a feat(doc): container JDK version
e3abd143a is described below

commit e3abd143ad73137da77461f8fe8ca4cd457b1fd3
Author: Pasquale Congiusti <pasquale.congiu...@gmail.com>
AuthorDate: Tue Jan 28 18:39:00 2025 +0100

    feat(doc): container JDK version
---
 docs/modules/ROOT/nav.adoc                         |  3 ++-
 .../pages/installation/advanced/jdk-version.adoc   | 24 ++++++++++++++++++++++
 ...rchitecture.adoc => platform-architecture.adoc} |  4 ++--
 3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/docs/modules/ROOT/nav.adoc b/docs/modules/ROOT/nav.adoc
index 74fa462b5..7dd3a2047 100644
--- a/docs/modules/ROOT/nav.adoc
+++ b/docs/modules/ROOT/nav.adoc
@@ -11,11 +11,12 @@
 ** xref:installation/uninstalling.adoc[Uninstalling]
 ** xref:installation/advanced/advanced.adoc[Advanced]
 *** xref:installation/advanced/network.adoc[Components topology]
+*** xref:installation/advanced/jdk-version.adoc[JDK version]
+*** xref:installation/advanced/platform-architecture.adoc[Platform 
architecture]
 *** xref:installation/advanced/build-config.adoc[Build tuning]
 *** xref:installation/advanced/resources.adoc[Resource management]
 *** xref:installation/advanced/multi.adoc[Multiple Operators]
 *** xref:installation/advanced/http-proxy.adoc[HTTP Proxy]
-*** xref:installation/advanced/multi-architecture.adoc[Multi Architecture]
 *** xref:installation/advanced/offline.adoc[Offline]
 *** xref:installation/advanced/pruning-registry.adoc[Pruning Registry]
 * xref:running/running.adoc[Run an Integration]
diff --git a/docs/modules/ROOT/pages/installation/advanced/jdk-version.adoc 
b/docs/modules/ROOT/pages/installation/advanced/jdk-version.adoc
new file mode 100644
index 000000000..bd5d6d491
--- /dev/null
+++ b/docs/modules/ROOT/pages/installation/advanced/jdk-version.adoc
@@ -0,0 +1,24 @@
+= Choose your JDK version
+
+Camel K requires a JDK to be able to build and properly run a Camel 
application. From version 2.6.0 onward, we are publishing multiple JDK 
containers which you can choose if you want to use a different JDK from the 
default provided.
+
+The list of available container images is published in 
(https://hub.docker.com/r/apache/camel-k/tags)[official Docker Apache Camel K 
page].
+
+[[camel-k-jdk-21]]
+== Install Camel K JDK 21 operator
+
+If you want to use a different container image instead of the default, you 
will need to edit your operator Deployment by replacing the default image with 
the one you're choosing. You can use the following script in order to change on 
the fly the value and install a Camel K JDK 21 based operator:
+
+```bash
+kustomize build 
github.com/apache/camel-k/install/overlays/kubernetes/descoped?ref=v2.6.0 | sed 
's#docker.io/apache/camel-k:2.6.0#docker.io/apache/camel-k:2.6.0-21-jdk#g' | 
kubectl apply -f - --server-side -n camel-k
+```
+
+During the build, you should see the version used in the Maven building log 
traces:
+
+```
+...
+camel-k-operator-578585fb59-9d987 camel-k-operator 
{"level":"info","ts":"2025-01-28T21:25:53Z","logger":"camel-k.maven.build","msg":"Java
 version: 21.0.5, vendor: Eclipse Adoptium, runtime: /opt/java/openjdk"}
+...
+```
+
+NOTE: the base image used for the Integrations will be a JDK 21 image as well.
\ No newline at end of file
diff --git 
a/docs/modules/ROOT/pages/installation/advanced/multi-architecture.adoc 
b/docs/modules/ROOT/pages/installation/advanced/platform-architecture.adoc
similarity index 94%
rename from 
docs/modules/ROOT/pages/installation/advanced/multi-architecture.adoc
rename to 
docs/modules/ROOT/pages/installation/advanced/platform-architecture.adoc
index f1bf8ea15..7f7621bfe 100644
--- a/docs/modules/ROOT/pages/installation/advanced/multi-architecture.adoc
+++ b/docs/modules/ROOT/pages/installation/advanced/platform-architecture.adoc
@@ -1,5 +1,5 @@
 [[multi-architecture-props]]
-= Multi Architecture
+= Platform architecture
 
 Since version 2, Camel K is publishing an ARM64 architecture beside the 
default AMD64 architecture. You can build your particular architecture from 
source as well, following the guidelines in 
xref:contributing/local-development.adoc[Local development].
 
@@ -17,7 +17,7 @@ The logs should indicate the architecture at the start of the 
operator pod:
 
{"level":"info","ts":"2023-12-19T16:40:31Z","logger":"camel-k.cmd","msg":"Camel 
K Operator Version: 2.1.0"}
 ----
 
-=== Example
+=== Run multi architecture Camel applications
 
 The operator will by default build integrations for the same platform it is 
running on. It is however also possible to explicitly define the set of target 
platforms integrations should be built for. You can use `builder.platforms` 
trait option to control this behavior.
 

Reply via email to