Skip to content

Commit

Permalink
Merge pull request #3209 from consideRatio/pr/fix-node-exporter-taints
Browse files Browse the repository at this point in the history
support chart, node-exporter: tolerate 2i2c.org/community tainted nodes
  • Loading branch information
consideRatio authored Oct 2, 2023
2 parents 9390d7b + c02ea84 commit 6223891
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 23 deletions.
16 changes: 8 additions & 8 deletions docs/howto/features/dedicated-nodepool.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,14 +54,14 @@ Some hubs on shared clusters require dedicated nodepools, for a few reasons:

```yaml
jupyterhub:
singleuser:
nodeSelector:
2i2c.org/community: <community-name>
extraTolerations:
- key: "2i2c.org/community"
operator: "Equal"
value: "<community-name>"
effect: "NoSchedule"
singleuser:
nodeSelector:
2i2c.org/community: <community-name>
extraTolerations:
- key: 2i2c.org/community
operator: Equal
value: <community-name>
effect: NoSchedule
```
```{note}
Expand Down
15 changes: 0 additions & 15 deletions helm-charts/support/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,6 @@ prometheus:
# values ref: https://github.com/prometheus-community/helm-charts/blob/main/charts/prometheus-node-exporter/values.yaml
#
prometheus-node-exporter:
tolerations:
# Tolerate tainted jupyterhub user nodes
- key: hub.jupyter.org_dedicated
value: user
effect: NoSchedule
- key: hub.jupyter.org/dedicated
value: user
effect: NoSchedule
# Tolerate tainted dask worker nodes
- key: k8s.dask.org_dedicated
value: worker
effect: NoSchedule
- key: k8s.dask.org/dedicated
value: worker
effect: NoSchedule
# resources for the node-exporter was set after inspecting cpu and memory
# use via prometheus and grafana.
#
Expand Down

0 comments on commit 6223891

Please sign in to comment.