summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-15 21:07:41 +0200
committerPaul Buetow <paul@buetow.org>2026-01-15 21:07:41 +0200
commitbfa2dbbf0b3e4936012df4f993080a07f5709e48 (patch)
tree9156f4f18eee19f68d839f52c7dde4d177df2926
parent51c36476b069a6cba42dfa7f7be0e0001c42a84f (diff)
chore: switch from canary to blue-green strategy for clearer demo
-rw-r--r--f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml24
1 files changed, 8 insertions, 16 deletions
diff --git a/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml b/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml
index 50d0029..460c285 100644
--- a/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml
+++ b/f3s/tracing-demo/helm-chart/templates/frontend-rollout.yaml
@@ -11,22 +11,14 @@ metadata:
spec:
replicas: 2
strategy:
- canary:
- # Canary strategy configuration
- steps:
- # Step 1: Send 50% of traffic to new version
- - setWeight: 50
- # Step 2: Wait 1 minute before proceeding
- - pause:
- duration: 1m
- # Step 3: Promote to 100% traffic
- - setWeight: 100
-
- # Traffic management via service weight
- trafficRouting:
- # Simple service-based traffic splitting (native K8s round-robin)
- # For more advanced traffic splitting, install Istio or Linkerd
- {}
+ 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)
# Rollout revision history
revisionHistoryLimit: 3