mirror of
https://github.com/auricom/home-cluster.git
synced 2025-09-17 18:24:14 +02:00
add influxdb
This commit is contained in:
@@ -78,3 +78,13 @@ spec:
|
||||
interval: 10m
|
||||
url: https://kubernetes-charts.banzaicloud.com
|
||||
timeout: 3m
|
||||
---
|
||||
apiVersion: source.toolkit.fluxcd.io/v1beta1
|
||||
kind: HelmRepository
|
||||
metadata:
|
||||
name: influxdata-charts
|
||||
namespace: flux-system
|
||||
spec:
|
||||
interval: 10m
|
||||
url: https://helm.influxdata.com/
|
||||
timeout: 3m
|
58
cluster/monitoring/influxdb.yaml
Normal file
58
cluster/monitoring/influxdb.yaml
Normal file
@@ -0,0 +1,58 @@
|
||||
---
|
||||
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||||
kind: HelmRelease
|
||||
metadata:
|
||||
name: influxdb
|
||||
namespace: monitoring
|
||||
spec:
|
||||
interval: 5m
|
||||
chart:
|
||||
spec:
|
||||
chart: influxdb
|
||||
version: 4.8.10
|
||||
sourceRef:
|
||||
kind: HelmRepository
|
||||
name: influxdata-charts
|
||||
namespace: flux-system
|
||||
interval: 5m
|
||||
values:
|
||||
service:
|
||||
type: LoadBalancer
|
||||
loadBalancerIP: 192.168.9.205
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 30Gi
|
||||
storageClass: "longhorn"
|
||||
livenessProbe:
|
||||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
timeoutSeconds: 10
|
||||
startupProbe:
|
||||
enabled: true
|
||||
failureThreshold: 6
|
||||
periodSeconds: 5
|
||||
config:
|
||||
http:
|
||||
flux-enabled: true
|
||||
opentsdb:
|
||||
enabled: true
|
||||
graphite:
|
||||
enabled: true
|
||||
database: "graphite"
|
||||
#retention-policy: ""
|
||||
bind-address: ":2003"
|
||||
protocol: "tcp"
|
||||
consistency-level: "one"
|
||||
tls: true
|
||||
initScripts:
|
||||
enabled: true
|
||||
scripts:
|
||||
init.iql: |-
|
||||
CREATE DATABASE "pfsense" WITH DURATION 90d;
|
||||
CREATE DATABASE "rpi-os" WITH DURATION 90d;
|
||||
resources:
|
||||
requests:
|
||||
memory: 2Gi
|
||||
cpu: 100m
|
||||
limits:
|
||||
memory: 4Gi
|
Reference in New Issue
Block a user