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

[jira] [Created] (CAMEL-20398) camel-kubernetes - Add option on component to create kubernetes client

Claus Ibsen created CAMEL-20398:
-----------------------------------

             Summary: camel-kubernetes - Add option on component to create kubernetes client
                 Key: CAMEL-20398
                 URL: https://issues.apache.org/jira/browse/CAMEL-20398
             Project: Camel
          Issue Type: Improvement
          Components: camel-kubernetes
            Reporter: Claus Ibsen
             Fix For: 4.x


If you use quarkus
https://quarkus.io/guides/kubernetes-client

then it creates a KubernetesClient bean that camel-kubernetes will use. But if you dont use that, then its more difficult. We can add option on camel-kubernetes to create a default client if none provided.

The default client will automatic detect kubernetes and use it, when you run inside a pod. Otherwise using masterUrl is only for remote connecting from outside into k8s.



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