Skip to content

Commit

Permalink
added n-a-a-vre helm
Browse files Browse the repository at this point in the history
  • Loading branch information
skoulouzis committed Sep 11, 2023
1 parent 6e47884 commit c9b591b
Show file tree
Hide file tree
Showing 3 changed files with 80 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -182,3 +182,4 @@ jspm_packages
/package-lock.json

tilt/helm-values-secrets.yaml
tilt/helm-n-a-a-vre-secrets.yaml
12 changes: 12 additions & 0 deletions Tiltfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ helm_remote(
],
)



helm_remote(
'jupyterhub',
repo_url='https://jupyterhub.github.io/helm-chart/',
values=[
'./tilt/helm-n-a-a-vre-secrets.yaml',
],
)



docker_build(
'qcdis/vreapi',
context='.',
Expand Down
67 changes: 67 additions & 0 deletions tilt/helm-n-a-a-vre.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
hub:
image:
tag: "2.0.0"
concurrentSpawnLimit: 20
consecutiveFailureLimit: 20
activeServerLimit: 20
namedServerLimitPerUser: 1
shutdownOnLogout: true
extraEnv:
OAUTH2_TLS_VERIFY: 'false'
baseUrl: /n-a-a-vre
config:
GenericOAuthenticator:
ingress:
enabled: true
hosts:
- paas.minikube.test
annotations:
kubernetes.io/ingress.class: "nginx"
nginx.ingress.kubernetes.io/add-base-url: "true"
kubernetes.io/tls-acme: "true"
nginx.ingress.kubernetes.io/proxy-body-size: "600m"
nginx.org/client-max-body-size: "600m"
proxy:
service:
type: ClusterIP
singleuser:
cmd: ['/usr/local/bin/start-jupyter-venv.sh']
extraFiles:
jupyter_notebook_config.json:
mountPath: /etc/jupyter/jupyter_notebook_config.json
data:
ServerApp:
iopub_data_rate_limit: 1.0e10
iopub_msg_rate_limitFloat: 3000
memory:
limit: 3G
guarantee: 2G
storage:
capacity: 0.1Gi
cpu:
limit: 1.0
guarantee: 1.0
lifecycleHooks:
postStart:
exec:
command: ["sh", "-c", "/tmp/init_script.sh"]
defaultUrl: "/lab"
extraEnv:
JUPYTERHUB_SINGLEUSER_APP: "jupyter_server.serverapp.ServerApp"
MODULE_MAPPING_URL: https://raw.githubusercontent.com/QCDIS/NaaVRE-conf/main/module_mapping.json
NAAVRE_API_TOKEN: e46eb8a73155c7dfb99c9209f47a55ecc3b6ae7d
SEARCH_API_ENDPOINT: http://145.100.135.119/api/
SEARCH_API_TOKEN: 2d23b88f724f5d95072d011786f7133e1e517675
VLAB_SLUG: n-a-a-vre
API_ENDPOINT: https://lifewatch.lab.uvalight.net:32443/vre-api/
MULTIPLY_CONF_URL: https://github.com/QCDIS/data-access/raw/master/multiply.zip
CELL_GITHUB: https://github.com/QCDIS/NaaVRE-n-a-a-vre-dev-VL
CELL_GITHUB_TOKEN: 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
REGISTRY_URL: https://hub.docker.com/u/qcdis
PROJ_LIB: /venv/share/proj
profileList:
- display_name: "Laserfarm VL environment"
description: "Vitual lab with Laserfarm dependencies installed"
kubespawner_override:
image: qcdis/n-a-a-vre-laserfarm:v2.0-beta
pullPolicy: Always

0 comments on commit c9b591b

Please sign in to comment.