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:
|
target:
|
||||||
kind: Deployment
|
kind: Deployment
|
||||||
name: grafana
|
name: grafana
|
||||||
|
- path: kubernetes-monitoring-rules-patches.yaml
|
||||||
|
target:
|
||||||
|
kind: PrometheusRule
|
||||||
|
name: kubernetes-monitoring-rules
|
||||||
secretGenerator:
|
secretGenerator:
|
||||||
- name: grafana-config
|
- name: grafana-config
|
||||||
namespace: monitoring
|
namespace: monitoring
|
||||||
|
|
Loading…
Reference in a new issue