Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lastTransitionTime changes every minute on Failed canary #1696

Open
mochja opened this issue Aug 14, 2024 · 0 comments
Open

lastTransitionTime changes every minute on Failed canary #1696

mochja opened this issue Aug 14, 2024 · 0 comments

Comments

@mochja
Copy link

mochja commented Aug 14, 2024

Describe the bug

Failed Canary is updated every minute with only change to .status.lastTransitionTime.

image

$ 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

  1. Trigger canary deployment
  2. Fail the analysis so that the Canary status transitions to "Failed"
  3. 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant