You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ap...@apache.org on 2025/01/14 10:20:12 UTC

(camel) branch main updated: Add Minikube deployment example for Camel 4.9 with Camel JBang

This is an automated email from the ASF dual-hosted git repository.

apupier pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/main by this push:
     new dc3e64d3c0e Add Minikube deployment example for Camel 4.9 with Camel JBang
dc3e64d3c0e is described below

commit dc3e64d3c0eb8569df7ddd11ac706d43a4cbc06c
Author: Aurélien Pupier <ap...@redhat.com>
AuthorDate: Tue Jan 14 10:38:48 2025 +0100

    Add Minikube deployment example for Camel 4.9 with Camel JBang
    
    Signed-off-by: Aurélien Pupier <ap...@redhat.com>
---
 .../modules/ROOT/pages/camel-jbang-kubernetes.adoc            | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc b/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc
index 9dbd9aa3933..99f180c82fd 100644
--- a/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc
+++ b/docs/user-manual/modules/ROOT/pages/camel-jbang-kubernetes.adoc
@@ -1354,10 +1354,19 @@ The delete operation will remove all resources defined in the Kubernetes manifes
 To run a local Kubernetes cluster with Minikube for development purposes.
 Here are some tips from users that have been using this.
 
-The following steps have been known to be working (Camel 4.9):
+The following steps have been known to be working with Camel 4.8.1+:
 
 1. `minikube start --addons registry --driver=docker`
 2. `eval $(minikube -p minikube docker-env)`
 3. `camel kubernetes run 'demo.camel.yaml' --cluster-type=minikube --build-property=quarkus.kubernetes.image-pull-policy=Never`
 
 Most important `--build-property=quarkus.kubernetes.image-pull-policy=Never` without that it is not working, which is not clear from the current Minikube docs.
+
+The following steps have been known to be working with Camel 4.9+:
+
+1. `minikube start --addons registry --driver=docker`
+2. `eval $(minikube -p minikube docker-env)`
+3. `camel kubernetes run demo.camel.yaml '--cluster-type=minikube' '--build-property=quarkus.kubernetes.image-pull-policy=Never' '--trait container.image-push=true' '--image-registry' '$(kubectl -n kube-system get service registry -o jsonpath='{.spec.clusterIP}')' '--image-builder=docker'`
+
+Note that Docker multi-platform build is used. It requires to have followed these https://docs.docker.com/build/building/multi-platform/#build-multi-platform-images[Docker requirements].
+