Compare commits

..

No commits in common. "2ec8fb390f07b22a256a9c72de3c0b0aace718a0" and "4a4d91814571ebcc549085b151cb3e9fc546bae1" have entirely different histories.

8 changed files with 2 additions and 40 deletions

View File

@ -1,10 +0,0 @@
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: grafana-db-backup
namespace: monitoring
spec:
schedule: "0 0 0 * * *"
backupOwnerReference: self
cluster:
name: grafana-db

View File

@ -7,6 +7,5 @@ resources:
- ingress.yaml - ingress.yaml
- servicemonitor.yaml - servicemonitor.yaml
- database.yaml - database.yaml
- database-backup.yaml
- datasources.yaml - datasources.yaml
- deployment.yaml - deployment.yaml

View File

@ -1,7 +0,0 @@
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
namespace: monitoring
resources:
- git@github.com:kubernetes/kube-state-metrics/examples/standard?ref=v2.14.0
- servicemonitor.yaml

View File

@ -1,13 +0,0 @@
apiVersion: monitoring.coreos.com/v1
kind: ServiceMonitor
metadata:
name: kube-state-metrics
namespace: monitoring
spec:
selector:
matchLabels:
app.kubernetes.io/component: exporter
app.kubernetes.io/name: kube-state-metrics
endpoints:
- port: http-metrics
path: /metrics

View File

@ -10,4 +10,3 @@ resources:
- prometheus - prometheus
- grafana - grafana
- node-exporter - node-exporter
- kube-state-metrics

View File

@ -22,7 +22,8 @@ spec:
- --path.sysfs=/host/sys - --path.sysfs=/host/sys
- --path.rootfs=/host/root - --path.rootfs=/host/root
- --no-collector.wifi - --no-collector.wifi
- --collector.filesystem.ignored-mount-points=^/(dev|proc|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/) - --no-collector.hwmon
- --collector.filesystem.ignored-mount-points=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/pods/.+)($|/)
- --collector.netclass.ignored-devices=^(veth.*)$ - --collector.netclass.ignored-devices=^(veth.*)$
name: node-exporter name: node-exporter
image: prom/node-exporter image: prom/node-exporter

View File

@ -11,6 +11,3 @@ spec:
endpoints: endpoints:
- port: node-exporter - port: node-exporter
path: /metrics path: /metrics
relabelings:
- sourceLabels: [__meta_kubernetes_pod_node_name]
targetLabel: instance

View File

@ -13,10 +13,6 @@ spec:
memory: 300Mi memory: 300Mi
storage: storage:
volumeClaimTemplate: volumeClaimTemplate:
metadata:
labels:
recurring-job.longhorn.io/source: enabled
recurring-job-group.longhorn.io/standard-pvc: enabled
spec: spec:
storageClassName: redundant-storage-class storageClassName: redundant-storage-class
resources: resources: