Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Claus Ibsen
    @davsclaus
    its actually listed in the camel-catalogs resource
    so you can do
    kubectrl get camel-catalogs
    or
    get cc
    cc = short name
    then you can look inside those, one for main and another for quarkus
    they list the camel components they know/support
    k describe cc camel-catalog-1.3.0-main
    Saravanakumar Selvaraj
    @saravanakumar1987
    Thanks a lot for the details.
    Claus Ibsen
    @davsclaus
    Camel K 1.0.1 is on VOTE (you can download and try/test it):
    https://camel.465427.n5.nabble.com/VOTE-Release-Apache-Camel-K-1-0-1-td5872924.html
    Saravanakumar Selvaraj
    @saravanakumar1987
    I am preparing a comparion sheet with and Quarkus. But currently its in JVM mode. I am waiting for the Quarkus native mode support.
    Claus Ibsen
    @davsclaus
    ok sounds great
    just mind native mode compilation is "heavy"
    but camel k tend to be small integration so fits perfect there
    and yeah then quarkus is required and all its extensions supports native mode
    currently we have some camel quarkus extensions that are jvm only, you can see it on the website
    Saravanakumar Selvaraj
    @saravanakumar1987

    just mind native mode compilation is "heavy"

    yeah. During development, JVM mode can be used with code changes multiple time. We could do one time compilation in native mode before the final deployment.

    Claus Ibsen
    @davsclaus
    yeah we have talked about having a builder doing the native build and then do a rolling upgrade when its ready so you can run in jvm mode in the mean time
    but also a ci pipeline where a native build is done and deployed on some test namespace before rolling into prod etc
    so there are many ways
    but good point of jvm for development and native only later
    Ari Salonen
    @arsalone_twitter
    What should be Camel-K pod memory consumption after native build? I just noted that it is like 100M even there is nothing else than logging
    Claus Ibsen
    @davsclaus
    you need to set resource limits on the pods
    so for native you can lower that to 20-30 etc
    its a bit more heavy in java 11 and latest graalvm than it was with java 8
    there is a trait you can use to set those limits via kamel
    imasood90
    @imasood90
    hi i have question
    with default builder we can are not able to configure apache Camel k with the local repository
    we were successfull to configure it using kaniko
    but getting push error
    but kaniko keeo on using https protocol rathher then http
    is there anyway to conifgure kaniko to use insecure protocal to push image
    imasood90
    @imasood90
    Is there any way to provide kaniko arugument in camel K
    KimJohn Quinn
    @kjq
    Quick question, can k-camel run a spring-boot app (non quarkus)?
    Luca Burgazzoli
    @lburgazzoli
    no, there was support in the early days but the fat jar approach does not play very well with the general goal of camel-k
    coricko
    @coricko
    Is there a way to do less recoveries if the integration fails for some reason? I'm having to wait several minutes with each recovery before it will finally fail in such a way that I can look at the underlying cause
    Claus Ibsen
    @davsclaus
    what recovery can you be more specifc
    coricko
    @coricko
    I'm trying to test https://developers.redhat.com/blog/2019/04/25/build-and-deploy-an-api-with-camel-k-on-red-hat-openshift/ on my local docker-for-desktop. I'm watching the kamel run fail and go through two recoveries before I can finally do a kubectl logs camel-k-kit-brt2kkf89ag8tugjbqn0-builder -c buildah and see that it's due to that image pull issue. My problem is that I spent 5+ minutes waiting for the pod to error so I could look at it and see what happened. Is there a way to set it to only do one recovery before failing?
    Claus Ibsen
    @davsclaus
    kubectl get builds
    should show the in progress builds too
    you can then describe a build
    and btw what version of camel k do you use
    coricko
    @coricko
    image.png
    I'm using kamel version 1.0.0 on windows.
    coricko
    @coricko

    Are the camel-k builder pods incompatible with knative when istio injection is turned on for the namespace? I did the following and I am not having any luck until I try the Spectrum build strategy

    1) Reset my docker-for-desktop cluster (Kubernetes version 1.16.5 if it matters)
    2) Install knative-serving version 1.14 with istio-injection
    3) Run kubectl label namespace default istio-injection=enabled
    4) Run kamel install using the github registry
    5) Run kamel run --dev --name customers --dependency camel-undertow --property camel.rest.port=8080 --open-api customer-api.json customer-api.xml from the redhat example above.

    5 replies
    Gheorghe-Teodor Bercea
    @doru1004
    Has anyone tried to bind to registry a local bean? I'm running into a java.lang.ClassNotFoundException when configuring the routes: "[1] Caused by: java.lang.ClassNotFoundException: MyProcessor
    [1] at org.apache.camel.impl.engine.DefaultClassResolver.resolveMandatoryClass(DefaultClassResolver.java:87)
    [1] at org.apache.camel.support.PropertyBindingSupport.resolveBean(PropertyBindingSupport.java:1031)
    [1] at org.apache.camel.main.BaseMainSupport.bindBeansToRegistry(BaseMainSupport.java:928)
    [1] at org.apache.camel.main.BaseMainSupport.doConfigureCamelContextFromMainConfiguration(BaseMainSupport.java:738)
    [1] at org.apache.camel.main.BaseMainSupport.autoconfigure(BaseMainSupport.java:507)
    [1] at org.apache.camel.main.BaseMainSupport.postProcessCamelContext(BaseMainSupport.java:570)
    [1] at org.apache.camel.main.BaseMainSupport.initCamelContext(BaseMainSupport.java:379)
    [1] at org.apache.camel.k.main.ApplicationRuntime$MainAdapter.doInit(ApplicationRuntime.java:197)
    [1] at org.apache.camel.support.service.BaseService.init(BaseService.java:83)
    [1] ... 3 more" I have already specified MyProcessor as a property to kamel CLI: "kamel run --property camel.beans.myProcessor=#class:MyProcessor"
    1 reply
    Gheorghe-Teodor Bercea
    @doru1004
    Unrelated to the previous question, when I add a dependency on a GitHub repo using "-d github:user/repo" how can I control the version of the project that is being used? Can I pass a commit ID ?
    1 reply
    Ari Salonen
    @arsalone_twitter
    Is there a list of features what are included in Camel(SpringBoot) but not in Camel-K? As I have understood Camel-K is not a replacement for Camel ...