Files
auricom-home-cluster/kubernetes/apps/database/influx/app/helmrelease.yaml
2024-06-14 00:28:33 +00:00

85 lines
2.1 KiB
YAML

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/bjw-s/helm-charts/main/charts/other/app-template/schemas/helmrelease-helm-v2beta2.schema.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: &app influx
spec:
interval: 30m
chart:
spec:
chart: app-template
version: 3.2.1
sourceRef:
kind: HelmRepository
name: bjw-s
namespace: flux-system
install:
remediation:
retries: 3
upgrade:
cleanupOnFail: true
remediation:
strategy: rollback
retries: 3
uninstall:
keepHistory: false
values:
defaultPodOptions:
automountServiceAccountToken: false
controllers:
influx:
annotations:
reloader.stakater.com/auto: "true"
containers:
app:
image:
repository: docker.io/library/influxdb
tag: 2.7-alpine
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