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

Storage Alerts: Missing cluster label #885

Merged
merged 6 commits into from
Dec 11, 2023
Merged

Storage Alerts: Missing cluster label #885

merged 6 commits into from
Dec 11, 2023

Conversation

jkroepke
Copy link
Contributor

No description provided.

@jkroepke
Copy link
Contributor Author

@povilasv Why is {{ $labels.%(clusterLabel)s }} an issue here, but here

description: 'Cluster {{ $labels.%(clusterLabel)s }} has overcommitted CPU resource requests for Pods by {{ $value }} CPU shares and cannot tolerate node failure.' % $._config,

is it fine?

@povilasv
Copy link
Contributor

I suggest add some cluster label in tests,

@povilasv Why is {{ $labels.%(clusterLabel)s }} an issue here, but here

description: 'Cluster {{ $labels.%(clusterLabel)s }} has overcommitted CPU resource requests for Pods by {{ $value }} CPU shares and cannot tolerate node failure.' % $._config,

is it fine?

I think due to :

          if $._config.showMultiCluster then {

and tests evaluate different path

Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
@jkroepke
Copy link
Contributor Author

Looks good now

tests.yaml Outdated Show resolved Hide resolved
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
Signed-off-by: Jan-Otto Kröpke <mail@jkroepke.de>
@povilasv povilasv merged commit c72ac03 into kubernetes-monitoring:master Dec 11, 2023
6 checks passed
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