From 21dcae67030f120540ab4fcba5a021b5d64ed318 Mon Sep 17 00:00:00 2001 From: Ben Clifford Date: Thu, 5 Sep 2024 14:03:36 +0000 Subject: [PATCH] force hostname based address config, in line with comment in previous commit --- taskvine_k8s_kind.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/taskvine_k8s_kind.py b/taskvine_k8s_kind.py index 787e9fb396..ed3e94d8e8 100644 --- a/taskvine_k8s_kind.py +++ b/taskvine_k8s_kind.py @@ -2,11 +2,12 @@ from parsl.config import Config from parsl.launchers import SimpleLauncher from parsl.providers import KubernetesProvider +from parsl.addresses import address_by_hostname from parsl.executors.taskvine import TaskVineExecutor, TaskVineManagerConfig def fresh_config(): - return Config(executors=[TaskVineExecutor(manager_config=TaskVineManagerConfig(port=9000), + return Config(executors=[TaskVineExecutor(manager_config=TaskVineManagerConfig(address=address_by_hostname(), port=9000), worker_launch_method='provider', provider=KubernetesProvider( worker_init=". /venv/bin/activate",