ukwa / ukwa-services

Deployment configuration for all UKWA services stacks.
Apache License 2.0
5 stars 5 forks source link

Add tasks to run under Airflow #32

Closed anjackson closed 1 year ago

anjackson commented 3 years ago

n.b. Some tasks need to be run on other services, but AirFlow can make the SSH connection dependencies nice and explicit (see example), and the remote task can still just run a Docker run command so we can manage the software distribution (note we might need a docker pull ukwa/ukwa-manage:latest as part of the remote script if were running latest).

Should also rationalise what's in:

[x] Add https://github.com/epoch8/airflow-exporter so we can integrate with Prometheus.

Ingest

Crawl

Management

Access

anjackson commented 1 year ago

n.b. stats pusher

 docker run  -ti -e HTTPS_PROXY=$HTTPS_PROXY ukwa/monitor-stat-pusher:master python update_pushgateway_stats.py prod
anjackson commented 1 year ago

Going to close this old messy ticket and add some specific ones. See #103 and #104