lastTransitionTime changes every minute on Failed canary
mochja opened this issue · 0 comments
mochja commented
Describe the bug
Failed Canary is updated every minute with only change to .status.lastTransitionTime
.
$ kubectl get canaries foo --watch
NAME STATUS WEIGHT LASTTRANSITIONTIME
foo Failed 0 2024-08-14T15:51:11Z
foo Failed 0 2024-08-14T15:52:11Z
foo Failed 0 2024-08-14T15:53:11Z
foo Failed 0 2024-08-14T15:54:11Z
foo Failed 0 2024-08-14T15:55:11Z
foo Failed 0 2024-08-14T15:56:11Z
foo Failed 0 2024-08-14T15:57:11Z
foo Failed 0 2024-08-14T15:58:11Z
foo Failed 0 2024-08-14T15:59:11Z
To Reproduce
- Trigger canary deployment
- Fail the analysis so that the Canary status transitions to "Failed"
- Observe change in in
.status.lastTransitionTime
after 2 minutes
Expected behavior
.status.lastTransitionTime
is updated only during a transition.
Additional context
- Flagger version: 1.37.0
- Kubernetes version: 1.29
- Service Mesh provider: istio
- Ingress provider: istio