Remove monitoring rules from kube-prometheus that don't apply to k3s

This commit is contained in:
Finn 2024-08-08 15:04:43 -07:00
parent 91c5d270ea
commit 29273a1a55
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,4 @@
- op: remove
path: /spec/groups/8 # name: kubernetes-system-controller-manager which doesn't seem to exist on k3s
- op: remove
path: /spec/groups/7 # name: kkubernetes-system-scheduler which doesn't seem to exist on k3s

View file

@ -31,7 +31,10 @@ patches:
target:
kind: Deployment
name: grafana
- path: kubernetes-monitoring-rules-patches.yaml
target:
kind: PrometheusRule
name: kubernetes-monitoring-rules
secretGenerator:
- name: grafana-config
namespace: monitoring