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

Check the number of readyReplicas before sending a notification #343

Open
ferwasy opened this issue Oct 18, 2024 · 0 comments
Open

Check the number of readyReplicas before sending a notification #343

ferwasy opened this issue Oct 18, 2024 · 0 comments

Comments

@ferwasy
Copy link

ferwasy commented Oct 18, 2024

Hi all. I've been using ArgoCD Notifications for a while and there is a situation I would like to share with you. When enabled the "degraded" notifications, we started getting them on situations where I wasn't expecting it. For example: when there are non ready pods because the readiness probe temporary failed or when one k8s node is being replaced and the number of healthy replicas is below the desired number. I was thinking about adding a condition like "if the number of ready replicas is greater than zero and lesser than the desired number DO NOT trigger the notification". Is there a way I can check for the ready replicas?
Thanks in advance.

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