Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 21 additions & 1 deletion apps/productivity/jupyterhub/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,25 @@ spec:
serviceAccount:
create: true
annotations: {}
networkPolicy:
enabled: true
egressAllowRules:
cloudMetadataServer: true
dnsPortsCloudMetadataServer: true
dnsPortsKubeSystemNamespace: true
dnsPortsPrivateIPs: true
nonPrivateIPs: true
privateIPs: true
egress:
- to:
- namespaceSelector:
matchLabels:
kubernetes.io/metadata.name: default
ports:
- protocol: TCP
port: 6443
- protocol: TCP
port: 443
extraEnv:
JUPYTERHUB_KUBERNETES_REQUEST_TIMEOUT: "120"
config:
Expand All @@ -58,8 +77,9 @@ spec:
allowed_users:
- "{{ .ejson.jupyterhub.adminUser }}"
KubeSpawner:
k8s_api_request_timeout: 120
k8s_api_request_timeout: 180
k8s_api_request_retry_timeout: 300
http_timeout: 180
resources:
requests:
memory: 512Mi
Expand Down