Skip to content
Snippets Groups Projects
fullhub.yaml 14.34 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 }}"
      secretName: acme-tls-fullhub

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: 128M
  cpu:
    limit: 2
    guarantee: .02
  defaultUrl: "/lab"
  networkPolicy:
    egress:
      - to:
        - namespaceSelector:
            matchLabels:
              kubernetes.io/metadata.name: kube-system
          serviceSelector:
            matchLabels:
              k8s-app: cluster-ingress
  image:
    name: eginotebooks/single-user-eosc
    tag: "sha-dea4fa2"
  profileList:
    - display_name: Small Environment - 2 vCPU / 4 GB RAM (non-collaboratice)
      description: >
        The notebook environment includes Python, R, Julia and Octave kernels. Non-collaborative.
      default: true
      kubespawner_override:
        args:
          - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
        extra_annotations:
          "egi.eu/flavor": "small-environment-2-vcpu-4-gb-ram"
    - display_name: Small Environment - 2 vCPU / 4 GB RAM (collaboratice)
      description: >
        The notebook environment includes Python, R, Julia and Octave kernels. Collaborative.
      kubespawner_override:
        args:
          - "--CondaKernelSpecManager.env_filter='/opt/conda$'"
        image: "valtri/single-user:jupyter-4e-collab"