diff options
author | makefunstuff <[email protected]> | 2024-06-27 23:50:06 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-27 23:50:06 +0200 |
commit | e63ad3ad429513a731778f118283092e9efab83f (patch) | |
tree | c35993515654ea4ab883afec0b94629869b5c040 /third-party | |
parent | 608a95ca4fa23d2aef9a121a285f8332313df54c (diff) | |
download | k3s-lab-e63ad3ad429513a731778f118283092e9efab83f.tar.gz |
grafana
Diffstat (limited to '')
-rw-r--r-- | third-party/gitea/gitea_values.yaml | 30 | ||||
-rw-r--r-- | third-party/gitea/helmfile.yaml | 12 | ||||
-rw-r--r-- | third-party/grafana/helmfile.yaml | 10 | ||||
-rw-r--r-- | third-party/grafana/values.yaml | 31 | ||||
-rw-r--r-- | third-party/prometheus/helmfile.yaml | 11 | ||||
-rw-r--r-- | third-party/prometheus/values.yaml | 8 |
6 files changed, 60 insertions, 42 deletions
diff --git a/third-party/gitea/gitea_values.yaml b/third-party/gitea/gitea_values.yaml deleted file mode 100644 index 4979b60..0000000 --- a/third-party/gitea/gitea_values.yaml +++ /dev/null @@ -1,30 +0,0 @@ -replicaCount: 1 - -image: - registry: docker.io - repository: bitnami/gitea - tag: 1.14.2 - -service: - type: LoadBalancer - port: 3000 - -ingress: - enabled: true - hostname: gitea.localhost - path: / - tls: false - -gitea: - admin: - username: admin - password: adminpassword - email: [email protected] - -resources: - requests: - memory: 512Mi - cpu: 250m - limits: - memory: 1Gi - cpu: 500m diff --git a/third-party/gitea/helmfile.yaml b/third-party/gitea/helmfile.yaml deleted file mode 100644 index 4471d47..0000000 --- a/third-party/gitea/helmfile.yaml +++ /dev/null @@ -1,12 +0,0 @@ -repositories: - - name: gitea - url: https://charts.bitnami.com/bitnami - -releases: - - name: gitea - namespace: gitea - chart: gitea/gitea - version: 2.2.0 - values: - - ./gitea_values.yaml - - ../../shared-values/common_values.yaml diff --git a/third-party/grafana/helmfile.yaml b/third-party/grafana/helmfile.yaml new file mode 100644 index 0000000..3c98528 --- /dev/null +++ b/third-party/grafana/helmfile.yaml @@ -0,0 +1,10 @@ +repositories: + - name: grafana + url: https://grafana.github.io/helm-charts + +releases: + - name: grafana + namespace: monitoring + chart: grafana/grafana + values: + - ./values.yaml diff --git a/third-party/grafana/values.yaml b/third-party/grafana/values.yaml new file mode 100644 index 0000000..fb6a2e0 --- /dev/null +++ b/third-party/grafana/values.yaml @@ -0,0 +1,31 @@ +adminUser: admin +adminPassword: secret +persistence: + enabled: true + size: 5Gi +datasources: + datasources.yaml: + apiVersion: 1 + datasources: + - name: Prometheus + type: prometheus + url: http://prometheus-server + access: proxy + isDefault: true +service: + type: ClusterIP + port: 80 +ingress: + enabled: true + annotations: + traefik.ingress.kubernetes.io/redirect-entry-point: https + traefik.ingress.kubernetes.io/router.entrypoints: websecure + traefik.ingress.kubernetes.io/router.tls: "true" + traefik.ingress.kubernete.io/router.tls.certresolver: default + traefik.ingress.kubernetes.io/router.tls.domains.0.main: topkek.cloud + traefik.ingress.kubernetes.io/router.tls.domains.0.sans: grafana.topkek.cloud + labels: {} + hosts: + - grafana.topkek.cloud + path: / + pathType: Prefix diff --git a/third-party/prometheus/helmfile.yaml b/third-party/prometheus/helmfile.yaml new file mode 100644 index 0000000..3b3fae3 --- /dev/null +++ b/third-party/prometheus/helmfile.yaml @@ -0,0 +1,11 @@ +repositories: + - name: prometheus-community + url: https://prometheus-community.github.io/helm-charts + +releases: + - name: prometheus + namespace: monitoring + chart: prometheus-community/prometheus + version: 14.11.1 + values: + - ./values.yaml diff --git a/third-party/prometheus/values.yaml b/third-party/prometheus/values.yaml new file mode 100644 index 0000000..3da4c7e --- /dev/null +++ b/third-party/prometheus/values.yaml @@ -0,0 +1,8 @@ +server: + persistentVolume: + enabled: true + size: 10Gi +alertmanager: + persistentVolume: + enabled: true + size: 2Gi |