Skip to content

Commit

Permalink
Merge pull request #828 from sgibson91/singleuser-traefik-netpol
Browse files Browse the repository at this point in the history
  • Loading branch information
sgibson91 authored Nov 12, 2021
2 parents 7b0f892 + 5efc044 commit 0e6006b
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config/hubs/pangeo-hubs.cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,6 @@ hubs:
scope: &staging_jhub_scope
- read:org
singleuser: &staging_jhub_singleuser
networkPolicy:
enabled: false
image:
name: pangeo/pangeo-notebook
tag: bcfacc5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,15 @@
"source": [
"client.wait_for_workers(1)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"cluster.scale(0)"
]
}
],
"metadata": {
Expand Down
5 changes: 5 additions & 0 deletions hub-templates/basehub/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,11 @@ jupyterhub:
matchLabels:
app: jupyterhub
component: proxy
# Allow traffic to the traefik pod from user pods. Needed for daskhubs.
- to:
- podSelector:
matchLabels:
app.kubernetes.io/component: traefik
hub:
extraFiles:
configurator-schema-default:
Expand Down

0 comments on commit 0e6006b

Please sign in to comment.