-
Notifications
You must be signed in to change notification settings - Fork 160
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
Cilium clustermesh alerts #1347
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @balous, thanks for another contribution to this mixin, and apologies for the delay in getting a response :)
We've recently been working on moving over our linting from Drone CI to Github Actions and it appears a few steps are no longer included, so I've manually ran the linting for this change which highlighted a few issues that need to be addressed.
If you want to reproduce, you can install mixtool yourself and run mixtool lint mixin.libsonnet
mixtool lint mixin.libsonnet
[alert-severity-rule] Alert 'CiliumAgentRemoteClusterNotReady' severity must be 'warning', 'critical' or 'info', is currently 'high'
[alert-description-missing-rule] Alert 'CiliumAgentRemoteClusterNotReady' must have annotation 'description'
[alert-summary-templating] Alert CiliumAgentRemoteClusterNotReady annotation 'summary' must not use templates
[alert-summary-style] Alert CiliumAgentRemoteClusterNotReady annotation 'summary' must start with capital letter and end with period, is currently 'Agent can't mesh with {{$labels.target_cluster}}'
[alert-severity-rule] Alert 'CiliumAgentRemoteClusterFailing' severity must be 'warning', 'critical' or 'info', is currently 'high'
[alert-description-missing-rule] Alert 'CiliumAgentRemoteClusterFailing' must have annotation 'description'
[alert-summary-templating] Alert CiliumAgentRemoteClusterFailing annotation 'summary' must not use templates
[alert-summary-style] Alert CiliumAgentRemoteClusterFailing annotation 'summary' must start with capital letter and end with period, is currently 'Agent fails to mesh with {{$labels.target_cluster}}'
[alert-severity-rule] Alert 'CiliumKvstoremeshRemoteClusterNotReady' severity must be 'warning', 'critical' or 'info', is currently 'high'
[alert-description-missing-rule] Alert 'CiliumKvstoremeshRemoteClusterNotReady' must have annotation 'description'
[alert-summary-templating] Alert CiliumKvstoremeshRemoteClusterNotReady annotation 'summary' must not use templates
[alert-summary-style] Alert CiliumKvstoremeshRemoteClusterNotReady annotation 'summary' must start with capital letter and end with period, is currently 'Kvstoremesh can't mesh with {{$labels.target_cluster}}'
[alert-severity-rule] Alert 'CiliumKvstoremeshRemoteClusterFailing' severity must be 'warning', 'critical' or 'info', is currently 'high'
[alert-description-missing-rule] Alert 'CiliumKvstoremeshRemoteClusterFailing' must have annotation 'description'
[alert-summary-templating] Alert CiliumKvstoremeshRemoteClusterFailing annotation 'summary' must not use templates
[alert-summary-style] Alert CiliumKvstoremeshRemoteClusterFailing annotation 'summary' must start with capital letter and end with period, is currently 'Kvstoremesh fails to mesh with {{$labels.target_cluster}}'
[alert-severity-rule] Alert 'CiliumKvstoremeshErrors' severity must be 'warning', 'critical' or 'info', is currently 'high'
[alert-description-missing-rule] Alert 'CiliumKvstoremeshErrors' must have annotation 'description'
[alert-summary-templating] Alert CiliumKvstoremeshErrors annotation 'summary' must not use templates
[alert-summary-style] Alert CiliumKvstoremeshErrors annotation 'summary' must start with capital letter and end with period, is currently 'Kvstoremesh fails to mesh with {{$labels.target_cluster}}'
2024/10/22 13:04:14 failed to lint the file mixin.libsonnet: 20 lint errors found
4a5cb40
to
f44fd44
Compare
Fixed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks for making the changes!
This PR adds two groups of rules: