about summary refs log tree commit diff
diff options
context:
space:
mode:
authormakefunstuff <[email protected]>2024-06-28 22:07:26 +0200
committermakefunstuff <[email protected]>2024-06-28 22:07:26 +0200
commit855f27b71dc18eb74e32f6d7a302c60691c2a0b9 (patch)
treedf393f7073524b94a93c28c7f9f4ecb5fc4b1ec1
parentb55a40c2cdc90598cd314c7946af0b0def740104 (diff)
downloadk3s-lab-855f27b71dc18eb74e32f6d7a302c60691c2a0b9.tar.gz
prometheus
-rw-r--r--cd/tools.yaml2
-rw-r--r--tools/prometheus/Chart.yaml10
-rw-r--r--tools/prometheus/values.yaml9
3 files changed, 21 insertions, 0 deletions
diff --git a/cd/tools.yaml b/cd/tools.yaml
index d4a2306..7cdd906 100644
--- a/cd/tools.yaml
+++ b/cd/tools.yaml
@@ -9,6 +9,8 @@ spec:
       elements:
       - chart: grafana
         path: tools/grafana
+      - chart: prometheus
+        path: tools/prometheus
   template:
     metadata:
       name: '{{chart}}'
diff --git a/tools/prometheus/Chart.yaml b/tools/prometheus/Chart.yaml
index e69de29..12854a2 100644
--- a/tools/prometheus/Chart.yaml
+++ b/tools/prometheus/Chart.yaml
@@ -0,0 +1,10 @@
+apiVersion: v2
+name: prometheus
+description: A Helm chart for deploying Prometheus and kube-prometheus-stack
+version: 0.1.0
+appVersion: "2.26.0"
+dependencies:
+  - name: prometheus
+    version: 25.22.0
+    repository: "https://prometheus-community.github.io/helm-charts"
+
diff --git a/tools/prometheus/values.yaml b/tools/prometheus/values.yaml
index e69de29..c8385b5 100644
--- a/tools/prometheus/values.yaml
+++ b/tools/prometheus/values.yaml
@@ -0,0 +1,9 @@
+prometheus:
+  alertmanager:
+    enabled: true
+
+  pushgateway:
+    enabled: true
+
+  server:
+    enabled: true