Replies: 1 comment
-
Explicit health checks raise encapsulation issue , IMO. It is establish strong coupling between kustomization content and it gotk activation resource Kustomization. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It may be the case sometimes that one of your health checks is failing, and you have identified that the issue is low impact, so you don't want the health check to stop the progress of the deployment, so you want the
Ready
condition to not be markedFalse
because of the failure. However, rather than turning off the health check you may want to leave it for observability in order to debug the failure going forward. In this case it would be useful to mark the health check as ignored. This would be similar to the helm test ignore functionality in the helm-controller. It would be useful to separately configure whether to ignore Failed vs InProgress status.API proposal:
Then all health checks (including ignored ones) can be exposed via a new status condition e.g.
Healthy
, while theReady
condition will only be False upon non-ignored health check failures. TheHealthy
condition could potentially still be kept up to date even if the kustomization issuspend
ed.If #324 is implemented, there would need to be a way to specify the default health checks for resources not explicitly included in the list. For example:
Check all resources, ignore specific failure:
Wait for a single resource:
Ignore all failed and in progress:
Beta Was this translation helpful? Give feedback.
All reactions