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

fix: loki schema config update #1201

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from
Draft

fix: loki schema config update #1201

wants to merge 7 commits into from

Conversation

UnicornChance
Copy link
Contributor

Description

TSDB has been the recommended store for Loki for several releases now. This set the default schemaConfig to TSDB and managed upgrading current clusters to TSDB.

Includes unit tests for the necessary logic utilities.

Related Issue

Fixes #782

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Other (security config, docs update, etc)

Steps to Validate

  • deploying uds core should result in a loki secret ( name: Loki, namespace: Loki ) that contains the config.yaml for configuring loki. That secret should have a schema config entry for TSDB that should start being used 2 days in the future.
  • upgrading an existing cluster that has not been upgraded should upgrade that secret to use the TSDB two days in the future
  • upgrading an existing cluster that already has the TSDB configured will not trigger the update again ( checks for annotation )

Checklist before merging

@UnicornChance UnicornChance self-assigned this Jan 16, 2025
@UnicornChance UnicornChance linked an issue Jan 16, 2025 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update to TSDB by default for Loki (and latest schema version)
1 participant