Skip to content
Snippets Groups Projects
central.yaml 2.99 KiB
---
proxy:
  service:
    type: NodePort

ingress:
  enabled: true
  annotations:
    kubernetes.io/ingress.class: "nginx"
    kubernetes.io/tls-acme: "true"
  hosts:
    - eosc.zcu.cz
  tls:
    - hosts:
        - eosc.zcu.cz
      secretName: acme-tls-central

singleuser:
  storage:
    capacity: 20Gi
    dynamic:
      pvcNameTemplate: claim-{userid}{servername}
      volumeNameTemplate: vol-{userid}{servername}
      storageAccessModes: ["ReadWriteMany"]
    extraVolumes:
      - name: cvmfs-host
        hostPath:
          path: /cvmfs
          type: Directory
    extraVolumeMounts:
      - name: cvmfs-host
        mountPath: "/cvmfs:shared"
  lifecycleHooks:
    postStart:
      exec: { "command": ["/bin/sh", "-c", "ln -snf /cvmfs $HOME/cvmfs; mkdir -p /home/jovyan/.notebookCheckpoints"] }
  memory:
    limit: 6G
    guarantee: 128M
  cpu:
    limit: 2
    guarantee: .02
  defaultUrl: "/lab"
  # requires single-user image compatible with enterprise-gateway
  image:
    # https://github.com/valtri/egi-notebooks-images/tree/jupyter-4.x/single-user-gateway
    # (not compatible)
    # name: valtri/single-user-gateway
    # tag: "jupyter-4b"

    # name: elyra/nb2kg
    # tag: dev

    # hub-4.0.2 julia-1.10.0 lab-4.1.0 notebook-7.0.7 python-3.11.7
    name: quay.io/jupyter/datascience-notebook
    tag: 2024-02-06
  extraEnv:
    KG_REQUEST_TIMEOUT: "60"
    JUPYTER_GATEWAY_AUTH_TOKEN: "{{ gateways_token['cesnet-mcc'] }}"
    JUPYTER_GATEWAY_URL: "https://gateway-cesnet.eosc.zcu.cz"

hub:
  # services:
  #   status:
  #     url: "http://status-web/"
  #     admin: true
  image:
    name: valtri/hub
    tag: "3.x-eosc2" # EOSC, jupyter 3.1.0
  config:
    Authenticator: