Should Stage health evaluated be a ERROR in the kargo-controller? #5024
Replies: 2 comments 2 replies
-
|
It's been the case for some time that if Kargo doesn't know how to check on the Stage's health in some way, it treats the health as Unkown. Without Argo CD in the picture, there really is no way to know. It was fairly recently that we began treating Unkown health as an error under some specific circumstances. If it was Unkown and unknowable, it was not considered an error. It it was Unkown, but knowable, (i.e. we just failed to conclusively make a determination) we treat it as an error because that gives us automatic retries with a progressive backoff for free. I think the problem here is that we failed to treat the case you're describing as one where health is unknowable and therefor not an error. I will create an issue for this. |
Beta Was this translation helpful? Give feedback.
-
|
Re-opening this discussion. Explained in detail here: #5045 (comment)
@nissessenap there must have been some other issue at work. If you're still experiencing this problem, could you please examine the Stage's status to find more details about why health is unknown? It shouldn't be unknown without a detailed reason accompanying it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi
Once again, thanks for a great project.
I'm not enabling the ArgoCD integration with Kargo, mostly due to I have environments that are air-gapped, so I can't reach my ArgoCD instances. So instead I just see Kargo as a GitOps tools.
The kargo-controller shows me lots of errors like this:
I assume it is since I don't use the argocd-update feature.
https://docs.kargo.io/user-guide/reference-docs/promotion-steps/argocd-update/#health-checks
In my this should be an info, or even if the ArgoCD feature isn't enabled, it should only be debug.
Happy to create a PR around this if you agree.
Beta Was this translation helpful? Give feedback.
All reactions