Skip to content

Commit

Permalink
force hostname based address config, in line with comment in previous…
Browse files Browse the repository at this point in the history
… commit
  • Loading branch information
benclifford committed Sep 5, 2024
1 parent d4fab6a commit 21dcae6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion taskvine_k8s_kind.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 21dcae6

Please sign in to comment.