Skip to content

Configuration for running on Minikube

This configuration is indeed to run GWcelery using the minikube deployment of

  • graceDB (gracedb.default.svc.cluster.local)
  • igwn-alert (hopskotch-server)
  • scimma (hopskotch-server/igwn.gwalert-minikube)

The minikube deployment is described in the git repository and the documentation is here.

To use it, one will need to set to use the appropriate certificate for access gracedb (the instance use a self-signed certificate):

export REQUESTS_CA_BUNDLE=../igwn-kube-gracedb/gracedb/certificates/mini/ca.crt

where REQUESTS_CA_BUNDLE points to the self-signed certificate generated for the minikube gracedb deployment. To run the local version of gwcelery one has to run the commands:

export CELERY_CONFIG_MODULE=gwcelery.conf.minikube
poetry run gwcelery worker -l info -n gwcelery-worker -Q celery -B --igwn-alert
poetry run gwcelery worker -l info -n gwcelery-superevent-worker -Q superevent -c 1 
poetry run gwcelery worker -l info -n gwcelery-openmp-worker -Q openmp -c 1
poetry run gwcelery worker -l info -n gwcelery-voevent-worker -Q voevent -P solo
poetry run gwcelery worker -l info -n gwcelery-exttrig-worker -Q exttrig -c 1
poetry run gwcelery worker -l info -n gwcelery-kafka-worker -Q kafka -P solo  
Edited by Roberto DePietri

Merge request reports

Loading