Skip to content

Commit

Permalink
Update dask-worker @ k8s to not to use nanny contact address
Browse files Browse the repository at this point in the history
  • Loading branch information
oshadura committed Mar 17, 2023
1 parent d4dd2d4 commit 9e7318a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/k8s-worker/supervisord.conf
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,9 @@ serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
; supervisor.

; Adding (ENV_WORKER_ID) should fixes https://github.com/CoffeaTeam/jhub/issues/37
; Add later: --nanny-port 8001 --nanny-contact-address tls://%(ENV_WORKER_IP)s:8001
[program:dask-worker]
command=/bin/bash -c "dask-worker tls://%(ENV_HOST_IP)s:8786 --nthreads 2 --tls-ca-file %(ENV_CERT_DIR)s/..data/ca.pem --tls-cert %(ENV_CERT_DIR)s/..data/hostcert.pem --tls-key %(ENV_CERT_DIR)s/..data/hostcert.pem --nanny --nanny-port 8001 --nanny-contact-address tls://%(ENV_WORKER_IP)s:8001 --listen-address tls://0.0.0.0:8788 --name kubernetes-worker-%(ENV_WORKER_ID)s --contact-address tls://%(ENV_WORKER_IP)s:8788"
command=/bin/bash -c "dask-worker tls://%(ENV_HOST_IP)s:8786 --nthreads 2 --tls-ca-file %(ENV_CERT_DIR)s/..data/ca.pem --tls-cert %(ENV_CERT_DIR)s/..data/hostcert.pem --tls-key %(ENV_CERT_DIR)s/..data/hostcert.pem --nanny --listen-address tls://0.0.0.0:8788 --name kubernetes-worker-%(ENV_WORKER_ID)s --contact-address tls://%(ENV_WORKER_IP)s:8788"
startretries=100
autostart=true
autorestart=true
Expand Down

0 comments on commit 9e7318a

Please sign in to comment.