You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by Gerald Kallas <ca...@mailbox.org.INVALID> on 2021/03/12 19:40:20 UTC

Sample API run with Camel-K does .. almost nothing

Hi everybody,

I just tried to run the example under

https://github.com/apache/camel-k-examples/tree/master/02-serverless-api

After this command

E:\camel-k-examples-master\02-serverless-api>kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties --open-api=openapi.yaml --dependency=camel-openapi-java --dev
Modeline options have been loaded from source files
Full command: kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties --open-api=openapi.yaml --dependency=camel-openapi-java --dev --open-api=openapi.yaml --dependency=camel-openapi-java
integration "api" created

nothing more happens.

The Minio pod is running.

Any ideas about?

Best
Gerald

Re: Fwd: Sample API run with Camel-K does .. almost nothing

Posted by David Ecker <da...@ecker-software.de>.
Hi Gerald,

what version of camel-k and kubernetes (version + flavor) are you running?

You should have the camel-k operator pod up and running. It will pick up 
the creation event of the integration custom resource in kubernetes and 
will start/create a camel-k kit builder pod. The camel-k kit builder pod 
is going to be completed if the build was successful.

So if nothing happens

1. Make sure the camel k operator is running
2. Look at the camel k operator log - is an action invoked for you new 
integration
3. If the camel k kit builder was started, look at the log if the build 
process failed somehow

Right now there are to many possibilities which could go wrong like a 
wrong RBAC (role based access control) configuration or some 
incompatibility.

bye
David

------------------------------------------------------------------------
*From:* Gerald Kallas [mailto:catshout@mailbox.org.INVALID]
*Sent:* Friday, March 19, 2021, 9:05 AM
*To:* users@camel.apache.org
*Subject:* Fwd: Sample API run with Camel-K does .. almost nothing

> Hi folks,
>
> any ideas about? Thanks .. Gerald
>
> ---------- Ursprüngliche Nachricht ----------
> Von: Gerald Kallas <ca...@mailbox.org>
> An: "users@camel.apache.org" <us...@camel.apache.org>
> Datum: 12.03.2021 20:40
> Betreff: Sample API run with Camel-K does .. almost nothing
>
>
> Hi everybody,
>
> I just tried to run the example under
>
> https://github.com/apache/camel-k-examples/tree/master/02-serverless-api
>
> After this command
>
> E:\camel-k-examples-master\02-serverless-api>kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties --open-api=openapi.yaml --dependency=camel-openapi-java --dev
> Modeline options have been loaded from source files
> Full command: kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties --open-api=openapi.yaml --dependency=camel-openapi-java --dev --open-api=openapi.yaml --dependency=camel-openapi-java
> integration "api" created
>
> nothing more happens.
>
> The Minio pod is running.
>
> Any ideas about?
>
> Best
> Gerald


Fwd: Sample API run with Camel-K does .. almost nothing

Posted by Gerald Kallas <ca...@mailbox.org.INVALID>.
Hi folks,

any ideas about? Thanks .. Gerald

---------- Ursprüngliche Nachricht ----------
Von: Gerald Kallas <ca...@mailbox.org>
An: "users@camel.apache.org" <us...@camel.apache.org>
Datum: 12.03.2021 20:40
Betreff: Sample API run with Camel-K does .. almost nothing


Hi everybody,

I just tried to run the example under

https://github.com/apache/camel-k-examples/tree/master/02-serverless-api

After this command

E:\camel-k-examples-master\02-serverless-api>kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties --open-api=openapi.yaml --dependency=camel-openapi-java --dev
Modeline options have been loaded from source files
Full command: kamel run API.java --source test/MinioCustomizer.java --property-file test/minio.properties --open-api=openapi.yaml --dependency=camel-openapi-java --dev --open-api=openapi.yaml --dependency=camel-openapi-java
integration "api" created

nothing more happens.

The Minio pod is running.

Any ideas about?

Best
Gerald