Re: kamel run - which component creates the Kubernetes CR ?

2022-09-12 Thread Claudio Miranda
On Mon, Sep 12, 2022 at 11:21 AM Christoph Weiss wrote: > > Short question: I am wondering which “component” is creating the “Kubernetes > Integration CR” when running “kamel run” (based on a given Integration > written e.g. in groovy or any other DSL). Hi, the kamel run creates the Integration

Re: kamel run - which component creates the Kubernetes CR ?

2022-09-12 Thread Claus Ibsen
Hi See also this page https://camel.apache.org/camel-k/1.10.x/running/running.html#no-cli-integration On Mon, Sep 12, 2022 at 4:52 PM Claus Ibsen wrote: > Hi > > The Kamel CLI saves the integration file as a k8s crd. Where the groovy > code is embedded inside the crd. > > The operator watches f

Re: kamel run - which component creates the Kubernetes CR ?

2022-09-12 Thread Claus Ibsen
Hi The Kamel CLI saves the integration file as a k8s crd. Where the groovy code is embedded inside the crd. The operator watches for CRDs and then act upon when they are added/deleted/modified. And in case of the embedded Camel code, the operator then "figures out how to build that" and run it.

RE: kamel run - which component creates the Kubernetes CR ?

2022-09-12 Thread Christoph Weiss
Hi Claus, Thanks for the quick response. I am already quite familiar with the provided page - and the basic concepts. However, I am missing details how a given integration written in a specific DSL - e.g. groovy - is transformed into a Kubernetes CR object. Is this something done by the "

Re: kamel run - which component creates the Kubernetes CR ?

2022-09-12 Thread Claus Ibsen
Hi See the Camel K architecture documentation that helps clear up some of your questions https://camel.apache.org/camel-k/1.10.x/architecture/architecture.html On Mon, Sep 12, 2022 at 4:21 PM Christoph Weiss wrote: > Hello, > > Short question: I am wondering which “component” is creating the >

Camel-K Operator: can I add additional labels to the image build?

2022-09-12 Thread Christoph Weiss
Dear User Group, Short question: We have the requirement to add additional labels to the image that is build by the Camel-K Operator (via the IntegrationKit and Build CR). Is this possible? If yes: how could this be achieved? Any hints are more than welcome. Thanks Christoph

kamel run - which component creates the Kubernetes CR ?

2022-09-12 Thread Christoph Weiss
Hello, Short question: I am wondering which “component” is creating the “Kubernetes Integration CR” when running “kamel run” (based on a given Integration written e.g. in groovy or any other DSL). Is this done locally by the CLI tool – or already a function happing on the Cluster / Operator sit