forked from ls1intum/Athena-CoFee
-
Notifications
You must be signed in to change notification settings - Fork 0
/
load-balance.yml
31 lines (27 loc) · 1.31 KB
/
load-balance.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Configure compute nodes being managed by docker compose/swarm and registered to traefik
docker_nodes:
# This url resolves to the API of the traefik-container inside the docker-network started via docker-compose
- traefik_service_api: http://athene-traefik:8080/api/http/services/
segmentation_service_name: segmentation-athene@docker
embedding_service_name: embedding-athene@docker
clustering_service_name: clustering-athene@docker
trigger_route: /trigger
# Configure stand-alone compute nodes
#compute_nodes:
# - name: segmentation-stand-alone
# # This url resolves to the segmentation-container inside the docker-compose network
# trigger_url: http://athene-segmentation:8000/trigger
# type: segmentation
# - name: embedding-stand-alone
# # This url resolves to the embedding-container inside the docker-compose network
# trigger_url: http://athene-embedding:8000/trigger
# type: embedding
# - name: clustering-stand-alone
# # This url resolves to the clustering-container inside the docker-compose network
# trigger_url: http://athene-clustering:8000/trigger
# type: clustering
# - name: gpu-server
# trigger_username: athene_user
# trigger_password: athene_password
# trigger_url: https://bamboo.example.com/rest/api/latest/queue/PLAN-KEY?JOB1&ExecuteAllStages
# type: gpu