Skip to content

Commit 031a2c4

Browse files
Merge pull request #7503 from GeorgianaElena/upgrade-z2jh4.3
Upgrade a few hubs to latest z2jh chart version
2 parents c79fd28 + 0cef343 commit 031a2c4

File tree

20 files changed

+209
-29
lines changed

20 files changed

+209
-29
lines changed

config/clusters/cloudbank/cluster.yaml

Lines changed: 61 additions & 0 deletions
Large diffs are not rendered by default.

config/clusters/cloudbank/common.values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ nfs:
99
- noatime
1010
# MUST HAVE TRAILING SLASH
1111
jupyterhub:
12+
hub:
13+
image:
14+
name: quay.io/2i2c/z2jh-433
15+
tag: 0.0.1-0.dev.git.14741.h1ea063d04
1216
singleuser:
1317
cpu:
1418
# Each node has about 4 CPUs total, and if we limit users to no more than

config/clusters/disasters/cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ hubs:
2323
- staging.values.yaml
2424
- enc-imagebuilding-common.secret.values.yaml
2525
- enc-staging.secret.values.yaml
26+
chart_override: helm-charts/basehub/Z2jh-4.3.3-chart.yaml
2627
- name: prod
2728
display_name: Disasters
2829
domain: hub.disasters.2i2c.cloud

config/clusters/disasters/staging.values.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,18 @@ jupyterhub:
1010
nodeSelector:
1111
2i2c/hub-name: staging
1212
hub:
13+
image:
14+
name: quay.io/2i2c/z2jh-433
15+
tag: 0.0.1-0.dev.git.14741.h1ea063d04
1316
config:
1417
GitHubOAuthenticator:
1518
oauth_callback_url: https://staging.hub.disasters.2i2c.cloud/hub/oauth_callback
1619
GenericOAuthenticator:
1720
oauth_callback_url: https://staging.hub.disasters.2i2c.cloud/hub/oauth_callback
1821
token_url: https://keycloak.delta-backend.xyz/realms/veda/protocol/openid-connect/token
1922
authorize_url: https://keycloak.delta-backend.xyz/realms/veda/protocol/openid-connect/auth
23+
Authenticator:
24+
auth_refresh_age: 0
2025
ingress:
2126
hosts: [staging.hub.disasters.2i2c.cloud]
2227
tls:

config/clusters/jupyter-health/cluster.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ hubs:
2323
- enc-common.secret.values.yaml
2424
- staging.values.yaml
2525
- enc-staging.secret.values.yaml
26+
chart_override: helm-charts/basehub/Z2jh-4.3.3-chart.yaml
2627
- name: prod
2728
display_name: Jupyter Health (prod)
2829
domain: jupyter-health.2i2c.cloud
@@ -32,3 +33,4 @@ hubs:
3233
- enc-common.secret.values.yaml
3334
- prod.values.yaml
3435
- enc-prod.secret.values.yaml
36+
chart_override: helm-charts/basehub/Z2jh-4.3.3-chart.yaml

config/clusters/jupyter-health/common.values.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,9 @@ jupyterhub:
3232
name: Jupyter Health
3333
url: https://github.com/jupyterhealth/
3434
hub:
35-
# FIXME: Experiment to use oauthenticator 17.1, should be transitioned away
36-
# as part of upgrading to z2jh 4, see
37-
# https://github.com/2i2c-org/infrastructure/pull/4968
38-
#
3935
image:
40-
name: quay.io/2i2c/pkce-experiment
41-
tag: 0.0.1-0.dev.git.14004.h556ee4be8
36+
name: quay.io/2i2c/z2jh-433
37+
tag: 0.0.1-0.dev.git.14741.h1ea063d04
4238
allowNamedServers: true
4339
config:
4440
JupyterHub:

config/clusters/maap/cluster.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ hubs:
2323
- staging.values.yaml
2424
- enc-common.secret.values.yaml
2525
- enc-staging.secret.values.yaml
26+
chart_override: helm-charts/basehub/Z2jh-4.3.3-chart.yaml
2627
- name: prod
2728
display_name: MAAP - prod
2829
domain: hub.maap-project.org

config/clusters/maap/common.values.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@ jupyterhub:
103103
c.KubeSpawner.volume_mounts = {}
104104
for idx, volume_mount in enumerate(existing_volume_mounts):
105105
c.KubeSpawner.volume_mounts[f"{idx}-{volume_mount['name']}"] = volume_mount
106-
107106
c.KubeSpawner.volumes["s3fs-volume"] = {"name": "s3fs-volume", "emptyDir": {}}
108107
singleuser:
109108
extraFiles:

config/clusters/maap/staging.values.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ jupyterhub:
1212
gitRepoBranch: staging
1313
gitRepoUrl: https://github.com/MAAP-Project/maap-hub-homepage
1414
singleuser:
15+
storage:
16+
extraVolumes:
17+
- name: dev-shm
18+
emptyDir:
19+
medium: Memory
20+
- name: s3fs-volume
21+
emptyDir: {}
1522
extraEnv:
1623
SCRATCH_BUCKET: s3://maap-scratch-staging/$(JUPYTERHUB_USER)
1724
MAAP_API_HOST: api.uat.maap-project.org
@@ -244,11 +251,22 @@ jupyterhub:
244251
extra_resource_limits:
245252
nvidia.com/gpu: '1'
246253
hub:
254+
image:
255+
name: quay.io/2i2c/z2jh-433
256+
tag: 0.0.1-0.dev.git.14741.h1ea063d04
257+
extraConfig:
258+
# Undo unnecessary common config
259+
00-volumes-and-volume-mounts-as-dict: ''
260+
247261
config:
248262
GenericOAuthenticator:
249263
oauth_callback_url: https://staging.hub.maap-project.org/hub/oauth_callback
250264
token_url: https://keycloak.delta-backend.xyz/realms/maap/protocol/openid-connect/token
251265
authorize_url: https://keycloak.delta-backend.xyz/realms/maap/protocol/openid-connect/auth
266+
# Disable for now the authentication token refreshing
267+
# https://oauthenticator.readthedocs.io/en/latest/reference/api/gen/oauthenticator.oauth2.html#oauthenticator.oauth2.OAuthenticator.auth_refresh_age
268+
Authenticator:
269+
auth_refresh_age: 0
252270
ingress:
253271
hosts: [staging.hub.maap-project.org]
254272
tls:

config/clusters/opensci/big-binder.values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@ jupyterhub:
7474
initContainers: []
7575
profileList: []
7676
hub:
77+
image:
78+
name: quay.io/2i2c/z2jh-433
79+
tag: 0.0.1-0.dev.git.14741.h1ea063d04
7780
config:
7881
BinderSpawnerMixin:
7982
auth_enabled: true

0 commit comments

Comments
 (0)