feat: remove bad rook-ceph rules

This commit is contained in:
auricom
2022-07-04 22:01:38 +02:00
parent 2da7e486be
commit 81fc29e4d3
3 changed files with 23 additions and 0 deletions

View File

@@ -8,4 +8,5 @@ resources:
- media
- monitoring
- networking
- rook-ceph
#- secret-reflector

View File

@@ -0,0 +1,13 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- https://raw.githubusercontent.com/rook/rook/v1.9.6/deploy/examples/monitoring/rbac.yaml
- https://raw.githubusercontent.com/rook/rook/v1.9.6/deploy/examples/monitoring/localrules.yaml
patches:
- path: modify-rules-patch.yaml
target:
group: monitoring.coreos.com
version: v1
kind: PrometheusRule
name: prometheus-ceph-rules
namespace: rook-ceph

View File

@@ -0,0 +1,9 @@
# remove CephNodeInconsistentMTU
- op: remove
path: /spec/groups/6/rules/4
# remove PrometheusServer
- op: remove
path: /spec/groups/10/rules/0
# remove CephNodeNetworkPacketDrops
- op: remove
path: /spec/groups/6/rules/1