Skip to content
Snippets Groups Projects
Select Git revision
  • 65ad3ca2e5219b6e4d9e225a0d83eed3e7d8f7af
  • master default protected
  • safespring-smallgpu
  • fix/owncloud-missing-safeguard
  • e-infra2
  • ci-megalinter-speedup
  • envri-hub-new-aai
  • egi-b2drop-no-collapse
  • lfs
  • gpu_staging
  • resurrect-testing-ownloud
  • experiments/collab
  • update_claim_group_keys
  • envri-hub
  • enable_rtc
  • eosc-ui
  • future/jupyterhub-5.x
  • versioning
  • eosc-templating
  • staging1-raw-image
  • token-exchange
21 results

hub.yaml

Blame
  • Jaromír Hradil's avatar
    65ad3ca2
    History
    hub.yaml 13.68 KiB
    ---
    proxy:
      service:
        type: NodePort
    
    ingress:
      enabled: true
      annotations:
        kubernetes.io/ingress.class: "nginx"
        kubernetes.io/tls-acme: "true"
      hosts:
        - "{{ notebooks_hostname }}"
      tls:
        - hosts:
            - "{{ notebooks_hostname }}"
            - "eosc-notebooks.vm.fedcloud.eu"
          secretName: acme-tls-hub
    
    singleuser:
      # keep resource limits in sync with:
      # - profileList
      storage:
        type: none
        extraVolumes:
          - name: cvmfs-host
            hostPath:
              path: /cvmfs
              type: Directory
          - name: owncloud-home
            empty_dir:
        extraVolumeMounts:
          - name: cvmfs-host
            mountPath: "/cvmfs:shared"
          - name: owncloud-home
            mountPath: '/home/jovyan:shared'
      memory:
        limit: 4G
        guarantee: 512M
      cpu:
        limit: 2
        guarantee: .2
      defaultUrl: "/lab"
      networkPolicy:
        egress:
          - to:
            - namespaceSelector:
                matchLabels:
                  kubernetes.io/metadata.name: kube-system
              podSelector:
                matchLabels:
                  app.kubernetes.io/instance: cluster-ingress
      image:
        name: eginotebooks/single-user-eosc
        tag: "sha-14443de"
      profileList:
        - display_name: Small Environment - 2 vCPU / 4 GB RAM
          description: >
            The notebook environment includes Python, R, Julia and Octave kernels.
          default: true
          kubespawner_override:
            args:
              - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
            extra_annotations:
              "egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
          vo_claims:
            - urn:geant:eosc-federation.eu:res:notebooks.open-science-cloud.ec.europa.eu:2-vcpu-4-gb-ram:act:ppa
        - display_name: Medium Environment - 4 vCPU / 8 GB RAM
          description: >
            The notebook environment includes Python, R, Julia and Octave kernels.
          kubespawner_override: