Re: [I] Karavan on minikube on macos does not start [camel-karavan]

2024-02-13 Thread via GitHub


arheom closed issue #1096: Karavan on minikube on macos does not start
URL: https://github.com/apache/camel-karavan/issues/1096


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Karavan on minikube on macos does not start [camel-karavan]

2024-02-07 Thread via GitHub


arheom commented on issue #1096:
URL: https://github.com/apache/camel-karavan/issues/1096#issuecomment-1931667343

   I forked the repo, to be able to easily test the flows and I managed to 
publish the devmode image with multi platform architecture and I could test it 
that it works well. I changed the code to this:
   
   ```
   jobs:
 docker:
   
   runs-on: ubuntu-latest
   
   steps:
 - name: Checkout repository
   uses: actions/checkout@v4
 - name: Set up QEMU
   uses: docker/setup-qemu-action@v3
 - name: Set up Docker Buildx
   uses: docker/setup-buildx-action@v3
 - name: Log in to the Container registry
   uses: docker/login-action@v3
   with:
 registry: ${{ env.REGISTRY }}
 username: ${{ github.actor }}
 password: ${{ secrets.GITHUB_TOKEN }}
 - name: Build and push Docker image
   uses: docker/build-push-action@v5
   with:
 context: ./karavan-web/docker
 platforms: linux/amd64,linux/arm64
 file: karavan-web/docker/Dockerfile.devmode
 push: true
 tags: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ env.TAG }}
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Karavan on minikube on macos does not start [camel-karavan]

2024-02-06 Thread via GitHub


arheom commented on issue #1096:
URL: https://github.com/apache/camel-karavan/issues/1096#issuecomment-1929723443

   From what I can see inside the github workflows, this could be resolved 
relatively easily:
   - app.yml is using the https://quarkus.io/guides/container-image for 
packaging the images, which supports buildx
   - docker-devmode.yml is using docker/build-push-action@v3 , which could be 
replaced with crazy-max/ghaction-docker-buildx@v1, like here 
https://www.docker.com/blog/multi-arch-build-and-images-the-simple-way/
   
   As I never worked on github workflows, do you know a way I could test those 
locally, eventually I could make the changes to support multi arch mode.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Karavan on minikube on macos does not start [camel-karavan]

2024-02-06 Thread via GitHub


arheom commented on issue #1096:
URL: https://github.com/apache/camel-karavan/issues/1096#issuecomment-1929183758

   From what I understood, in order to work on multi arch, the image needs to 
support it. When I try to get the correct image for my platform:
   
   ```
   docker pull --platform linux/arm64 ghcr.io/apache/camel-karavan:4.3.1
   4.3.1: Pulling from apache/camel-karavan
   Digest: 
sha256:a17e537d15969a95d4bbb970d2b312ae8dd9a5017c9c89349d68906e4a805cee
   Status: Image is up to date for ghcr.io/apache/camel-karavan:4.3.1
   image with reference ghcr.io/apache/camel-karavan:4.3.1 was found but does 
not match the specified platform: wanted linux/arm64, actual: linux/amd64
   ```
   Getting the amd64 image.
   
   From what I understood, here: 
https://cloud.google.com/kubernetes-engine/docs/how-to/build-multi-arch-for-arm
   we could support both architectures with buildx and it will append the 2 
manifests, so we can pull the proper one, based on our environment.
   
   Maybe could you point me in the right direction where this happens into the 
code, maybe I could make a PR to build the image in both arch if not already 
done?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Karavan on minikube on macos does not start [camel-karavan]

2024-02-02 Thread via GitHub


arheom commented on issue #1096:
URL: https://github.com/apache/camel-karavan/issues/1096#issuecomment-1923930270

   Thats great to know it works on macos (I have M1). Do you have any 
suggestion what to try? I used this guide here: 
https://github.com/apache/camel-karavan/blob/main/docs/WEB_KUBERNETES.md
   
   with some exceptions, like I could not install hyperkit:
   
   > hyperkit: The x86_64 architecture is required for this software.
   > Error: hyperkit: An unsatisfied requirement failed this build.
   
   Thanks!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



Re: [I] Karavan on minikube on macos does not start [camel-karavan]

2024-02-02 Thread via GitHub


mgubaidullin commented on issue #1096:
URL: https://github.com/apache/camel-karavan/issues/1096#issuecomment-1923833974

   I use MacOS with M2 to develop Karavan. Works well both Docker and Minikube


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org