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 2022/06/07 06:20:01 UTC

[GitHub] [apisix-ingress-controller] jackey20200402 opened a new issue, #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

jackey20200402 opened a new issue, #1070:
URL: https://github.com/apache/apisix-ingress-controller/issues/1070

   ### Issue description
   
   我在k8s集群中部署了两套apisix,分别关联阿里云的内外网负载均衡。我在使用yaml创建upstream、route时遇到问题:我无法指定这个upstream 和 route 是属于哪套apisix,请问这种情况应该怎么解决呢?
   
   ### Environment
   
   - your apisix-ingress-controller version (output of apisix-ingress-controller version --long): 1.4.0
   - your Kubernetes cluster version (output of kubectl version):  1.20.11-aliyun.1
   - if you run apisix-ingress-controller in Bare-metal environment, also show your OS version (uname -a):
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] closed issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed issue #1070: request help:  在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route
URL: https://github.com/apache/apisix-ingress-controller/issues/1070


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   If you have multiple APISIX clusters, then you also need multiple APISIX Ingress controllers to connect to these clusters respectively.
   
   In APISIX Ingress configuration, `namespace_selector` can be configured to control the namespace to be processed by APISIX Ingress controller.
   https://github.com/apache/apisix-ingress-controller/blob/96dd07f847bff9d425b223e0bcac0eea2efe6316/conf/config-default.yaml#L58-L60
   
   Or you can differentiate by `ingress_class`  https://github.com/apache/apisix-ingress-controller/blob/96dd07f847bff9d425b223e0bcac0eea2efe6316/conf/config-default.yaml#L64-L67


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1070:
URL: https://github.com/apache/apisix-ingress-controller/issues/1070#issuecomment-1270993210

   This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   you can use annotations to do this. ref:
   
   https://github.com/apache/apisix-ingress-controller/blob/2af39c949883dc831aa64be075aa7cc0edd2dd8a/test/e2e/suite-annotations/redirect.go#L164-L166


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] jackey20200402 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   ingress_class的配置有参考例子吗?我尝试两个apisix集群定义不同ingress_class后再通过metadata.annotations.kubernetes.io/ingress.class 配置upstream、route。发现还是两个apisix集群都同步了一样的upsream、route


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] jackey20200402 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   那么如果我同一个ns下面的两个服务需要分别作为两套apisix集群的upstream,这个又该如何处理呢?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] github-actions[bot] commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #1070:
URL: https://github.com/apache/apisix-ingress-controller/issues/1070#issuecomment-1238807789

   This issue has been marked as stale due to 90 days of inactivity. It will be closed in 30 days if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the dev@apisix.apache.org list. Thank you for your contributions.


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   you can differentiate by ingress_class


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] tao12345666333 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   ingress_class can only be used for Ingress resources, not for custom resources


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] jackey20200402 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   好的,谢谢。我在官方文档找到了使用的例子:https://apisix.apache.org/zh/docs/ingress-controller/practices/proxy-the-httpbin-service-with-ingress


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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


[GitHub] [apisix-ingress-controller] jackey20200402 commented on issue #1070: request help: 在同一个k8s集群中如何分别给apisix内网、apisix外网集群创建upstream、route

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

   使用ingress的方式如何配置apisix插件?


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org

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