Month: August 2023
Prometheus Alertmanager
using: flux api helm api kustomize TODO: separate baseoverlay create gitlab helm repository split repo prometheus-community-lcars k3d createdestroy kustomizefluxhelm Flux UIs / GUIs wasdx wasdx Additional links: Additional Scrape Configuration Grafana Alertmanager blog alermanager bug no slack api helm.toolkit.fluxcd.io/v2beta1 flux/helm/values kube-prometheus-stack hacks HelmReleaseSpec fluxcd.io: are-there-two-kustomization-types flux troubleshooting cheatsheet fluxcd.io:Manage Helm Releases kuztomise: configMapGenerator kuztomize-configmap-generatorsCustomizing Slack…
Prometheus Alerting Rules
Prometheus alertmanager docs github alertmanager alertmanager docs Alerting Rules Template Examples Template Reference Routing tree editor My Philosophy on Alerting (Google SRE) Prometheus best practice alerting guide Alerting on SLOs like Pros Example alert rule: groups: – name: demo-service-alerts # Name of the group of rules. rules: # A list of alerting rules in…
lcars: helm prometheus community
Configuring prometheus using the helm.toolkit.fluxcd api Complete source: gitlab.com/ezbrew/lcars/prometheus-community-lcars apiVersion: v1 kind: Namespace metadata: name: “prometheus” labels: name: “prometheus” — apiVersion: source.toolkit.fluxcd.io/v1beta2 kind: HelmRepository metadata: name: prometheus-community namespace: prometheus spec: interval: 86400s url: https://prometheus-community.github.io/helm-charts — apiVersion: helm.toolkit.fluxcd.io/v2beta1 kind: HelmRelease metadata: name: kube-prometheus-stack namespace: prometheus spec: releaseName: kube-prometheus-stack chart: spec: chart: kube-prometheus-stack sourceRef: kind: HelmRepository…