about summary refs log tree commit diff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tools/eck-operator/Chart.yaml12
-rw-r--r--tools/eck-operator/values.yaml0
-rw-r--r--tools/loki-promtail/Chart.yaml12
-rw-r--r--tools/loki-promtail/values.yaml90
-rw-r--r--tools/prometheus/Chart.yaml10
-rw-r--r--tools/prometheus/templates/network-policy.yaml21
-rw-r--r--tools/prometheus/values.yaml11
7 files changed, 12 insertions, 144 deletions
diff --git a/tools/eck-operator/Chart.yaml b/tools/eck-operator/Chart.yaml
new file mode 100644
index 0000000..cba80ba
--- /dev/null
+++ b/tools/eck-operator/Chart.yaml
@@ -0,0 +1,12 @@
+apiVersion: v2
+name: eck-operator
+description: A Helm chart for deploying my application with ECK operator
+type: application
+version: 0.1.0
+appVersion: "1.0.0"
+
+dependencies:
+  - name: eck-operator
+    version: "2.13.0"
+    repository: "https://helm.elastic.co"
+
diff --git a/tools/eck-operator/values.yaml b/tools/eck-operator/values.yaml
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/tools/eck-operator/values.yaml
diff --git a/tools/loki-promtail/Chart.yaml b/tools/loki-promtail/Chart.yaml
deleted file mode 100644
index 4b039ea..0000000
--- a/tools/loki-promtail/Chart.yaml
+++ /dev/null
@@ -1,12 +0,0 @@
-apiVersion: v2
-name: loki-promtail
-description: A Helm chart for deploying Loki and Promtail
-version: 0.1.0
-dependencies:
-  - name: loki
-    version: 6.6.4
-    repository: "https://grafana.github.io/helm-charts"
-  - name: promtail
-    version: 6.16.2
-    repository: "https://grafana.github.io/helm-charts"
-
diff --git a/tools/loki-promtail/values.yaml b/tools/loki-promtail/values.yaml
deleted file mode 100644
index e04ea55..0000000
--- a/tools/loki-promtail/values.yaml
+++ /dev/null
@@ -1,90 +0,0 @@
-loki:
-  networkPolicy:
-    enabled: true
-    namespaceSelector:
-      matchLabels:
-        name: monitoring
-  deploymentMode: SingleBinary
-  loki:
-    auth_enabled: false
-    analytics:
-      reporting_enabled: false
-    commonConfig:
-      replication_factor: 1
-    ingester:
-      chunk_encoding: snappy
-    storage:
-      type: filesystem
-    schemaConfig:
-      configs:
-        - from: "2024-06-29"
-          store: tsdb
-          object_store: filesystem
-          schema: v13
-          index:
-            prefix: loki_index_
-            period: 24h
-    limits_config:
-      retention_period: 14d
-  mminio:
-    enabled: true
-    serviceAccount:
-      name: "minio-sa-loki"
-
-  singleBinary:
-    replicas: 1
-    limits:
-      cpu: 3
-      memory: 4Gi
-    requests:
-      cpu: 2
-      memory: 2Gi
-    extraEnv:
-    # Keep a little bit lower than memory limits
-    - name: GOMEMLIMIT
-      value: 3750MiB
-  gateway:
-    replicas: 0
-  backend:
-    replicas: 0
-  read:
-    replicas: 0
-  write:
-    replicas: 0
-  chunksCache:
-    enabled: false
-  resultsCache:
-    enabled: false
-  lokiCanary:
-    enabled: false
-  test:
-    enabled: false
-promtail:
-  fullnameOverride: promtail
-  config:
-    clients:
-      - url: http://loki:3100/loki/api/v1/push
-    positions:
-      filename: /run/promtail/positions.yaml
-    scrape_configs:
-      - job_name: system
-        static_configs:
-          - targets:
-            - localhost
-            labels:
-              job: varlogs
-              __path__: /var/log/*log
-  resources:
-    requests:
-      cpu: "50m"
-      memory: "128Mi"
-    limits:
-      cpu: "200m"
-      memory: "256Mi"
-  persistence:
-    enabled: true
-    storageClassName: "standard"
-    accessModes:
-      - ReadWriteOnce
-    size: 5Gi
-
diff --git a/tools/prometheus/Chart.yaml b/tools/prometheus/Chart.yaml
deleted file mode 100644
index 12854a2..0000000
--- a/tools/prometheus/Chart.yaml
+++ /dev/null
@@ -1,10 +0,0 @@
-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/templates/network-policy.yaml b/tools/prometheus/templates/network-policy.yaml
deleted file mode 100644
index 981d050..0000000
--- a/tools/prometheus/templates/network-policy.yaml
+++ /dev/null
@@ -1,21 +0,0 @@
-apiVersion: networking.k8s.io/v1
-kind: NetworkPolicy
-metadata:
-  name: allow-grafana-to-prometheus
-  namespace: monitoring
-spec:
-  podSelector:
-    matchLabels:
-      app.kubernetes.io/name: prometheus
-  policyTypes:
-    - Ingress
-  ingress:
-    - from:
-        - podSelector:
-            matchLabels:
-              app.kubernetes.io/name: grafana
-      ports:
-        - protocol: TCP
-          port: 9090
-        - protocol: TCP
-          port: 80
diff --git a/tools/prometheus/values.yaml b/tools/prometheus/values.yaml
deleted file mode 100644
index ae09083..0000000
--- a/tools/prometheus/values.yaml
+++ /dev/null
@@ -1,11 +0,0 @@
-prometheus:
-  alertmanager:
-    enabled: true
-
-  pushgateway:
-    enabled: true
-
-  server:
-    enabled: true
-  prometheus-node-exporter:
-    enabled: false