-
Notifications
You must be signed in to change notification settings - Fork 0
Switch preset to extra-small by default #17
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,65 @@ | ||
| = Upgrade component version v0 to v1 | ||
|
|
||
| Version 1.x is a major overhaul of the configuration parameters of the component, | ||
| https://github.com/projectsyn/component-loki/releases/tag/v1.0.0[see Release Notes] for more details. | ||
|
|
||
| The component has lots of options to configure each part of the Loki installation. | ||
| Please have a look at the xref:references/parameters.adoc[parameters documentation] for reference. | ||
|
|
||
| [IMPORTANT] | ||
| ==== | ||
| As of March 16, 2026, the Grafana Loki Helm chart for OSS users has moved to grafana-community/helm-charts (forked at chart version 6.55.0). | ||
| This component will no longer support Helm charts from grafana/loki, instead it uses Helm charts from grafana-community (> v17.x). | ||
| ==== | ||
|
|
||
|
|
||
| == Explanation of configuration changes | ||
|
|
||
| === Migrate to Deployment Mode `Distributed` | ||
|
|
||
| [IMPORTANT] | ||
| ==== | ||
| Prior version of this component used the deployment mode `SimpleScalable`, see https://grafana.com/docs/loki/latest/get-started/deployment-modes/#simple-scalable[Loki Documentation]. | ||
| This mode is deprecated and will be removed with Loki v4. | ||
| Only the preset `legacy` will support `SimpleScalable`, but it is strongly adviced to switch away from `SimpleScalable` and `legacy`. | ||
| ==== | ||
|
|
||
| ==== Step 1 | ||
|
|
||
| Deploy v1.x of this component with the following parameters: | ||
|
|
||
| [source,yaml] | ||
| ---- | ||
| preset: legacy <1> | ||
| helm_values: | ||
| deploymentMode: SimpleScalable<->Distributed <2> | ||
| ---- | ||
| <1> Uses `legacy` preset for component configuration. | ||
| <2> Prepares for the transition to `Distributed`. | ||
|
|
||
| ==== Step 2 | ||
|
|
||
| Remove the parameters from "Step 1" and deploy again. | ||
|
|
||
| === New Default Resource Requests | ||
|
|
||
| [IMPORTANT] | ||
| ==== | ||
| This component changes its default resource requests and limits, please check the output of your catalog compilation and adjust if needed. | ||
| See xref:references/parameters.adoc#_components[components] and xref:references/parameters.adoc#_caches[caches] to adjust your settings. | ||
| ==== | ||
|
|
||
| This component supports the following presets: | ||
|
|
||
| * `none`: Use the Helm charts defaults. | ||
| * `legacy`: Component defaults for migrating to v1. | ||
| * `extra-small`: Component defaults for small production deployments (default). | ||
|
|
||
| === legacy `globalNodeSelector` | ||
|
|
||
| The values for the global node selector has moved to `global.nodeSelector`. | ||
|
|
||
| [TIP] | ||
| ==== | ||
| This change is backward compatible, but migrating the values to the new structure is recommended. | ||
| ==== |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| * xref:index.adoc[Home] | ||
| * xref:references/parameters.adoc[Parameters] | ||
| * xref:how-tos/upgrade-loki-v0-v1.adoc[] |
28 changes: 0 additions & 28 deletions
28
...den/defaults/loki/loki/10_helm_loki/loki/templates/backend/query-scheduler-discovery.yaml
This file was deleted.
Oops, something went wrong.
215 changes: 0 additions & 215 deletions
215
tests/golden/defaults/loki/loki/10_helm_loki/loki/templates/backend/workload.yaml
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.