-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add overrides file for our jsonnet library. (#1705)
* Add overrides files for our jsonnet library. This will now automatically load up overrides for tenants if any for each component. Signed-off-by: Cyril Tovena <[email protected]> * Add quotes on the tenant example. Signed-off-by: Cyril Tovena <[email protected]> * Mount overrides with a different path than the config. Signed-off-by: Cyril Tovena <[email protected]>
- Loading branch information
1 parent
9be21a7
commit bac3afe
Showing
8 changed files
with
40 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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 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 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,28 @@ | ||
{ | ||
_config+: { | ||
overrides: { | ||
// insert tenant overrides here. see https://github.com/grafana/loki/tree/master/docs/configuration#limits_config | ||
// | ||
// 'tenant_x': { | ||
// ingestion_rate_strategy: 'global', | ||
// ingestion_rate_mb: 12, | ||
// ingestion_burst_size_mb: 20, | ||
// max_line_size: 2048, | ||
// split_queries_by_interval: '30m', | ||
// max_concurrent_tail_requests: 10, | ||
// max_query_parallelism: 32, | ||
// }, | ||
}, | ||
}, | ||
local configMap = $.core.v1.configMap, | ||
|
||
overrides_config: | ||
configMap.new('overrides') + | ||
configMap.withData({ | ||
'overrides.yaml': $.util.manifestYaml( | ||
{ | ||
overrides: $._config.overrides, | ||
} | ||
), | ||
}), | ||
} |
This file contains 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 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 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