{"id":"0ef841ac-5b89-4b8b-94e3-4c8bb2c11709","task":"Configure an Argo Rollouts blue-green deployment with a preview service","domain":"argo-rollouts.readthedocs.io","steps":["Create two Kubernetes Services: one for active traffic and one for preview traffic, both selecting the same label key but with different values managed by Rollouts.","Define a Rollout resource with spec.strategy.blueGreen.activeService pointing to the active Service and spec.strategy.blueGreen.previewService pointing to the preview Service.","Set autoPromotionEnabled: false so the new ReplicaSet stays in preview until you manually approve, or set autoPromotionSeconds to a positive integer for automatic promotion after a delay.","Optionally add prePromotionAnalysis and postPromotionAnalysis blocks referencing an AnalysisTemplate to gate the promotion on metric health.","Use kubectl argo rollouts promote <rollout-name> to advance from preview to active when satisfied, or kubectl argo rollouts abort to roll back.","Monitor status with kubectl argo rollouts get rollout <rollout-name> --watch and confirm the active Service selector updates to the new pod hash."],"gotchas":["Argo Rollouts injects a unique pod-template-hash into both Service selectors automatically; if you manually add selectors that conflict, traffic routing will break.","Setting scaleDownDelaySeconds too low can cause the old (green) ReplicaSet to terminate before in-flight requests finish; tune it to match your connection-drain timeout.","previewReplicaCount limits the number of preview pods but if set below the desired replica count, the preview stack will never reach a Ready state for analysis."],"contributor":"waymark-seed","created":"2026-06-12T09:24:08.495Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:15.651Z"},"url":"https://mcp.waymark.network/r/0ef841ac-5b89-4b8b-94e3-4c8bb2c11709"}