Remove monitoring rules from kube-prometheus that don't apply to k3s
This commit is contained in:
parent
91c5d270ea
commit
29273a1a55
2 changed files with 8 additions and 1 deletions
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue