Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update loki #734

Merged
merged 4 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions pepr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { DataStore } from "pepr/dist/lib/storage";
import cfg from "./package.json";
import { istio } from "./src/pepr/istio";
import { Component, setupLogger } from "./src/pepr/logger";
import { loki } from "./src/pepr/loki";
import { operator } from "./src/pepr/operator";
import { setupAuthserviceSecret } from "./src/pepr/operator/controllers/keycloak/authservice/config";
import { Policy } from "./src/pepr/operator/crd";
Expand All @@ -27,9 +26,6 @@ const log = setupLogger(Component.STARTUP);
// UDS Core Policies
policies,

// Loki schemaConfig update
loki,

// Istio service mesh
istio,

Expand Down
Empty file removed src/loki/chart/values.yaml
Empty file.
2 changes: 1 addition & 1 deletion src/loki/common/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ components:
localPath: ../chart
- name: loki
url: https://grafana.github.io/helm-charts/
version: 6.6.2
version: 6.12.0
namespace: loki
valuesFiles:
- ../values/values.yaml
Expand Down
4 changes: 2 additions & 2 deletions src/loki/values/registry1-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ loki:
image:
registry: registry1.dso.mil
repository: ironbank/opensource/grafana/loki
tag: 3.0.0
tag: 3.1.1
podSecurityContext:
fsGroup: 10001
runAsGroup: 10001
Expand All @@ -19,7 +19,7 @@ gateway:
image:
registry: registry1.dso.mil
repository: ironbank/opensource/nginx/nginx-alpine
tag: 1.25.3
tag: 1.26.2
memcached:
image:
repository: registry1.dso.mil/ironbank/opensource/memcached/memcached
Expand Down
4 changes: 2 additions & 2 deletions src/loki/values/unicorn-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ loki:
image:
registry: cgr.dev
repository: du-uds-defenseunicorns/loki
tag: 3.0.0
tag: 3.1.1
gateway:
image:
registry: cgr.dev
repository: du-uds-defenseunicorns/nginx-fips
tag: 1.25.5
tag: 1.27.1
memcached:
image:
repository: cgr.dev/du-uds-defenseunicorns/memcached
Expand Down
4 changes: 2 additions & 2 deletions src/loki/values/upstream-values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ loki:
image:
registry: docker.io
repository: grafana/loki
tag: 3.0.0
tag: 3.1.1

gateway:
image:
registry: docker.io
repository: nginxinc/nginx-unprivileged
tag: 1.25-alpine
tag: 1.27-alpine

memcached:
image:
Expand Down
8 changes: 1 addition & 7 deletions src/loki/values/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,9 @@ loki:
index:
prefix: loki_tsdb_
period: 24h
- from: 2024-06-04
store: tsdb
object_store: "{{ .Values.loki.storage.type }}"
schema: v13
index:
prefix: loki_tsdb_
period: 24h
limits_config:
split_queries_by_interval: "30m"
allow_structured_metadata: false
query_scheduler:
max_outstanding_requests_per_tenant: 32000 # This is the default in Loki 3.0
extraMemberlistConfig:
Expand Down
12 changes: 6 additions & 6 deletions src/loki/zarf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ components:
valuesFiles:
- ./values/upstream-values.yaml
images:
- docker.io/grafana/loki:3.0.0
- docker.io/nginxinc/nginx-unprivileged:1.25-alpine
- docker.io/grafana/loki:3.1.1
- docker.io/nginxinc/nginx-unprivileged:1.27-alpine
- docker.io/memcached:1.6.27-alpine

- name: loki
Expand All @@ -32,8 +32,8 @@ components:
valuesFiles:
- ./values/registry1-values.yaml
images:
- registry1.dso.mil/ironbank/opensource/grafana/loki:3.0.0
- registry1.dso.mil/ironbank/opensource/nginx/nginx-alpine:1.25.3
- registry1.dso.mil/ironbank/opensource/grafana/loki:3.1.1
- registry1.dso.mil/ironbank/opensource/nginx/nginx-alpine:1.26.2
- registry1.dso.mil/ironbank/opensource/memcached/memcached:1.6.27

- name: loki
Expand All @@ -48,6 +48,6 @@ components:
valuesFiles:
- ./values/unicorn-values.yaml
images:
- cgr.dev/du-uds-defenseunicorns/loki:3.0.0
- cgr.dev/du-uds-defenseunicorns/nginx-fips:1.25.5
- cgr.dev/du-uds-defenseunicorns/loki:3.1.1
- cgr.dev/du-uds-defenseunicorns/nginx-fips:1.27.1
- cgr.dev/du-uds-defenseunicorns/memcached:1.6.27
3 changes: 0 additions & 3 deletions src/pepr/loki/README.md

This file was deleted.

125 changes: 0 additions & 125 deletions src/pepr/loki/index.ts

This file was deleted.

Loading