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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to