知识卡片

操作参考卡 · 2313.e.5.f.10.b.3.i.2.e.1.a.2 · 生成模型:未记录

网关配置单列或嵌入契约

理解等级:中级

Kong 示例以独立声明文件描述后端服务和路由,先用 decK 校验再同步。Kusk 示例将上游配置放进 OpenAPI 的 x-kusk 扩展,从构建后注册表的指定契约版本读入。选择承载方式时应保留清楚的环境来源,并用部署后检查确认路由和契约都生效。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 09 章 API 制品的构建与配置部署》(9.4.5 Deploying in your example pipeline;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-9.xhtml#p249) - 结论依据:原文介绍 Kusk 能读取 OpenAPI 内的配置,Kong 示例用独立状态文件作对照。 - 原始内容:Kusk is an open source API gateway that supports embedding API configuration in the OpenAPI definition file. It’s built on top of a high-performance proxy called Envoy. Kusk is deployed in a Kubernetes cluster. For this example, you’ll deploy Kusk in a Kubernetes cluster.