zhaomingcheng01 commented on issue #11791: URL: https://github.com/apache/apisix/issues/11791#issuecomment-2513374799
 首先apisix-ingress-controller会watch k8s的那些api,然后写入到configmap的apisix.conf,这样能保证apisix.conf和k8s是一致的,目前的话是调用的apisix的api改成写入到configmap的apisix.conf中,然后目前官网不是已经提供了如上图中的,文件中的路由规则conf/apisix.yaml在 APISIX 节点服务启动后会立即加载到内存中。并且每隔一段时间(默认1秒),configmap的热更新问题可以通过ConfigMap-Reload Sidecar是一种非常流行的ConfigMap热更新方法 完成 第二种就是多个pod都挂载同一个pvc,然后apisix-ingress-controller写入,apisix节点读取 这样维护成本最高的etcd集群就可以拿掉了 目前的问题就是我们的网关节点压根就不能动,网关节点升级就会停服,滚动都滚动不了 -- 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]
