mirror of
https://github.com/mastodon/chart
synced 2025-05-18 04:53:21 +00:00
Customize readiness path, update comments
This commit is contained in:
parent
08f9101c24
commit
8c62763e41
|
@ -207,7 +207,7 @@ spec:
|
||||||
exec:
|
exec:
|
||||||
command:
|
command:
|
||||||
- cat
|
- cat
|
||||||
- /var/www/tmp/sidekiq_process_has_started_and_will_begin_processing_jobs
|
- {{ required "A valid sidekiq readiness path is required." $context.Values.mastodon.sidekiq.readinessProbe.path }}
|
||||||
initialDelaySeconds: {{ default 10 $context.Values.mastodon.sidekiq.readinessProbe.initialDelaySeconds }}
|
initialDelaySeconds: {{ default 10 $context.Values.mastodon.sidekiq.readinessProbe.initialDelaySeconds }}
|
||||||
periodSeconds: {{ default 2 $context.Values.mastodon.sidekiq.readinessProbe.periodSeconds }}
|
periodSeconds: {{ default 2 $context.Values.mastodon.sidekiq.readinessProbe.periodSeconds }}
|
||||||
successThreshold: {{ default 2 $context.Values.mastodon.sidekiq.readinessProbe.successThreshold }}
|
successThreshold: {{ default 2 $context.Values.mastodon.sidekiq.readinessProbe.successThreshold }}
|
||||||
|
|
|
@ -139,9 +139,11 @@ mastodon:
|
||||||
# -- Affinity for all Sidekiq Deployments unless overwritten, overwrites .Values.affinity
|
# -- Affinity for all Sidekiq Deployments unless overwritten, overwrites .Values.affinity
|
||||||
affinity: {}
|
affinity: {}
|
||||||
# Rollout strategy to use when updating pods.
|
# Rollout strategy to use when updating pods.
|
||||||
# Recreate is recommended for sidekiq pods for now because of possible data
|
# Recreate will help reduce the number of retried jobs when updating when
|
||||||
# error between old/new versions. Please only use RollingUpdate if you are
|
# the code introduces a new job as the pods are all replaced immediately.
|
||||||
# running a Mastodon version built after 2024-07-10.
|
# RollingUpdate can help with larger clusters if job retries aren't an
|
||||||
|
# issue, as it will reduce strain by replacing pods more slowly. It is
|
||||||
|
# strongly recommended to enable the readinessProbe when using RollingUpdate.
|
||||||
# ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
# ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
||||||
updateStrategy:
|
updateStrategy:
|
||||||
type: Recreate
|
type: Recreate
|
||||||
|
@ -149,6 +151,7 @@ mastodon:
|
||||||
# NOTE: Readiness probe will only work on versions of Mastodon built after 2024-07-10.
|
# NOTE: Readiness probe will only work on versions of Mastodon built after 2024-07-10.
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
enabled: false
|
enabled: false
|
||||||
|
path: /opt/mastodon/tmp/sidekiq_process_has_started_and_will_begin_processing_jobs
|
||||||
initialDelaySeconds: 10
|
initialDelaySeconds: 10
|
||||||
periodSeconds: 2
|
periodSeconds: 2
|
||||||
successThreshold: 2
|
successThreshold: 2
|
||||||
|
|
Loading…
Reference in New Issue
Block a user