You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/12/26 15:32:53 UTC

[GitHub] [apisix-ingress-controller] Miss-you opened a new issue #139: The ingress controller does not support listening to specified namespaces

Miss-you opened a new issue #139:
URL: https://github.com/apache/apisix-ingress-controller/issues/139


   The ingress controller listens to all namespaces by default


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] gxthrj commented on issue #139: The ingress controller does not support listening to specified namespaces

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #139:
URL: https://github.com/apache/apisix-ingress-controller/issues/139#issuecomment-751370200


   The ingress controller does watched all namespaces. we can support  black and white list to limit the range of namespaces.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] gxthrj commented on issue #139: The ingress controller does not support listening to specified namespaces

Posted by GitBox <gi...@apache.org>.
gxthrj commented on issue #139:
URL: https://github.com/apache/apisix-ingress-controller/issues/139#issuecomment-753766602


   @Miss-you Do you have time to contribute ?


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers closed issue #139: The ingress controller does not support listening to specified namespaces

Posted by GitBox <gi...@apache.org>.
tokers closed issue #139:
URL: https://github.com/apache/apisix-ingress-controller/issues/139


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #139: The ingress controller does not support listening to specified namespaces

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #139:
URL: https://github.com/apache/apisix-ingress-controller/issues/139#issuecomment-752333608


   We need the capable to configure the watched namespaces from command line options and configuration file.
   
   For command line options, we can add a `--watch-namespace` option.
   
   ```
   apisix-ingress-controller ingress --watch-namespace bookinfo --watch-namespace default --watch-namespace apisix-gw
   ```
   
   For configuration file, add a `watch_namespaces` array.
   
   ```yaml
   kubernetes:
     watch_namespaces:
     - bookinfo
     - default
     - apisix-gw
   ```
    `SharedIndexInformerFactory` can be created with only one namespace, it's not so strong to satisfy some complex deployments. so we may need to watch resources in all namespaces, but drop some of them if the namespace is not desired when get events from informers. Say the route, we should add the namespace filtering here:
   
   ![image](https://user-images.githubusercontent.com/10428333/103332055-8ff11c00-4aa3-11eb-8bcf-decf5a5ad63f.png)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [apisix-ingress-controller] tokers commented on issue #139: The ingress controller does not support listening to specified namespaces

Posted by GitBox <gi...@apache.org>.
tokers commented on issue #139:
URL: https://github.com/apache/apisix-ingress-controller/issues/139#issuecomment-757989458


   Solved by #162 .


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org