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

KubeVersionMismatch for multiple clusters #765

Closed
wants to merge 2 commits into from

Conversation

blaskoa
Copy link

@blaskoa blaskoa commented May 11, 2022

I noticed that the alter was fired when I added a new cluster with different kube version even when each cluster had consistent versions within itself.

The alert expression was modified to fire only when there are multiple versions of kube components within the same cluster.

This changes the meaning of the alert a bit, as before the alert was fired if any cluster had a different kube component version and after this change the alert won't fire as long as each cluster is consistent within itself.

Groups the versions by clusters so that we count distinct versions within a cluster and filter the clusters with more then one version. Then we alert based on number of such clusters
Updated description and summary
@arajkumar
Copy link
Contributor

Hey, thanks for the patch. I see this PR overlaps a bit with #766.

@blaskoa
Copy link
Author

blaskoa commented Jun 1, 2022

I see that #766 was already merged and the general idea of the change is the same. Closing this PR

@blaskoa blaskoa closed this Jun 1, 2022
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

Successfully merging this pull request may close these issues.

2 participants