Skip to content

Commit

Permalink
Fix recording rule expression for kubelet status. (#948)
Browse files Browse the repository at this point in the history
Added condition="Ready" label to kube_node_status_condition since we
only check that condition in the errors.
  • Loading branch information
weseven authored Nov 13, 2023
1 parent fe08bb9 commit 665cba4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [2.139.0] - 2023-11-07

### Fixed

- Fix `raw_slo_requests` recording rule expression for kubelet status.

### Added

- Add KEDA alerting rules.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ spec:
record: slo_target

# -- kubelet whole cluster
- expr: "kube_node_status_condition"
- expr: kube_node_status_condition{condition="Ready"}
labels:
class: MEDIUM
area: kaas
Expand Down

0 comments on commit 665cba4

Please sign in to comment.