You are implementing progressive delivery using Flagger. After a Canary resource is defined, which metric is most critical for Flagger to automatically rollback a deployment during a blue/green shift?
Trap 1: Pod CPU usage
CPU usage is a resource metric, but Flagger typically focuses on service-level objectives like latency and error rates for rollbacks.
Trap 2: Number of running replicas
This relates to deployment scale, not the success of the traffic shift.
Trap 3: Git commit hash parity
Git commit parity is for synchronization, not for behavioral traffic analysis.
- A
Pod CPU usage
Why it fails: CPU usage is a resource metric, but Flagger typically focuses on service-level objectives like latency and error rates for rollbacks.
- B
Number of running replicas
Why it fails: This relates to deployment scale, not the success of the traffic shift.
- C
Request success rate and latency metrics
Flagger specifically monitors service mesh or ingress metrics to decide if a traffic shift is safe.
- D
Git commit hash parity
Why it fails: Git commit parity is for synchronization, not for behavioral traffic analysis.