Torsten Simon 3 anni fa
commit
3f2a2643de
4 ha cambiato i file con 37 aggiunte e 0 eliminazioni
  1. 7 0
      Chart.yaml
  2. 4 0
      commands.sh
  3. 18 0
      templates/deployment.yml
  4. 8 0
      values.yaml

+ 7 - 0
Chart.yaml

@@ -0,0 +1,7 @@
+apiVersion: v2
+
+name: influx-grafana
+description: A Helm chart for Kubernetes
+type: application
+version: 0.1.0
+appVersion: 0.1.0

+ 4 - 0
commands.sh

@@ -0,0 +1,4 @@
+#!/bin/sh
+
+helm install influxdb bitnami/influxdb -n monitoring -f values.yaml
+helm install grafana bitnami/grafana -n monitoring

+ 18 - 0
templates/deployment.yml

@@ -0,0 +1,18 @@
+apiVersion: networking.k8s.io/v1
+kind: Ingress
+annotations:
+metadata:
+  name: influxdb
+spec:
+  #ingressClassName: nginx # change this to your Ingressclass you have created in your cluster
+  rules:
+  - host: influx.local
+    http:
+      paths:
+      - backend:
+          service:
+            name: influx-service
+            port:
+              number: 8086
+        path: /
+        pathType: Prefix

+ 8 - 0
values.yaml

@@ -0,0 +1,8 @@
+auth.user.bucket: telegraf
+auth.enabled: true
+auth.admin.username: admin
+auth.admin.password: admin
+
+auth.user.username: telegraf
+auth.user.password: admin
+image.debug: true