Canary Release

Canary Release

📖 定义

Canary Release is a gradual release strategy that deploys new versions to a small subset of users first, then gradually expands the scope after observing the running status. It reduces release risks and supports quick rollback.

🔗 在 Higress 中的应用

Higress supports multi-dimensional canary routing based on headers, cookies, weights, etc., enabling end-to-end canary releases. AI scenarios support multi-model canary switching.

💡 示例

  • 1 First route 5% of traffic to the new version for observation
  • 2 Perform canary splitting based on user ID suffix
  • 3 New models are first opened for testing to internal users

⚙️ 配置示例

YAML
# Higress Canary Routing Configuration
route:
  - match:
      headers:
        x-canary: ["true"]
    destination:
      host: service-v2
      weight: 100

🔄 相关术语

常见问题

Canary Release 是什么?
Canary Release is a gradual release strategy that deploys new versions to a small subset of users first, then gradually expands the scope after observing the running status. It reduces release risks and supports quick rollback.
Higress 如何支持 Canary Release?
Higress supports multi-dimensional canary routing based on headers, cookies, weights, etc., enabling end-to-end canary releases. AI scenarios support multi-model canary switching.

深入了解 Higress

探索更多 Higress 的功能和最佳实践