Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge #6512 to prod #6520

Merged
merged 11 commits into from
Dec 13, 2024
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Contains a fully reproducible configuration for JupyterHub on datahub.berkeley.edu,
as well as the single user images.

[UC Berkeley Datahub](https://cdss.berkeley.edu/data)
[UC Berkeley Datahub](https://cdss.berkeley.edu/datahub)

[UC Berkeley CDSS](https://cdss.berkeley.edu)

Expand Down
22 changes: 20 additions & 2 deletions deployments/a11y/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,27 @@ jupyterhub:
c.QtPDFExporter.enabled = False
c.QtPNGExporter.enabled = False
c.WebPDFExporter.enabled = False
# proxy ollama
proxy-ollama:
# https://jupyter-server-proxy.readthedocs.io/en/latest/server-process.html#specifying-config-via-traitlets
mountPath: /etc/jupyter/jupyter_server_config.py
stringData: |
c.ServerProxy.servers = {
"ollama": {
"command": ["ollama", "serve"],
"port": 11434,
# This is not a user-facing web application
"launcher_entry": {
"enabled": False
}
}
}
extraEnv:
# Unset NotebookApp from hub/values. Necessary for recent lab versions.
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
OLLAMA_ORIGINS: "*"
OLLAMA_HOST: "0.0.0.0:11434"
OLLAMA_DEBUG: "1"
nodeSelector:
hub.jupyter.org/pool-name: small-courses-pool
storage:
Expand All @@ -83,5 +101,5 @@ jupyterhub:
subPath: _shared
readOnly: true
memory:
guarantee: 3G
limit: 3G
guarantee: 5G
limit: 5G
2 changes: 1 addition & 1 deletion deployments/a11y/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/a11y-user-image:6515cad7fcf5
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/a11y-user-image:56488626d322

cluster:
provider: gcloud
Expand Down
2 changes: 1 addition & 1 deletion deployments/data101/hubploy.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
images:
images:
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/data101-user-image:48a90d76171a
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/data101-user-image:ba209883023b

cluster:
provider: gcloud
Expand Down
2 changes: 1 addition & 1 deletion deployments/gradebook/config/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jupyterhub:
# https://jupyterhub-kubespawner.readthedocs.io/en/latest/spawner.html#kubespawner.KubeSpawner.extra_containers
extraContainers:
- name: gradebook
image: gradebook/gradebook:sha-721f235
image: gradebook/gradebook:sha-a9a7895
ports:
- containerPort: 3839
volumeMounts:
Expand Down
Loading