Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rename base to more precise name
Browse files Browse the repository at this point in the history
hectorhuertas committed Dec 1, 2023
1 parent 521d777 commit 5a9b560
Showing 4 changed files with 19 additions and 19 deletions.
Original file line number Diff line number Diff line change
@@ -2,7 +2,7 @@
# DO NOT REMOVE line above, used in `pre-commit` hook

groups:
- name: capacity
- name: capacity-experiments
rules:
- alert: AvailabilityZoneRunningOutOfMemory95
expr: avg(node_memory_working_set_bytes/on(node)(kube_node_status_capacity{resource="memory"} - on (node) node_eviction_threshold) * on(node) group_left(zone) kube_node_labels{role="worker"}) by (zone) > 0.95
Original file line number Diff line number Diff line change
@@ -3,8 +3,8 @@ kind: Component

configMapGenerator:
- files:
- capacity.yaml.tmpl
name: alert-templates-exp
- capacity-experiments.yaml.tmpl
name: alert-templates-capacity-experiments

patches:
- path: volume.yaml
16 changes: 16 additions & 0 deletions capacity-experiments/volume.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: thanos-rule
spec:
template:
spec:
initContainers:
- name: render-alerts
volumeMounts:
- name: rule-templates-capacity-experiments
mountPath: /var/thanos/rule-templates/capacity-experiments
volumes:
- name: rule-templates-capacity-experiments
configMap:
name: rule-templates-capacity-experiments
16 changes: 0 additions & 16 deletions exp/volume.yaml

This file was deleted.

0 comments on commit 5a9b560

Please sign in to comment.