mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
Add documentation, move concurrency near resources
This commit is contained in:
parent
d4b7c358b1
commit
2cf807049f
22
values.yaml
22
values.yaml
|
@ -35,11 +35,29 @@ mastodon:
|
||||||
# Whether to perform DB migrations on `helm upgrade`.
|
# Whether to perform DB migrations on `helm upgrade`.
|
||||||
dbMigrate:
|
dbMigrate:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
|
# WARNING: deploySearch is potentially a very expensive job!
|
||||||
|
# Only enable this once at a time, when you deploy elasticsearch or when
|
||||||
|
# the upgrade notes for a new mastodon version request rebuilding search.
|
||||||
|
# Recommended use is via `-f mastodon.hooks.deploySearch.enabled=true`
|
||||||
|
# to ensure the job is only dispatched for a single upgrade when required.
|
||||||
|
# This job may take days to run on very large instances. Even small
|
||||||
|
# instances may take long enough to trigger helm's completion timeout, so
|
||||||
|
# DO NOT PANIC if helm complains; simply verify the job is still running.
|
||||||
|
#
|
||||||
|
# Builds or rebuilds the elasticsearch indices via `tootctl deploy search`
|
||||||
|
# with timing hooks to ensure the job runs immediately after install/upgrade
|
||||||
|
# and will be restarted if another, corrective upgrade is triggered.
|
||||||
|
# Please check the tootctl documentation and upgrade notes to pick values.
|
||||||
|
#
|
||||||
|
# NOTE: The resource stanza set below is intentionally very conservative.
|
||||||
|
# Consider assigning a liberal chunk of your cluster's typical headroom.
|
||||||
deploySearch:
|
deploySearch:
|
||||||
enabled: false
|
enabled: false
|
||||||
concurrency: 5
|
|
||||||
resetChewy: true
|
resetChewy: true
|
||||||
only: "" # one index name. Possible values: instances, accounts, tags, statuses, public_statuses
|
# one index name. Possible values: instances, accounts, tags, statuses, public_statuses
|
||||||
|
only: ""
|
||||||
|
concurrency: 5
|
||||||
resources: # this accepts any keys in a full container resources stanza.
|
resources: # this accepts any keys in a full container resources stanza.
|
||||||
requests:
|
requests:
|
||||||
cpu: 250m
|
cpu: 250m
|
||||||
|
|
Loading…
Reference in New Issue
Block a user