I set up the datalore instance with external-server and we are having 2 external agents.
My agents-config.yaml
looks like:
docker:
network: datalore-agents-network
dataloreHost: datalore
instances:
- id: basic-agent
default: true
label: "docker-base"
description: "docker-base"
image: docker.io/jetbrains/datalore-agent:2023.2
external:
instances:
- id: machine-1
label: "machine-1"
description: "Some description"
image: jetbrains/datalore-agent:2023.3
command: "podman"
additionalOptions: "-e NVIDIA_VISIBLE_DEVICES=all"
- id: machine-2
label: "machine-2"
description: "Some description"
image: jetbrains/datalore-agent:2023.3
command: "podman"
additionalOptions: "-e NVIDIA_VISIBLE_DEVICES=all"
I have my agent buddles that each has their conf/buildAgent.properties
is edited and points to my external-server and name
value is same as label
and id
above.
When I create a new notebook and select let say machine-1
it arbitrarily creates the container in one of these two agents and creating another one is picking up the most idle machine. So it most like a load balancer other than being able to point agents.
I checked all documentation and configs but I couldn’t find anywhere if we can map agents so that we can run specific notebooks on specific machines by selecting the agents to run the notebook from the agent list.