← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 7245.n.1.a · 生成模型:未记录

控制循环收敛期望状态

理解等级:中级

清单应用后,spec 表示所求状态,status 表示观察到的当前状态。控制器反复观察并采取行动,例如推动缺失副本补齐。查看实际状态可以验证清单有没有落地。这个调和过程也是 GitOps 使用声明配置的基础。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Docker 与 Kubernetes E.4 Introducing Kubernetes · 查看原书依据

      I mentioned that the control manager runs controllers. A controller executes a nonterminating control loop that watches the shared state of a cluster object and makes changes to move the object’s current state to match the desired state, as illustrated in figure E.4. Each object has a spec field that defines its desired state and a status field that describes

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《附录 E Docker 与 Kubernetes》(E.4 Introducing Kubernetes;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/appendix-e.xhtml) - 结论依据:附录明确区分 spec 和 status,并给出控制循环趋近期望状态的机制。 - 原始内容:I mentioned that the control manager runs controllers. A controller executes a nonterminating control loop that watches the shared state of a cluster object and makes changes to move the object’s current state to match the desired state, as illustrated in figure E.4. Each object has a spec field that defines its desired state and a status field that describes