You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Thomas Diesler (Jira)" <ji...@apache.org> on 2024/11/15 15:03:00 UTC

[jira] [Comment Edited] (CAMEL-21451) Migrate to JKube generated resources for all runtimes

    [ https://issues.apache.org/jira/browse/CAMEL-21451?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17898655#comment-17898655 ] 

Thomas Diesler edited comment on CAMEL-21451 at 11/15/24 3:02 PM:
------------------------------------------------------------------

You can now run [k3s-export|https://github.com/tdiesler/camel-cloud-examples/blob/main/quarkus/timer-log/Makefile#L17] ...

{code}
k3s-export:
	@jbang camel kubernetes export timer-log-route.yaml \
	   --gav=examples:timer-log:1.0.0 \
           --image-registry k3s-registry:30443 \
	   --trait container.image-pull-policy=Always \
	   --trait container.image-push=true \
	   --trait service.type=NodePort \
	   --runtime=quarkus
{code}

and it should generate a maven project very similar to the other runtimes. The quarkus entrypoint in the image is preserved.
Standing up a k3s cluster has also been simplified a great deal - have a look at CAMEL-21450 to see how to do that. 


was (Author: tdiesler):
You can now run [k3s-export|https://github.com/tdiesler/camel-cloud-examples/blob/main/quarkus/timer-log/Makefile#L17] ...

{code}
k3s-export:
	@jbang camel kubernetes export timer-log-route.yaml \
	   --gav=examples:timer-log:1.0.0 \
           --image-registry k3s-registry:30443 \
	   --trait container.image-pull-policy=Always \
	   --trait container.image-push=true \
	   --trait service.type=NodePort \
	   --runtime=quarkus
{code}

and it should generate a maven project very similar to the other runtimes. The quarkus entrypoint in the image is preserved.
Standing up a k3s cluster  has been simplified a great deal - have a look at CAMEL-21450 to see how to do that. 

> Migrate to JKube generated resources for all runtimes
> -----------------------------------------------------
>
>                 Key: CAMEL-21451
>                 URL: https://issues.apache.org/jira/browse/CAMEL-21451
>             Project: Camel
>          Issue Type: Task
>          Components: camel-jbang
>            Reporter: Thomas Diesler
>            Assignee: Thomas Diesler
>            Priority: Major
>
> The team decided (in Brno) to commonly use JKube to generate k8s resource definitions. One set of documentation, properties, extension points for users and tools to integrate with.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)