iT邦幫忙

0

apigw + blue green 組合技

  • 分享至 

  • xImage
  •  

Sync at : https://hackmd.io/@goish135/sre251123

apigw + blue green 組合技

  1. apigw 用 blue green 進行部署。

為的是什麼? 作為單一入口需比一般app更穩定,採用blue green deploy 取得更高的上線成功率。

如何做到? 使用Argo rollouts 來做到api gateway blue green deploy。

  1. 哪些手法可以做到藍綠部署?

Argo Rollouts 及 API Gateway。

先說API Gateway 如何為各service 做到藍綠部屬!
使用 apisix {traffic split} plugin , 除了藍綠也可做金絲雀部署。
ref: https://apisix.apache.org/zh/docs/apisix/plugins/traffic-split/
How? config & apply
apply 的手法可否直接打個api處理?
或是 standalone / yaml define ?

再講Argo Rollouts

Argo Rollouts 是一個 Kubernetes 的 Progressive Delivery Controller
用來實現 金絲雀部署 (Canary)、藍綠部署 (Blue-Green)、灰度流量控制、自動回滾 / 自動推進 的工具。

Argo Rollouts是 Deployment 的加強版 —— 不是取代 Deployment,而是提供更進階的發布能力。
ref: https://chatgpt.com/share/6922b829-b5f0-8001-a6d8-95709f92afb3


圖片
  熱門推薦
圖片
{{ item.channelVendor }} | {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言