Skip to content

Commit

Permalink
Merge pull request #506 from TomAugspurger/match-default-image
Browse files Browse the repository at this point in the history
Have default dask-gateway image match
  • Loading branch information
TomAugspurger committed Jan 24, 2020
2 parents 6dd8830 + 2237688 commit bd106c8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pangeo-deploy/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ pangeo:
operator: "Equal"
value: "worker"
extraConfig: |
import os
from dask_gateway_server.options import Options, Integer, Float, String
def option_handler(options):
Expand All @@ -72,7 +73,7 @@ pangeo:
c.DaskGateway.cluster_manager_options = Options(
Integer("worker_cores", 2, min=1, max=4, label="Worker Cores"),
Float("worker_memory", 4, min=1, max=8, label="Worker Memory (GiB)"),
String("image", default="pangeo/base-notebook:2019.12.24", label="Image"),
String("image", default=os.environ.get("JUPYTER_IMAGE_SPEC"), label="Image"),
handler=option_handler,
)
Expand Down

0 comments on commit bd106c8

Please sign in to comment.