Skip to content

Commit

Permalink
Merge pull request #3200 from Ph0tonic/Ph0tonic-patch-managed-services
Browse files Browse the repository at this point in the history
docs: fix the jupyterhub managed service example's networking rules
  • Loading branch information
consideRatio authored Aug 15, 2023
2 parents 7b3d94d + b4f331c commit 14f633b
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions docs/source/administrator/services.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,21 @@ hub:
- port: 8181
targetPort: 8181
name: fastapi

# The proxy.chp.networkPolicy.egress configuration below is required if the
# service should be accessible for users. If it shouldn't be, you should instead
# set the chart configuration services.fastapi.display to false as otherwise
# JupyterHub will provide a broken link in the Services menu for users to go to
# /services/fastapi/.
proxy:
chp:
networkPolicy:
egress:
- to:
- podSelector:
matchLabels:
app: jupyterhub
component: hub
ports:
- port: 8181
```

0 comments on commit 14f633b

Please sign in to comment.