diff options
author | makefunstuff <[email protected]> | 2024-06-29 17:10:42 +0200 |
---|---|---|
committer | makefunstuff <[email protected]> | 2024-06-29 17:10:42 +0200 |
commit | 2435ad905abd5c94df2be8dd2f995f0353e0e459 (patch) | |
tree | e3f248c5a20887e93b9d301f8c11a592c461ec51 /tools | |
parent | 085a1e6cab5a79fa533f051b166f3b6bebfb5844 (diff) | |
download | k3s-lab-2435ad905abd5c94df2be8dd2f995f0353e0e459.tar.gz |
eck operator
Diffstat (limited to '')
-rw-r--r-- | tools/eck-operator/Chart.yaml | 12 | ||||
-rw-r--r-- | tools/eck-operator/values.yaml | 0 | ||||
-rw-r--r-- | tools/loki-promtail/Chart.yaml | 12 | ||||
-rw-r--r-- | tools/loki-promtail/values.yaml | 90 | ||||
-rw-r--r-- | tools/prometheus/Chart.yaml | 10 | ||||
-rw-r--r-- | tools/prometheus/templates/network-policy.yaml | 21 | ||||
-rw-r--r-- | tools/prometheus/values.yaml | 11 |
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 |