feat: pushgateway

This commit is contained in:
auricom
2025-01-15 22:27:28 +01:00
parent 19ef8357ad
commit b18d123b60
5 changed files with 79 additions and 1 deletions

View File

@@ -0,0 +1,44 @@
---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app pushgateway
spec:
interval: 30m
chart:
spec:
chart: prometheus-pushgateway
version: 2.16.0
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: flux-system
maxHistory: 2
install:
createNamespace: true
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
uninstall:
keepHistory: false
values:
image:
repository: prom/pushgateway
tag: v1.6.2
pullPolicy: IfNotPresent
serviceMonitor:
enabled: true
namespace: observability
ingress:
enabled: true
className: internal
hosts:
- &host "pushgateway.${SECRET_EXTERNAL_DOMAIN}"
tls:
- hosts:
- *host

View File

@@ -0,0 +1,7 @@
---
# yaml-language-server: $schema=https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/kustomization.json
apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization
resources:
- ./helmrelease.yaml
- ../../../../templates/gatus/guarded