← 返回刚才阅读的位置

知识卡片

结构图卡 · 2313.e.5.f.10.b.3.i.2.e.1.a.1 · 生成模型:未记录

持续协调修复网关漂移

理解等级:中级

部署代理从环境仓库读取期望配置,与网关和服务的实际状态比较。差异可能来自误改运行设置,也可能来自批准后的正常 Git 提交。出现差异时代理应用经过审批的期望状态并可告警。需要撤销配置时,将 Git 里的期望状态恢复到合适的版本,再由同一个协调环发布。

结构图:

flowchart TD
    A[环境仓库的期望状态] --> C{与实际配置相同?}
    B[读取运行配置] --> C
    C -->|相同| E[等待下一次比较]
    C -->|偏差| D[代理应用期望状态]
    D --> B
这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 什么是 APIOps 1.5 Key principles of APIOps with OpenAPI · 查看原书依据

      You should have software agents that continuously compare the desired state of your API gateway configuration as stored in your environment repository with the actual state of the configuration in each environment. Drift can occur if the actual system state is changed directly (e.g., through the API gateway admin UI) or because the desired system state in the environment repository is intentionally changed.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 01 章 什么是 APIOps》(1.5 Key principles of APIOps with OpenAPI;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-1.xhtml#p121) - 结论依据:原文说明两个方向都可能造成偏差,但协调始终以仓库中的期望配置为准。 - 原始内容:You should have software agents that continuously compare the desired state of your API gateway configuration as stored in your environment repository with the actual state of the configuration in each environment. Drift can occur if the actual system state is changed directly (e.g., through the API gateway admin UI) or because the desired system state in the environment repository is intentionally changed.