80 lines
1.8 KiB
YAML
80 lines
1.8 KiB
YAML
|
---
|
||
|
prometheus_namespace: monitoring
|
||
|
|
||
|
prometheus_resources:
|
||
|
- name: prometheus-operator
|
||
|
type: deployment
|
||
|
- name: kube-state-metrics
|
||
|
type: deployment
|
||
|
- name: kube-state-metrics
|
||
|
type: service
|
||
|
- name: node-exporter
|
||
|
type: daemonset
|
||
|
- name: node-exporter
|
||
|
type: service
|
||
|
- name: grafana-dashboards
|
||
|
type: configmap
|
||
|
- name: grafana
|
||
|
type: deployment
|
||
|
- name: grafana
|
||
|
type: service
|
||
|
- name: prometheus-k8s-rules
|
||
|
type: configmap
|
||
|
- name: prometheus-k8s
|
||
|
type: service
|
||
|
- name: alertmanager-main
|
||
|
type: configmap
|
||
|
- name: alertmanager-main
|
||
|
type: service
|
||
|
- name: k8s-apps-https
|
||
|
type: servicemonitor
|
||
|
- name: k8s-apps-http
|
||
|
type: servicemonitor
|
||
|
- name: k8s
|
||
|
type: prometheus
|
||
|
- name: main
|
||
|
type: alertmanager
|
||
|
|
||
|
prometheus_operator_cpu_limit: 200m
|
||
|
prometheus_operator_mem_limit: 300M
|
||
|
prometheus_operator_cpu_requests: 100m
|
||
|
prometheus_operator_mem_requests: 50M
|
||
|
|
||
|
node_exporter_ds_cpu_limit: 200m
|
||
|
node_exporter_ds_mem_limit: 50Mi
|
||
|
node_exporter_ds_cpu_requests: 100m
|
||
|
node_exporter_ds_mem_requests: 30Mi
|
||
|
|
||
|
kube_state_metrics_cpu_limit: 200m
|
||
|
kube_state_metrics_mem_limit: 50Mi
|
||
|
kube_state_metrics_cpu_requests: 100m
|
||
|
kube_state_metrics_mem_requests: 30Mi
|
||
|
|
||
|
alertmanager_config_receivers:
|
||
|
- name: webhook
|
||
|
webhook_configs:
|
||
|
- url: "http://alertmanagerwh:30500/"
|
||
|
alertmanager_config_global:
|
||
|
resolve_timeout: 5m
|
||
|
alertmanager_config_route:
|
||
|
group_by:
|
||
|
- job
|
||
|
group_wait: 30s
|
||
|
group_interval: 5m
|
||
|
repeat_interval: 12h
|
||
|
receiver: webhook
|
||
|
|
||
|
alertmanager_replicas: 3
|
||
|
|
||
|
grafana_cpu_limit: 300m
|
||
|
grafana_mem_limit: 300Mi
|
||
|
grafana_cpu_requests: 100m
|
||
|
grafana_mem_requests: 100Mi
|
||
|
|
||
|
grafana_watcher_cpu_limit: 100m
|
||
|
grafana_watcher_mem_limit: 32Mi
|
||
|
grafana_watcher_cpu_requests: 50m
|
||
|
grafana_watcher_mem_requests: 16Mi
|
||
|
|
||
|
prometheus_mem_requests: 400Mi
|