Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update versions, put username in dask pod name #128

Merged
merged 1 commit into from
Feb 22, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions gce/notebook/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,14 @@ RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager @jupyterlab

RUN pip install fusepy click jedi kubernetes --upgrade --no-cache-dir

RUN pip install git+https://github.com/dask/daskernetes \
RUN pip install daskernetes==0.1.3 \
git+https://github.com/zarr-developers/zarr \
git+https://github.com/pydata/xarray \
git+https://github.com/dask/gcsfs \
--no-cache-dir

RUN pip install git+https://github.com/dask/distributed.git@bc436e242884a1d4cf3a85ce6d5d378b5663122d \
RUN pip install distributed==1.21.1 \
dask==0.17.1 \
--no-dependencies \
--no-cache-dir

Expand All @@ -55,6 +56,7 @@ COPY worker-template.yaml /pre-home
COPY examples/ /pre-home/examples/
ENV DASKERNETES_WORKER_TEMPLATE_PATH /home/$NB_USER/worker-template.yaml
ENV DASKERNETES_DIAGNOSTICS_LINK {JUPYTERHUB_SERVICE_PREFIX}proxy/{port}/status
ENV DASKERNETES_WORKER_NAME dask-{JUPYTERHUB_USER}-{uuid}
RUN mkdir /gcs && chown -R $NB_USER /gcs
RUN mkdir /opt/app

Expand Down
2 changes: 1 addition & 1 deletion gce/notebook/worker-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ spec:
restartPolicy: Never
containers:
- args: [dask-worker, --nthreads, '2', --no-bokeh, --memory-limit, 7GB, --death-timeout, '60']
image: daskdev/pangeo-worker:2018-02-14
image: daskdev/pangeo-worker:2018-02-22
name: dask-worker
securityContext:
capabilities:
Expand Down
5 changes: 4 additions & 1 deletion gce/worker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,13 @@ RUN pip install git+https://github.com/zarr-developers/zarr \
fusepy \
--no-cache-dir

RUN pip install git+https://github.com/dask/distributed.git@bc436e242884a1d4cf3a85ce6d5d378b5663122d \
RUN pip install distributed==1.21.1 \
dask==0.17.1 \
--no-dependencies \
--no-cache-dir

ENV OMP_NUM_THREADS=1

USER root
COPY prepare.sh /usr/bin/prepare.sh
RUN chmod +x /usr/bin/prepare.sh
Expand Down