知识卡片
声明式网关配置按环境保存
网关配置用声明式文件表达路由、认证、用量、限流和监控的期望值。执行器负责将配置变成对目标环境的动作,命令顺序由执行器处理。可把它写成规范扩展、专用网关配置或 Kubernetes 资源,取决于部署选型。版本与环境的对应关系要明确,便于审阅与回滚。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 什么是 APIOps 1.5 Key principles of APIOps with OpenAPI · 查看原书依据
A declarative approach to configuration describes the expected state of a system, such as settings and properties, in a file. When writing a declarative configuration file, you only need to write the property’s value. A software tool or agent is responsible for reading the declarative file and running commands that set up the system to match your desired state.
参考来源
- 位置:《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#p117)
- 结论依据:原文把声明式的目标属性与命令式的步骤序列对照,并解释执行器的职责。
- 原始内容:A declarative approach to configuration describes the expected state of a system, such as settings and properties, in a file. When writing a declarative configuration file, you only need to write the property’s value. A software tool or agent is responsible for reading the declarative file and running commands that set up the system to match your desired state.