Files
auricom-home-cluster/kubernetes/apps/database/influx/app/helmrelease.yaml
2025-06-26 11:11:39 +02:00

78 lines
2.0 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app influx
spec:
interval: 1h
chartRef:
kind: OCIRepository
name: app-template
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
values:
defaultPodOptions:
automountServiceAccountToken: false
controllers:
influx:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: docker.io/library/influxdb
tag: 2.7-alpine@sha256:ef14203d7014ac9a0df4f087d186901ea7d19993410b35782f6c3c421738eb25
resources:
requests:
cpu: 100m
memory: 128M
limits:
memory: 384M
probes:
liveness: &health
enabled: true
custom: true
spec:
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 1
failureThreshold: 3
httpGet:
path: /health
port: 8086
readiness: *health
startup:
enabled: true
custom: true
spec:
initialDelaySeconds: 0
timeoutSeconds: 1
periodSeconds: 5
failureThreshold: 30
httpGet:
path: /health
port: 8086
service:
app:
controller: *app
ports:
http:
enabled: false
port: 8080
influx:
enabled: true
port: 8086
persistence:
config:
enabled: true
existingClaim: influx
globalMounts:
- path: /var/lib/influxdb2