infra/k8s/operators/kube-prometheus/kustomization.yaml

82 lines
2.1 KiB
YAML
Raw Normal View History

2024-07-10 04:10:53 +00:00
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
2024-08-15 05:56:50 +00:00
- https://github.com/prometheus-operator/kube-prometheus?ref=74f4e0cda3f3c2a4e8a1ab7d9bdbee019a47c851
2024-07-10 04:10:53 +00:00
patches:
- path: node-exporter-patch.yaml
target:
kind: DaemonSet
name: node-exporter
- path: network-policies-patch.yaml
target:
kind: NetworkPolicy
name: grafana
- path: network-policies-patch.yaml
target:
kind: NetworkPolicy
name: alertmanager-main
- path: prometheus-network-policy-patch.yaml
2024-07-10 04:10:53 +00:00
target:
kind: NetworkPolicy
name: prometheus-k8s
- path: prometheus-patch.yaml
target:
kind: Prometheus
name: k8s
- path: alertmanager-patches.yaml
target:
kind: Alertmanager
name: main
2024-07-27 23:54:45 +00:00
- path: prometheus-cluster-role-patch.yaml
target:
kind: ClusterRole
name: prometheus-k8s
2024-07-27 19:11:56 +00:00
- path: grafana-deployment-patch.yaml
target:
kind: Deployment
name: grafana
- path: kubernetes-monitoring-rules-patches.yaml
target:
kind: PrometheusRule
name: kubernetes-monitoring-rules
- path: node-exporter-rules-patches.yaml
target:
kind: PrometheusRule
name: node-exporter-rules
- path: prometheus-operator-deployment-patches.yaml
target:
kind: Deployment
name: prometheus-operator
- path: blackbox-exporter-patches.yaml
target:
kind: Deployment
name: blackbox-exporter
- path: node-exporter-ds-patches.yaml
target:
kind: DaemonSet
name: node-exporter
- path: kube-state-metrics-deployment-patches.yaml
target:
kind: Deployment
name: kube-state-metrics
2024-09-02 01:07:04 +00:00
- path: alertmanager-main-secret-patch.yaml
target:
kind: Secret
name: alertmanager-main
- path: node-exporter-prometheus-rule-patches.yaml
target:
kind: PrometheusRule
name: node-exporter-rules
- path: apiregistration-patch.yaml
2024-07-27 19:11:56 +00:00
secretGenerator:
- name: grafana-config
namespace: monitoring
behavior: replace
files:
2024-07-27 23:54:45 +00:00
- grafana/grafana.ini
2024-07-28 23:28:23 +00:00
- name: grafana-datasources
namespace: monitoring
behavior: replace
files:
- grafana/datasources.yaml