From 9e8580e86e2ed44c21eaf4280ef4c229358987c5 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 20 Aug 2020 09:51:21 -0500 Subject: [PATCH 1/5] Update README.md --- dask/README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/dask/README.md b/dask/README.md index 5902ea2..61489c1 100644 --- a/dask/README.md +++ b/dask/README.md @@ -13,13 +13,13 @@ Dask This chart will deploy the following: -- 1 x Dask scheduler with port 8786 (scheduler) and 80 (Web UI) exposed on an external LoadBalancer (default) +- 1 x Dask scheduler with port 8786 (scheduler) and 80 (Web UI) - 3 x Dask workers that connect to the scheduler -- 1 x Jupyter notebook (optional) with port 80 exposed on an external LoadBalancer (default) +- 1 x Jupyter notebook (optional) - All using Kubernetes Deployments > **Tip**: See the [Kubernetes Service Type Docs](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) -> for the differences between ClusterIP, NodePort, and LoadBalancer. +> for the differences between ClusterIP, NodePort, and LoadBalancer. To access the Dask Cluster from outside of the Kubernetes Cluster (from your laptop, say) you'll neeed to set `scheduler.serviceType` and `jupyter.serviceType` to `LoadBalancer`. ## Installing the Chart @@ -65,7 +65,7 @@ The following table lists the configurable parameters of the Dask chart and thei | `scheduler.image.pullPolicy` | Container image pull policy. | `"IfNotPresent"` | | `scheduler.image.pullSecrets` | Container image [pull secrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). | `null` | | `scheduler.replicas` | Number of schedulers (should always be 1). | `1` | -| `scheduler.serviceType` | Scheduler service type. set to `loadbalancer` to expose outside of your cluster. | `"ClusterIP"` | +| `scheduler.serviceType` | Scheduler service type. set to `LoadBalancer` to expose outside of your cluster. | `"ClusterIP"` | | `scheduler.servicePort` | Scheduler service internal port. | `8786` | | `scheduler.resources` | Scheduler pod resources. see `values.yaml` for example values. | `{}` | | `scheduler.tolerations` | Tolerations. | `[]` | @@ -100,7 +100,7 @@ The following table lists the configurable parameters of the Dask chart and thei | `jupyter.image.pullPolicy` | Container image pull policy. | `"IfNotPresent"` | | `jupyter.image.pullSecrets` | Container image [pull secrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). | `null` | | `jupyter.replicas` | Number of notebook servers. | `1` | -| `jupyter.serviceType` | Scheduler service type. set to `loadbalancer` to expose outside of your cluster. | `"ClusterIP"` | +| `jupyter.serviceType` | Scheduler service type. set to `LoadBalancer` to expose outside of your cluster. | `"ClusterIP"` | | `jupyter.servicePort` | Jupyter service internal port. | `80` | | `jupyter.password` | Password hash. default hash corresponds to the password `dask`. | `"sha1:aae8550c0a44:9507d45e087d5ee481a5ce9f4f16f37a0867318c"` | | `jupyter.env` | Environment variables. see `values.yaml` for example values. | `null` | From 8b0bd8a5b955ebfce311a675def4c8dd9e15d311 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 20 Aug 2020 14:54:20 -0500 Subject: [PATCH 2/5] use frigate --- dask/.frigate | 8 ++++---- dask/README.md | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dask/.frigate b/dask/.frigate index 1f826ac..19b5403 100644 --- a/dask/.frigate +++ b/dask/.frigate @@ -12,13 +12,13 @@ This chart will deploy the following: -- 1 x Dask scheduler with port 8786 (scheduler) and 80 (Web UI) exposed on an external LoadBalancer (default) +- 1 x Dask scheduler with the scheduler on port 8786 and the Dashboard on port 80 - 3 x Dask workers that connect to the scheduler -- 1 x Jupyter notebook (optional) with port 80 exposed on an external LoadBalancer (default) +- 1 x Jupyter notebook (optional) - All using Kubernetes Deployments > **Tip**: See the [Kubernetes Service Type Docs](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) -> for the differences between ClusterIP, NodePort, and LoadBalancer. +> for the differences between ClusterIP, NodePort, and LoadBalancer. To access the Dask Cluster from outside of the Kubernetes Cluster (from your laptop, say) you'll neeed to set `scheduler.serviceType` and `jupyter.serviceType` to `LoadBalancer`. ## Installing the Chart @@ -223,4 +223,4 @@ Or manually run the steps below. {%- endblock %} {% block credits -%} -{%- endblock %} \ No newline at end of file +{%- endblock %} diff --git a/dask/README.md b/dask/README.md index 61489c1..6c9dc04 100644 --- a/dask/README.md +++ b/dask/README.md @@ -13,7 +13,7 @@ Dask This chart will deploy the following: -- 1 x Dask scheduler with port 8786 (scheduler) and 80 (Web UI) +- 1 x Dask scheduler with the scheduler on port 8786 and the Dashboard on port 80 - 3 x Dask workers that connect to the scheduler - 1 x Jupyter notebook (optional) - All using Kubernetes Deployments @@ -65,7 +65,7 @@ The following table lists the configurable parameters of the Dask chart and thei | `scheduler.image.pullPolicy` | Container image pull policy. | `"IfNotPresent"` | | `scheduler.image.pullSecrets` | Container image [pull secrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). | `null` | | `scheduler.replicas` | Number of schedulers (should always be 1). | `1` | -| `scheduler.serviceType` | Scheduler service type. set to `LoadBalancer` to expose outside of your cluster. | `"ClusterIP"` | +| `scheduler.serviceType` | Scheduler service type. set to `loadbalancer` to expose outside of your cluster. | `"ClusterIP"` | | `scheduler.servicePort` | Scheduler service internal port. | `8786` | | `scheduler.resources` | Scheduler pod resources. see `values.yaml` for example values. | `{}` | | `scheduler.tolerations` | Tolerations. | `[]` | @@ -100,7 +100,7 @@ The following table lists the configurable parameters of the Dask chart and thei | `jupyter.image.pullPolicy` | Container image pull policy. | `"IfNotPresent"` | | `jupyter.image.pullSecrets` | Container image [pull secrets](https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/). | `null` | | `jupyter.replicas` | Number of notebook servers. | `1` | -| `jupyter.serviceType` | Scheduler service type. set to `LoadBalancer` to expose outside of your cluster. | `"ClusterIP"` | +| `jupyter.serviceType` | Scheduler service type. set to `loadbalancer` to expose outside of your cluster. | `"ClusterIP"` | | `jupyter.servicePort` | Jupyter service internal port. | `80` | | `jupyter.password` | Password hash. default hash corresponds to the password `dask`. | `"sha1:aae8550c0a44:9507d45e087d5ee481a5ce9f4f16f37a0867318c"` | | `jupyter.env` | Environment variables. see `values.yaml` for example values. | `null` | From 842b6e683ef28034a58ecb52e4823ed4494f41b7 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 20 Aug 2020 14:55:36 -0500 Subject: [PATCH 3/5] restore readme --- dask/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dask/README.md b/dask/README.md index 6c9dc04..5902ea2 100644 --- a/dask/README.md +++ b/dask/README.md @@ -13,13 +13,13 @@ Dask This chart will deploy the following: -- 1 x Dask scheduler with the scheduler on port 8786 and the Dashboard on port 80 +- 1 x Dask scheduler with port 8786 (scheduler) and 80 (Web UI) exposed on an external LoadBalancer (default) - 3 x Dask workers that connect to the scheduler -- 1 x Jupyter notebook (optional) +- 1 x Jupyter notebook (optional) with port 80 exposed on an external LoadBalancer (default) - All using Kubernetes Deployments > **Tip**: See the [Kubernetes Service Type Docs](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) -> for the differences between ClusterIP, NodePort, and LoadBalancer. To access the Dask Cluster from outside of the Kubernetes Cluster (from your laptop, say) you'll neeed to set `scheduler.serviceType` and `jupyter.serviceType` to `LoadBalancer`. +> for the differences between ClusterIP, NodePort, and LoadBalancer. ## Installing the Chart From d70df013835146fcd1f9877f15cd7d98f7dc71f8 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 20 Aug 2020 14:55:47 -0500 Subject: [PATCH 4/5] restore readme --- dask/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dask/README.md b/dask/README.md index 5902ea2..6c9dc04 100644 --- a/dask/README.md +++ b/dask/README.md @@ -13,13 +13,13 @@ Dask This chart will deploy the following: -- 1 x Dask scheduler with port 8786 (scheduler) and 80 (Web UI) exposed on an external LoadBalancer (default) +- 1 x Dask scheduler with the scheduler on port 8786 and the Dashboard on port 80 - 3 x Dask workers that connect to the scheduler -- 1 x Jupyter notebook (optional) with port 80 exposed on an external LoadBalancer (default) +- 1 x Jupyter notebook (optional) - All using Kubernetes Deployments > **Tip**: See the [Kubernetes Service Type Docs](https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types) -> for the differences between ClusterIP, NodePort, and LoadBalancer. +> for the differences between ClusterIP, NodePort, and LoadBalancer. To access the Dask Cluster from outside of the Kubernetes Cluster (from your laptop, say) you'll neeed to set `scheduler.serviceType` and `jupyter.serviceType` to `LoadBalancer`. ## Installing the Chart From 941088e46b19bd93eeb54df488cacea4e4193c71 Mon Sep 17 00:00:00 2001 From: Tom Augspurger Date: Thu, 20 Aug 2020 14:56:33 -0500 Subject: [PATCH 5/5] update gen instructions --- dask/.frigate | 2 +- dask/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dask/.frigate b/dask/.frigate index 19b5403..3ac2e4f 100644 --- a/dask/.frigate +++ b/dask/.frigate @@ -191,7 +191,7 @@ If you wish to make a change to the README body you must edit `dask/.frigate` in To generate the readme run Frigate. ``` -frigate gen dask > README.md +frigate gen dask > dask/README.md ``` ### Releasing diff --git a/dask/README.md b/dask/README.md index 6c9dc04..428b57a 100644 --- a/dask/README.md +++ b/dask/README.md @@ -254,7 +254,7 @@ If you wish to make a change to the README body you must edit `dask/.frigate` in To generate the readme run Frigate. ``` -frigate gen dask > README.md +frigate gen dask > dask/README.md ``` ### Releasing