-
-
Notifications
You must be signed in to change notification settings - Fork 91
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
support kubernetes recommended labels #298
Open
dxma
wants to merge
5
commits into
dask:main
Choose a base branch
from
dxma:support-kubernetes-recommended-labels
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
c6e4f6a
support kubernetes recommended labels
dxma 80187a8
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] d745fca
support annotations on jupter/scheduler
dxma b119d25
Merge branch 'support-kubernetes-recommended-labels' of https://githu…
dxma 26835de
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -60,6 +60,7 @@ The following table lists the configurable parameters of the Dask chart and thei | |
| Parameter | Description | Default | | ||
| ------------------------ | ----------------------- | -------------- | | ||
| `scheduler.name` | Dask scheduler name. | `"scheduler"` | | ||
| `scheduler.component` | | `"scheduler"` | | ||
| `scheduler.enabled` | Enable/disable scheduler. | `true` | | ||
| `scheduler.image.repository` | Container image repository. | `"ghcr.io/dask/dask"` | | ||
| `scheduler.image.tag` | Container image tag. | `"2022.6.1"` | | ||
|
@@ -72,6 +73,7 @@ The following table lists the configurable parameters of the Dask chart and thei | |
| `scheduler.serviceAnnotations` | Scheduler service annotations. | `{}` | | ||
| `scheduler.extraArgs` | | `[]` | | ||
| `scheduler.resources` | Scheduler pod resources. See `values.yaml` for example values. | `{}` | | ||
| `scheduler.annotations` | Annotations | `{}` | | ||
| `scheduler.tolerations` | Tolerations. | `[]` | | ||
| `scheduler.affinity` | Container affinity. | `{}` | | ||
| `scheduler.nodeSelector` | Node Selector. | `{}` | | ||
|
@@ -93,6 +95,7 @@ The following table lists the configurable parameters of the Dask chart and thei | |
| `webUI.ingress.hostname` | Ingress hostname. | `"dask-ui.example.com"` | | ||
| `webUI.ingress.annotations` | | `{}` | | ||
| `worker.name` | Dask worker name. | `"worker"` | | ||
| `worker.component` | | `"worker"` | | ||
| `worker.image.repository` | Container image repository. | `"ghcr.io/dask/dask"` | | ||
| `worker.image.tag` | Container image tag. | `"2022.6.1"` | | ||
| `worker.image.pullPolicy` | Container image pull policy. | `"IfNotPresent"` | | ||
|
@@ -124,6 +127,7 @@ The following table lists the configurable parameters of the Dask chart and thei | |
| `worker.metrics.podMonitor.metricRelabelings` | MetricRelabelConfigs to apply to samples before ingestion. | `[]` | | ||
| `additional_worker_groups` | Additional groups of workers to create. List of groups with same options as `worker`. | `[]` | | ||
| `jupyter.name` | Jupyter name. | `"jupyter"` | | ||
| `jupyter.component` | | `"jupyter"` | | ||
| `jupyter.enabled` | Enable/disable the bundled Jupyter notebook. | `true` | | ||
| `jupyter.rbac` | Create RBAC service account and role to allow Jupyter pod to scale worker pods and access logs. | `true` | | ||
| `jupyter.image.repository` | Container image repository. | `"ghcr.io/dask/dask-notebook"` | | ||
|
@@ -140,6 +144,7 @@ The following table lists the configurable parameters of the Dask chart and thei | |
| `jupyter.extraConfig` | | `"# Extra Jupyter config goes here\n# E.g\n# c.NotebookApp.port = 8888"` | | ||
| `jupyter.resources` | Jupyter pod resources. See `values.yaml` for example values. | `{}` | | ||
| `jupyter.mounts` | Worker Pod volumes and volume mounts, mounts.volumes follows kuberentes api v1 Volumes spec. mounts.volumeMounts follows kubernetesapi v1 VolumeMount spec | `{}` | | ||
| `jupyter.annotations` | Annotations | `{}` | | ||
| `jupyter.tolerations` | Tolerations. | `[]` | | ||
| `jupyter.affinity` | Container affinity. | `{}` | | ||
| `jupyter.nodeSelector` | Node Selector. | `{}` | | ||
|
@@ -150,6 +155,7 @@ The following table lists the configurable parameters of the Dask chart and thei | |
| `jupyter.ingress.pathType` | set pathType in ingress | `"Prefix"` | | ||
| `jupyter.ingress.hostname` | Ingress hostname. | `"dask-jupyter.example.com"` | | ||
| `jupyter.ingress.annotations` | | `{}` | | ||
| `label.style` | helm|kubernetes | `"helm"` | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I like this. |
||
|
||
#### Jupyter Password | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm curious why these
component
options are configurable? What use cases do you see for changing them?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, mainly because the value 'scheduler/worker/jupyter' is too generic :-) Think of making dask a part of large system, there might be existing deployments using one of these component value already. In that case, people might prefer to change it into something like 'dask-scheduler' instead.
my $0.02
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough. I'm just on guard for config creep, especially for things that wont get used much. I haven't seen a need for this.
If you think this will come up for folks and isn't just a "what if" then I'm happy for it to go in.