From 498b65011721155711655a3851ea6a4d3882a17c Mon Sep 17 00:00:00 2001 From: Mic Szillat Date: Tue, 13 Aug 2024 23:00:58 +0200 Subject: [PATCH] uninstall Loki Due to resource exhaustion, we remove Loki for now. --- apps/loki/helm-release.yaml | 17 -------- apps/loki/helm-repository.yaml | 8 ---- apps/loki/kustomization.yaml | 8 ---- apps/loki/namespace.yaml | 5 --- apps/loki/values.yaml | 75 ---------------------------------- 5 files changed, 113 deletions(-) delete mode 100644 apps/loki/helm-release.yaml delete mode 100644 apps/loki/helm-repository.yaml delete mode 100644 apps/loki/kustomization.yaml delete mode 100644 apps/loki/namespace.yaml delete mode 100644 apps/loki/values.yaml diff --git a/apps/loki/helm-release.yaml b/apps/loki/helm-release.yaml deleted file mode 100644 index 17d9ac3..0000000 --- a/apps/loki/helm-release.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -apiVersion: helm.toolkit.fluxcd.io/v2beta2 -kind: HelmRelease -metadata: - name: loki -spec: - interval: 1h - install: - createNamespace: false - chart: - spec: - chart: loki - sourceRef: - kind: HelmRepository - name: grafana - valuesFiles: - - values.yaml diff --git a/apps/loki/helm-repository.yaml b/apps/loki/helm-repository.yaml deleted file mode 100644 index 420f747..0000000 --- a/apps/loki/helm-repository.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -apiVersion: source.toolkit.fluxcd.io/v1beta1 -kind: HelmRepository -metadata: - name: grafana -spec: - url: https://grafana.github.io/helm-charts - interval: 1h diff --git a/apps/loki/kustomization.yaml b/apps/loki/kustomization.yaml deleted file mode 100644 index 0304f9c..0000000 --- a/apps/loki/kustomization.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -apiVersion: kustomize.config.k8s.io/v1beta1 -kind: Kustomization -namespace: loki -resources: -- helm-release.yaml -- helm-repository.yaml -- namespace.yaml diff --git a/apps/loki/namespace.yaml b/apps/loki/namespace.yaml deleted file mode 100644 index 32e2a97..0000000 --- a/apps/loki/namespace.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -apiVersion: v1 -kind: Namespace -metadata: - name: loki diff --git a/apps/loki/values.yaml b/apps/loki/values.yaml deleted file mode 100644 index 2890e83..0000000 --- a/apps/loki/values.yaml +++ /dev/null @@ -1,75 +0,0 @@ ---- -loki: - commonConfig: - replication_factor: 1 - schemaConfig: - configs: - - from: 2024-04-01 - store: tsdb - object_store: s3 - schema: v13 - index: - prefix: loki_index_ - period: 24h - ingester: - chunk_encoding: snappy - tracing: - enabled: true - querier: - max_concurrent: 2 - storage: - bucketNames: - chunks: chunks - ruler: ruler - admin: admin - -deploymentMode: SingleBinary - -singleBinary: - replicas: 1 - resources: - limits: - cpu: 3 - memory: 4Gi - requests: - cpu: 2 - memory: 2Gi - extraEnv: - # Keep a little bit lower than memory limits - - name: GOMEMLIMIT - value: 3750MiB - -chunksCache: - # default is 500MB, with limited memory keep this smaller - writebackSizeLimit: 10MB - -# Enable minio for storage -minio: - enabled: true - -# Zero out replica counts of other deployment modes -backend: - replicas: 0 -read: - replicas: 0 -write: - replicas: 0 - -ingester: - replicas: 0 -querier: - replicas: 0 -queryFrontend: - replicas: 0 -queryScheduler: - replicas: 0 -distributor: - replicas: 0 -compactor: - replicas: 0 -indexGateway: - replicas: 0 -bloomCompactor: - replicas: 0 -bloomGateway: - replicas: 0