You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/02/13 00:47:00 UTC

[jira] [Commented] (KARAF-7145) Kubernetes discovery service only discovers pods in default namespace

    [ https://issues.apache.org/jira/browse/KARAF-7145?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17687656#comment-17687656 ] 

ASF GitHub Bot commented on KARAF-7145:
---------------------------------------

CMoH commented on PR #86:
URL: https://github.com/apache/karaf-cellar/pull/86#issuecomment-1427184913

   I added a kube-client autoconfiguration facility and made this work (avoiding some NPE traps). Also added some docs which I would have found useful while putting the Kubernetes discovery mechanism in use.
   
   Keep me posted if you find this interesting.




> Kubernetes discovery service only discovers pods in default namespace
> ---------------------------------------------------------------------
>
>                 Key: KARAF-7145
>                 URL: https://issues.apache.org/jira/browse/KARAF-7145
>             Project: Karaf
>          Issue Type: Improvement
>          Components: cellar
>    Affects Versions: 4.3.1
>            Reporter: Abhayjit Kharbanda
>            Assignee: Jean-Baptiste Onofré
>            Priority: Major
>
> The cellar kubernetes discovery service only discovers pods in default namespace . For enterprise we have namespace for all deployments thus the search returns no pods. 
> [https://github.com/apache/karaf-cellar/blob/2a44d1a53b15c23781bcb4a49a27ddfeda3d401e/kubernetes/src/main/java/org/apache/karaf/cellar/kubernetes/KubernetesDiscoveryService.java#L122]
> Could we add support for providing namespace or atleast search for pods in all namespaces



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