diff options
| author | Paul Buetow <paul@buetow.org> | 2026-01-15 21:11:46 +0200 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2026-01-15 21:11:46 +0200 |
| commit | 3439dedb1724417f0c0a6ffdf998f7bf0938088c (patch) | |
| tree | 02a9548d10c6c05089efc23f59c6cbb9c4ecd101 | |
| parent | bfa2dbbf0b3e4936012df4f993080a07f5709e48 (diff) | |
chore: auto-promote canary after 1 minute
| -rw-r--r-- | f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml b/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml index 460c285..3f7f576 100644 --- a/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml +++ b/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml @@ -9,16 +9,18 @@ metadata: app: tracing-demo-frontend component: frontend spec: - replicas: 2 + replicas: 3 # Increase to 3 for visible canary (1 old + 1 new + 1 old) strategy: - blueGreen: - # Blue-Green strategy: instant switch with easy rollback - activeSlotSelector: stable - prePromotionAnalysis: - templates: - - templateName: check-health - autoPromotionEnabled: false # Manual promotion for demo - previewReplicaCount: 1 # Run 1 new pod (preview/green) + canary: + # Canary strategy with auto-promotion after 1 minute + steps: + # Step 1: 1 pod (33% traffic) to new version + - setWeight: 33 + # Step 2: Wait 1 minute then auto-promote + - pause: + duration: 1m # Auto-promote after 1 minute + # Step 3: 100% traffic to new version + - setWeight: 100 # Rollout revision history revisionHistoryLimit: 3 |
