mirror of
https://github.com/auricom/home-cluster.git
synced 2025-10-02 16:51:52 +02:00
feat: remove bad rook-ceph rules
This commit is contained in:
@@ -8,4 +8,5 @@ resources:
|
||||
- media
|
||||
- monitoring
|
||||
- networking
|
||||
- rook-ceph
|
||||
#- secret-reflector
|
||||
|
13
cluster/apps/rook-ceph/kustomization.yaml
Normal file
13
cluster/apps/rook-ceph/kustomization.yaml
Normal 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
|
9
cluster/apps/rook-ceph/modify-rules-patch.yaml
Normal file
9
cluster/apps/rook-ceph/modify-rules-patch.yaml
Normal 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
|
Reference in New Issue
Block a user