Skip to content
This repository has been archived by the owner on Sep 18, 2024. It is now read-only.

Commit

Permalink
dask from tolereation nodeselector
Browse files Browse the repository at this point in the history
  • Loading branch information
fcomte committed Jul 23, 2022
1 parent b70a015 commit 792125d
Show file tree
Hide file tree
Showing 3 changed files with 69 additions and 7 deletions.
4 changes: 2 additions & 2 deletions charts/dask/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 2.2.0
version: 2.3.0

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
appVersion: 1
dependencies:
- name: dask
version: 2021.11.1
version: 2022.6.0
repository: https://helm.dask.org/
enabled: true
- name: library-chart
Expand Down
66 changes: 66 additions & 0 deletions charts/dask/values.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,28 @@
"default": "inseefrlab/rapidsai"
}
}
},
"tolerations": {
"type": "array",
"description": "Array of tolerations",
"default": [],
"x-form": {
"value": "{{region.tolerations}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.tolerations"
}
},
"nodeSelector": {
"type": "object",
"description": "NodeSelector",
"default": {},
"x-form": {
"value": "{{region.nodeSelector}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.nodeSelector"
}
}
}
},
Expand All @@ -46,6 +68,28 @@
}
}
},
"tolerations": {
"type": "array",
"description": "Array of tolerations",
"default": [],
"x-form": {
"value": "{{region.tolerations}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.tolerations"
}
},
"nodeSelector": {
"type": "object",
"description": "NodeSelector",
"default": {},
"x-form": {
"value": "{{region.nodeSelector}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.nodeSelector"
}
},
"replicas": {
"description": "number of worker",
"type": "integer",
Expand Down Expand Up @@ -130,6 +174,28 @@
"x-onyxia": {
"overwriteDefaultWith": "region.defaultNetworkPolicy"
}
},
"from": {
"type": "array",
"description": "Array of source allowed to have network access to your service",
"default" : [
{
"ipBlock": {
"cidr": "10.233.103.0/32"
}
},
{
"ipBlock": {
"cidr": "10.233.111.0/32"
}
}
],
"x-form": {
"value": "{{region.from}}"
},
"x-onyxia": {
"overwriteDefaultWith": "region.from"
}
}
}
}
Expand Down
6 changes: 1 addition & 5 deletions charts/dask/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,7 @@ security:
ip: "0.0.0.0/0"
networkPolicy:
enabled: true
from:
- ipBlock:
cidr: 10.233.103.0/32
- ipBlock:
cidr: 10.233.111.0/32
from: []

ingress:
enabled: true
Expand Down

0 comments on commit 792125d

Please sign in to comment.