-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5919 from berkeley-dsep-infra/staging
- Loading branch information
Showing
30 changed files
with
839 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
nfsPVC: | ||
enabled: true | ||
nfs: | ||
serverIP: 10.49.181.18 | ||
|
||
jupyterhub: | ||
scheduling: | ||
userScheduler: | ||
nodeSelector: | ||
hub.jupyter.org/pool-name: core-pool-2024-07-07 | ||
proxy: | ||
chp: | ||
nodeSelector: | ||
hub.jupyter.org/pool-name: core-pool-2024-07-07 | ||
service: | ||
type: LoadBalancer | ||
|
||
hub: | ||
nodeSelector: | ||
hub.jupyter.org/pool-name: core-pool-2024-07-07 | ||
config: | ||
loadRoles: | ||
# datahub staff | ||
datahub-staff: | ||
description: Enable admin for datahub staff | ||
# this role provides permissions to... | ||
scopes: | ||
- admin-ui | ||
- admin:groups | ||
- admin:users | ||
- admin:servers | ||
- read:roles | ||
- read:hub | ||
- access:servers | ||
# this role will be assigned to... | ||
groups: | ||
- course::1524699::group::all-admins | ||
singleuser: | ||
extraFiles: | ||
# DH-216 | ||
remove-exporters: | ||
mountPath: /etc/jupyter/jupyter_notebook_config.py | ||
stringData: | | ||
c.QtPDFExporter.enabled = False | ||
c.QtPNGExporter.enabled = False | ||
c.WebPDFExporter.enabled = False | ||
extraEnv: | ||
# Unset NotebookApp from hub/values. Necessary for recent lab versions. | ||
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp" | ||
nodeSelector: | ||
hub.jupyter.org/pool-name: user-ugr01 | ||
storage: | ||
type: static | ||
static: | ||
pvcName: home-nfs-v3 | ||
subPath: "{username}" | ||
memory: | ||
guarantee: 512M | ||
limit: 1G | ||
|
||
#custom: | ||
# group_profiles: | ||
# | ||
# # Example: increase memory for everyone affiliated with a course. | ||
# | ||
# # Name of Class 100, Fall '22; requested in #98765 | ||
# course::123456: | ||
# mem_limit: 4096M | ||
# mem_guarantee: 2048M | ||
# | ||
# # Example: grant admin rights to course staff. | ||
# # Enrollment types returned by the Canvas API are `teacher`, | ||
# # `student`, `ta`, `observer`, and `designer`. | ||
# # https://canvas.instructure.com/doc/api/enrollments.html | ||
# | ||
# # Some other class 200, Spring '23; requested in #98776 | ||
# course::234567::enrollment_type::teacher: | ||
# mem_limit: 2096M | ||
# mem_guarantee: 2048M | ||
# course::234567::enrollment_type::ta: | ||
# mem_limit: 2096M | ||
# mem_guarantee: 2048M | ||
# | ||
# | ||
# # Example: a fully specified CanvasOAuthenticator group name. | ||
# # This could be useful for temporary resource bumps where the | ||
# # instructor could add people to groups in the bCourses UI. This | ||
# # would benefit from the ability to read resource bumps from | ||
# # jupyterhub's properties. (attributes in the ORM) | ||
# | ||
# # Name of Class 100, Fall '22; requested in #98770 | ||
# course::123456::group::lab4-bigdata: | ||
# - mountPath: /home/rstudio/.ssh | ||
# name: home | ||
# subPath: _some_directory/_ssh | ||
# readOnly: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"--file-share": | ||
{ | ||
"name": "shares", | ||
"capacity": "desired-capacity", | ||
"nfs-export-options": [ | ||
{ | ||
"access-mode": "READ_WRITE", | ||
"ip-ranges": ["10.0.0.0/8"], | ||
"squash-mode": "ROOT_SQUASH", | ||
"anon_uid": 1000, | ||
"anon_gid": 1000 | ||
} | ||
], | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
nfsPVC: | ||
nfs: | ||
shareName: shares/ugr01/prod | ||
|
||
jupyterhub: | ||
ingress: | ||
enabled: true | ||
hosts: | ||
- ugr01.datahub.berkeley.edu | ||
tls: | ||
- secretName: tls-cert | ||
hosts: | ||
- ugr01.datahub.berkeley.edu | ||
hub: | ||
db: | ||
pvc: | ||
# This also holds logs | ||
storage: 4Gi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
nfsPVC: | ||
nfs: | ||
shareName: shares/ugr01/staging | ||
|
||
jupyterhub: | ||
scheduling: | ||
userScheduler: | ||
replicas: 1 | ||
prePuller: | ||
continuous: | ||
enabled: false | ||
proxy: | ||
service: | ||
loadBalancerIP: 34.172.42.174 | ||
ingress: | ||
enabled: true | ||
hosts: | ||
- ugr01-staging.datahub.berkeley.edu | ||
tls: | ||
- secretName: tls-cert | ||
hosts: | ||
- ugr01-staging.datahub.berkeley.edu |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
images: | ||
images: | ||
- name: us-central1-docker.pkg.dev/ucb-datahub-2018/user-images/ugr01-user-image | ||
path: image/ | ||
repo2docker: | ||
base_image: docker.io/library/buildpack-deps:jammy | ||
registry: | ||
provider: gcloud | ||
gcloud: | ||
project: ucb-datahub-2018 | ||
service_key: gcr-key.json | ||
|
||
cluster: | ||
provider: gcloud | ||
gcloud: | ||
project: ucb-datahub-2018 | ||
service_key: gke-key.json | ||
cluster: ugresearch-cluster | ||
zone: us-central1 |
Oops, something went wrong.