lianfulei commented on issue #11679: URL: https://github.com/apache/apisix/issues/11679#issuecomment-2519265866
> _**免责声明**:我仍在学习,可能会遗漏一些东西,所以如果比我更有经验的人想补充或指出不准确的内容,请随时纠正我_🙂 > > 一般来说,您应该始终通过清单(YAML)以声明方式管理 Kubernetes 资源。 > > 从技术上讲,没有什么可以阻止您尝试从仪表板 UI 创建资源。但是,这将无法正常工作,因为仪表板无法访问创建 Kubernetes 资源所需的 Kuberentes API,例如 ApisixRoute 和 ApisixUpstream。 > > 反之亦然:当您在 Kubernetes 集群中创建或更新 APISIX 时,APISIX Ingress Controller 会检测到 APISIX 特定资源(CRD,如 ApisixRoute、ApisixConsumer、ApisixUpstream 等)以及 APISIX 域中有意义的其他 Kubernetes 资源的更改;然后,它通过 Admin API 将这些更改转换为相应的 APISIX 资源(路由、消费者等),并最终将它们作为键值条目存储在 etcd DB 实例中 - 如果不是在独立模式下。 > > 因此,在 Kubernetes 场景中,APISIX 仪表板可以在只读模式下用作可视化工具,但不应将其用于创建/更新资源,因为这会生成不一致的配置,例如 etcd 实例显示一些资源,但 Kubernetes 集群缺少它们。 谢谢,我经过测试,也测出来了,大致是这样 -- 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]
