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

Move KSM alerts from Atlas to Turtles #889

Closed
wants to merge 16 commits into from
Closed
Show file tree
Hide file tree
Changes from 13 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- Change ownership from Atlas to Turtles/Phoenix for all vertical pod autoscaler and kube state metrics related alerts.
- Loki alerts only during working hours
- `PrometheusAgentFailing` does not rely on KSM metrics anymore
- Prometheus-agent inhibition rework, run on the MC
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ spec:
cancel_if_kubelet_down: "true"
cancel_if_outside_working_hours: "true"
severity: page
team: atlas
team: phoenix
topic: observability
- alert: KubeStateMetricsNotRetrievingMetrics
annotations:
Expand Down Expand Up @@ -88,7 +88,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeDaemonSetCreatedMetricMissing
annotations:
Expand All @@ -101,7 +101,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeDeploymentCreatedMetricMissing
annotations:
Expand All @@ -114,7 +114,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeEndpointCreatedMetricMissing
annotations:
Expand All @@ -127,7 +127,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeNamespaceCreatedMetricMissing
annotations:
Expand All @@ -140,7 +140,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeNodeCreatedMetricMissing
annotations:
Expand All @@ -153,7 +153,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubePodCreatedMetricMissing
annotations:
Expand All @@ -166,7 +166,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeReplicaSetCreatedMetricMissing
annotations:
Expand All @@ -179,7 +179,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeSecretCreatedMetricMissing
annotations:
Expand All @@ -192,7 +192,7 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
- alert: KubeServiceCreatedMetricMissing
annotations:
Expand All @@ -205,5 +205,5 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_kube_state_metrics_down: "true"
severity: page
team: atlas
team: phoenix
topic: kubernetes
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ spec:
cancel_if_outside_working_hours: "true"
cancel_if_prometheus_agent_down: "true"
severity: page
team: atlas
team: phoenix
topic: observability
10 changes: 5 additions & 5 deletions test/tests/providers/global/kube-state-metrics.rules.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ tests:
inhibit_kube_state_metrics_down: "true"
cancel_if_prometheus_agent_down: "true"
severity: "page"
team: "atlas"
team: "phoenix"
topic: "observability"
exp_annotations:
description: "KubeStateMetrics () is down."
Expand All @@ -82,7 +82,7 @@ tests:
inhibit_kube_state_metrics_down: "true"
cancel_if_prometheus_agent_down: "true"
severity: "page"
team: "atlas"
team: "phoenix"
topic: "observability"
exp_annotations:
description: "KubeStateMetrics () is down."
Expand Down Expand Up @@ -111,7 +111,7 @@ tests:
inhibit_kube_state_metrics_down: "true"
cancel_if_prometheus_agent_down: "true"
severity: "page"
team: "atlas"
team: "phoenix"
topic: "observability"
exp_annotations:
description: "KubeStateMetrics () is down."
Expand Down Expand Up @@ -165,7 +165,7 @@ tests:
inhibit_kube_state_metrics_down: "true"
cancel_if_prometheus_agent_down: "true"
severity: "page"
team: "atlas"
team: "phoenix"
topic: "observability"
exp_annotations:
description: "KubeStateMetrics () is down."
Expand All @@ -188,7 +188,7 @@ tests:
inhibit_kube_state_metrics_down: "true"
cancel_if_prometheus_agent_down: "true"
severity: "page"
team: "atlas"
team: "phoenix"
topic: "observability"
exp_annotations:
description: "KubeStateMetrics () is down."
Expand Down