You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "jinjianming (via GitHub)" <gi...@apache.org> on 2023/02/27 09:50:31 UTC

[GitHub] [apisix] jinjianming commented on issue #8947: help request: Data-plane cannot dynamically modify the upstreams address. You need to execute apisix reload to get the latest address

jinjianming commented on issue #8947:
URL: https://github.com/apache/apisix/issues/8947#issuecomment-1446021822

   > 我们需要一些信息来进行故障排除:
   > 
   > 1. 您是如何配置 Route、Upstream 和其他对象的?
   > 2. 你用过K8s的服务发现模块吗?
   > 3. APISIX 数据平面的 DNS 解析器是什么?
   
   ###1.我安装了ingress-controller、通过ApisixRoute发布的路由规则,backends是SVC名称自动生成的Upstream;
   我通过这份ApisixRoute文件,在非解耦架构下是能够正常更新地址;
   ```
   apiVersion: apisix.apache.org/v2
   kind: ApisixRoute
   metadata:
     name: js-design-web
   spec:
     http:
     - name: rule1
       match:
         hosts:
         - cjyoumen.com
         paths:
         - /*
       backends:
          - serviceName: js-design-nginx
            servicePort: 80
   ```
   ###2.我在2.15版本中使用过;
   ```
   discovery:
     enabled: true
     registry:
       kubernetes: "{ }"
   ```
   ###3.dns使用coredns
   ```
         dns_resolver:
           - coredns.kube-system.svc.cluster.local
         dns_resolver_valid: 30
         resolver_timeout: 5
   ```


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