Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    pjcubero
    @pjcubero

    as per the issue, yes the fix will be present in the camel-k v1.1.1

    Ok, clear now... sorry by my confussion...

    Andrew Mak
    @makandre_gitlab
    What is the proper way to specify the number of replicas when running an integration with kamel run?
    4 replies
    Martin Nigbur
    @anerathil

    Hey guys, got a question regarding camel-k 1.1.0 and knative 0.17.
    I deployed a KafkaChannel:

      values:
      - resources:
        - apiVersion: messaging.knative.dev/v1beta1
          kind: KafkaChannel
          metadata:
            name: events
            namespace: data-platform-gdelt-system
            annotations:
              eventing.knative.dev/scope: namespace
          spec:
            numPartitions: 3
            replicationFactor: 1

    ... as well as a simple integration:

      from("timer:start?period=1000")
        .setBody(constant("test"))
        .process(exchange -> {
          final var inboundMessage = exchange.getIn();
          final var message = exchange.getMessage();
    
          /*
          ...
          */
    
          message.getHeaders().clear();
    
          message.setHeader("CE-ID", "eventID");
          message.setHeader("CE-Source", "/2ac27a78-8b0d-4633-b1c7-8182d2df02f8/data-platform-data-system/gdelt");
          message.setHeader("CE-SpecVersion", "1.0");
          message.setHeader("CE-Type", "com.company.ResourceRequested");
          message.setHeader("CE-Time", "eventGenerationTimestamp");
          message.setHeader("CE-Subject", "requestIRI");
          message.setHeader("CE-DataContentType", "application/ld+json");
          message.setHeader("CE-System", "gdelt2");
    
        })
      .to("knative:channel/events");

    Result is: The integration is throwing 404's all the time:
    org.apache.camel.CamelException: HTTP operation failed invoking http://events-kn-channel.data-platform-gdelt-system.svc.cluster.local:80/ with statusCode: 404, statusMessage: Not Found

    Also the kafka-ch-dispatcher is throwing errors:
    E0901 13:31:48.392144 1 leaderelection.go:331] error retrieving resource lock knative-eventing/kafkachannel-dispatcher.knative.dev-eventing-contrib-kafka-channel-pkg-reconciler-dispatcher.reconciler.00-of-01: leases.coordination.k8s.io "kafkachannel-dispatcher.knative .dev-eventing-contrib-kafka-channel-pkg-reconciler-dispatcher.reconciler.00-of-01" is forbidden: User "system:serviceaccount:data-platform-gdelt-system:kafka-ch-dispatcher" cannot get resource "leases" in API group "coordination.k8s.io" in the namespace "knative-eventing"

    As i'am not 100% familiar with K8s i'm not totally clear about how to solve that. Is this related to knative 0.17?
    Would be nice if you guys could help me :)

    8 replies
    Corey
    @c1505
    How do we go about troubleshooting an integration when no pods spin up ? I am trying to get anything to work with the jira component and all I get is that there is an error when I look using kamel get or kamel describe integration.
    Luca Burgazzoli
    @lburgazzoli
    do you mean you don't have any pod running because it fails or no pods are created at all ?
    if no pods, then you'd need to check the logs of the operator
    Corey
    @c1505
    no pods are created at all. thanks . checked the operator and it looks like there is a dependency resolution problem.
    [ERROR] Failed to execute goal on project camel-k-integration: Could not resolve dependencies for project org.apache.camel.k.integration:camel-k-integration:jar:1.1.0: The following artifacts could not be resolved: com.atlassian.jira:jira-rest-java-client-api:jar:5.1.6, com.atlassian.jira:jira-rest-java-client-core:jar:5.1.6: Failure to find com.atlassian.jira:jira-rest-java-client-api:jar:5.1.6 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]
    Luca Burgazzoli
    @lburgazzoli
    if you are using jira, it may be required to add an additional repo I think
    because the library used by the component is hosted on the atalassian maven repo
    Corey
    @c1505
    thanks. Is there somewhere in the docs that I should have seen that or a way that I would know without asking the question ? Just trying to figure out how to do things as I look at other integrations too. I am looking at this component doc https://camel.apache.org/components/latest/jira-component.html .
    Luca Burgazzoli
    @lburgazzoli
    mh, we should probably add a note to the doc
    Can you confirm that by adding the atlassian repo it does work ? https://github.com/apache/camel/blob/259ad4f098438588ee2d265a9db20d539f326b75/pom.xml#L151-L161
    Corey
    @c1505
    How do I do that? I see that I can specify dependencies when running the integration. Unsure how to add a different source with this.
    you can add a list of repositories you want to include upon installation or by editing the config map that holds the maven settings
    Andrew Mak
    @makandre_gitlab
    Hi, when I have an integration consuming from a knative channel, and there's multiple pods of that integration, what's the expected behaviour? Can they get messages in round robin fashion? Right now it seems one pod always get all the messages
    1 reply
    pjcubero
    @pjcubero
    Hi, I have some integrations in camel-k, over minikube, one question, I have deployed also ISTIO, is there any way to see the ISTIO dashboard?
    4 replies
    Martin Nigbur
    @anerathil
    Hey, is there already a release date for 1.1.1? :)
    pjcubero
    @pjcubero
    Hi, I have some questions about Minikube, do you know if there is some room about this matter?
    Luca Burgazzoli
    @lburgazzoli
    @pjcubero https://minikube.sigs.k8s.io/docs/ there's a dedicated channel on the official kubernetes slack
    pjcubero
    @pjcubero

    @pjcubero https://minikube.sigs.k8s.io/docs/ there's a dedicated channel on the official kubernetes slack

    I have found a google group, is this what you tell me?

    Luca Burgazzoli
    @lburgazzoli
    there's both a google group and a slack channel, see https://minikube.sigs.k8s.io/community/
    pjcubero
    @pjcubero

    there's both a google group and a slack channel, see https://minikube.sigs.k8s.io/community/

    Do you know how can I get one invitation to belong to the chat group?

    Luca Burgazzoli
    @lburgazzoli
    Jawad Ahmad
    @jawwad124_gitlab
    Guys, can we run Camel K on AWS EKS service ?
    I am trying to find out but unable to see any concrete information or guideline on Camel K docs.
    I need to a run a POC to develop a Salesforce connector application, I already have a working prototype with ECS Fargate and Spring Boot.
    But i am not sure how this will work with Camel K and EKS.
    Jawad Ahmad
    @jawwad124_gitlab
    Anyone ?
    coricko
    @coricko
    @jawwad124_gitlab, yeah you can. Camel K cannot currently talk to ECR, but if you follow the instructions for configuring a different registry (I did it with Docker Hub), then that'll work
    Jawad Ahmad
    @jawwad124_gitlab
    Thanks @coricko , I will give it a try with Github packages.
    I am hoping that it will work with the private docker registry If i will have setup later.
    Jawad Ahmad
    @jawwad124_gitlab

    Failed to execute goal on project camel-k-integration: Could not resolve dependencies for project org.apache.camel.k.integration:camel-k-integration:jar:1.1.0: Failed to collect dependencies at com.github.jawad-r3

    I am trying to fetch the maven dependency from jitpack. I have created the config map with settings.xml of my jitpack user and from my local machine i am able to fetch the dependency. But its giving authorization error while running the kamel integration.

    I have created config map using same settings file from my environment.
    Jawad Ahmad
    @jawwad124_gitlab

    @lburgazzoli and @ducst2 You guys fixed this sort of issue to include custom libs from nexus. Can you please let me know if i am missing anything ?

    With in my configmap, i am able to see the settings file with server tag.

    41 replies
    Martin Nigbur
    @anerathil

    hey guys,

    got a question regarding kaniko and istio:
    as soon as we enabled the istio sidecar injection, kaniko failed with

    error checking push permissions ... connect: connection refused

    when we disable the sidecar injection, everything is working.
    we saw that the kaniko container starts before the istio-proxy is ready.

    any ideas?

    pjcubero
    @pjcubero
    Hi, can anyone explain me how can I expose one ksvc to outside? I need to access from my laptop to one integration deployed in Minikube in one server...
    Mark Nuttall
    @mnuttall
    Hello, I'm trying to build a Camel K integration that uses io.confluent.kafka classes. To build these with maven I need to specify a separate <repository> in my pom.xml. https://github.com/openshift-integration/camel-k-example-event-streaming suggests that there are ways of feeding maven config to kamel run but doesn't show how to add new repositories. Please can I ask for pointers to the documentation on configuring maven for kamel run ?
    Martin Nigbur
    @anerathil

    hey guys,

    got a question regarding kaniko and istio:
    as soon as we enabled the istio sidecar injection, kaniko failed with

    error checking push permissions ... connect: connection refused

    when we disable the sidecar injection, everything is working.
    we saw that the kaniko container starts before the istio-proxy is ready.

    any ideas?

    @lburgazzoli @nicolaferraro can you guys give me some hints?

    1 reply
    Luca Burgazzoli
    @lburgazzoli
    hello, please note that this room is in maintenance mode as the official camel chat has been moved to https://camel.zulipchat.com
    Mark Nuttall
    @mnuttall
    @lburgazzoli tyvm
    Luca Burgazzoli
    @lburgazzoli
    HEADS UP: the channel for discussing camel-k has been moved to https://camel.zulipchat.com/
    Luca Morandini
    @lmorandini
    Possibly a naive question: how to store Camel-K logs long-term (as in ElasticSearch)?
    Luca Burgazzoli
    @lburgazzoli
    @lmorandini please use https://camel.zulipchat.com
    Yomal de Silva
    @yomal.praveen_gitlab
    is it possible to set hostname resolution for the pod that is being created. Im using calling external endpoint as to("https://domain.com") but getting an error name or service not know
    Luca Burgazzoli
    @lburgazzoli
    @yomal.praveen_gitlab please use https://camel.zulipchat.com, this chat is not more active
    Yomal de Silva
    @yomal.praveen_gitlab
    thanks