Skip to content

Commit

Permalink
fix(worker): fix liveness probe changes (#1139)
Browse files Browse the repository at this point in the history
Co-authored-by: Anton Donskoy <[email protected]>
  • Loading branch information
adonskoy and Anton Donskoy authored Feb 12, 2024
1 parent a274fc1 commit 1042c3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sentry/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: sentry
description: A Helm chart for Kubernetes
type: application
version: 21.4.0
version: 21.4.1
appVersion: 24.1.2
dependencies:
- name: memcached
Expand Down
2 changes: 1 addition & 1 deletion sentry/templates/deployment-sentry-worker.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ spec:
- sentry
- exec
- -c
- 'import celery, os; dest="celery@{}".format(os.environ["HOSTNAME"]); print(celery.task.control.ping(destination=[dest], timeout=5)[0][dest]["ok"])'
- 'from sentry.celery import app; import os; dest="celery@{}".format(os.environ["HOSTNAME"]); print(app.control.ping(destination=[dest], timeout=5)[0][dest]["ok"])'
{{- end }}
resources:
{{ toYaml .Values.sentry.worker.resources | indent 12 }}
Expand Down

0 comments on commit 1042c3d

Please sign in to comment.