2024-01-23 01:17:39 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta2
|
2023-04-15 05:19:04 +00:00
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: kube-prometheus-stack
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: kube-prometheus-stack
|
2024-05-05 11:37:06 +00:00
|
|
|
version: "58.4.0"
|
2023-04-15 05:19:04 +00:00
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: prometheus-community-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
2023-04-15 05:24:13 +00:00
|
|
|
namespaceOverride: "monitoring"
|
2023-04-15 05:19:04 +00:00
|
|
|
|
|
|
|
alertmanager:
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
|
|
|
hosts:
|
2023-04-15 05:27:27 +00:00
|
|
|
- &alertmanager-host alertmanager.${SECRET_NEW_DOMAIN}
|
|
|
|
paths:
|
|
|
|
- "/"
|
2023-04-15 05:19:04 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *alertmanager-host
|
2023-04-30 01:07:15 +00:00
|
|
|
|
|
|
|
alertmanagerSpec:
|
|
|
|
alertmanagerConfiguration:
|
|
|
|
name: alertmanager-config
|
2023-04-30 00:35:53 +00:00
|
|
|
|
2023-04-15 05:19:04 +00:00
|
|
|
grafana:
|
2023-10-02 03:40:14 +00:00
|
|
|
enabled: false
|
2023-10-21 00:42:21 +00:00
|
|
|
# enabled dashboards even with grafana being disabled
|
2024-01-23 23:26:14 +00:00
|
|
|
#forceDeployDashboards: true
|
|
|
|
#defaultDashboardsTimezone: America/New_York
|
2023-05-03 04:52:24 +00:00
|
|
|
|
2023-04-15 05:19:04 +00:00
|
|
|
prometheus:
|
|
|
|
ingress:
|
|
|
|
enabled: true
|
|
|
|
annotations:
|
|
|
|
cert-manager.io/cluster-issuer: letsencrypt-production
|
|
|
|
traefik.ingress.kubernetes.io/router.entrypoints: websecure
|
|
|
|
traefik.ingress.kubernetes.io/router.middlewares: traefik-authentik@kubernetescrd
|
|
|
|
hosts:
|
2023-04-15 05:27:27 +00:00
|
|
|
- &prometheus-host metrics.${SECRET_NEW_DOMAIN}
|
|
|
|
paths:
|
|
|
|
- "/"
|
2023-04-15 05:19:04 +00:00
|
|
|
tls:
|
|
|
|
- hosts:
|
|
|
|
- *prometheus-host
|
2023-04-30 05:27:12 +00:00
|
|
|
|
|
|
|
prometheusSpec:
|
|
|
|
enableAdminAPI: false
|
|
|
|
|
2023-05-03 04:52:24 +00:00
|
|
|
retention: 1d
|
|
|
|
|
|
|
|
remoteWrite:
|
|
|
|
- url: http://victoria-metrics-server.monitoring.svc:8428/api/v1/write
|
|
|
|
|
|
|
|
storageSpec:
|
|
|
|
volumeClaimTemplate:
|
|
|
|
spec:
|
2024-02-08 00:26:47 +00:00
|
|
|
storageClassName: longhorn
|
2023-05-03 04:52:24 +00:00
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
app.kubernetes.io/name: kube-prometheus-stack-pv
|
|
|
|
resources:
|
|
|
|
requests:
|
2024-02-08 00:26:47 +00:00
|
|
|
storage: 15Gi
|
2023-05-03 04:52:24 +00:00
|
|
|
|
2023-04-30 05:27:12 +00:00
|
|
|
kubeControllerManager:
|
|
|
|
enabled: true
|
|
|
|
endpoints:
|
2023-07-10 20:01:30 +00:00
|
|
|
- 192.168.87.250
|
2023-04-30 05:27:12 +00:00
|
|
|
service:
|
|
|
|
enabled: true
|
|
|
|
port: 10257
|
|
|
|
targetPort: 10257
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
https: true
|
|
|
|
insecureSkipVerify: true
|
|
|
|
|
|
|
|
kubeScheduler:
|
|
|
|
enabled: true
|
|
|
|
endpoints:
|
2023-07-10 20:01:30 +00:00
|
|
|
- 192.168.87.250
|
2023-04-30 05:27:12 +00:00
|
|
|
service:
|
|
|
|
enabled: true
|
|
|
|
port: 10259
|
|
|
|
targetPort: 10259
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
https: true
|
|
|
|
insecureSkipVerify: true
|
|
|
|
|
|
|
|
kubeProxy:
|
|
|
|
enabled: true
|
|
|
|
endpoints:
|
2023-07-10 20:01:30 +00:00
|
|
|
- 192.168.87.250
|
2023-04-30 05:27:12 +00:00
|
|
|
service:
|
|
|
|
enabled: true
|
|
|
|
port: 10249
|
|
|
|
targetPort: 10249
|
|
|
|
serviceMonitor:
|
|
|
|
enabled: true
|
|
|
|
https: false
|
|
|
|
|
|
|
|
kubeEtcd:
|
|
|
|
enabled: false
|