Menu
myezbrew
  • Privacy Policy
  • prometheus documentation
myezbrew

lcars: helm prometheus community

Posted on August 12, 2023August 20, 2023 by Andy Jenkins
Follow us on Social Media
linkedin

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
        name: prometheus-community
      version: 45.21.0
  values:
      valuesFile: kube-prometheus-stack-values.yaml
  interval: 86400s
---
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  annotations:
    ingress.kubernetes.io/ssl-redirect: "true"
  name: monitoring
  namespace: prometheus
spec:
  ingressClassName: nginx
  rules:
  - host: grafana.localhost
    http:
      paths:
      - backend:
          service:
            name: kube-prometheus-stack-grafana
            port:
              number: 80
        path: /
        pathType: Prefix
  - host: prometheus.localhost
    http:
      paths:
      - backend:
          service: 
            name: prometheus-operated
            port:
              number: 9090
        path: /
        pathType: Prefix
  - host: alertmanager.localhost
    http:
      paths:
      - backend:
          service: 
            name: kube-prometheus-stack-alertmanager
            port:
              number: 9093
        path: /
        pathType: Prefix
				
			

Recent Posts

  • HAOS – Notes
  • Vger: Docker Images
  • Project: Duplicate Terraform Cloud Global Variable
  • PowerShell Crash Day
  • vger: Using a man in the middle terraform module

Recent Comments

    Archives

    • October 2023
    • September 2023
    • August 2023
    • March 2023
    • February 2023
    • November 2022
    • May 2022
    • April 2022
    • December 2021
    • October 2021
    • September 2021

    Categories

    • devops
    • docker images
    • prometheus
    • Prometheus Alerting
    • Uncategorized
    • vger

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org
    ©2025 myezbrew | WordPress Theme by Superb Themes