Skip to content

Instalation of TOBIAS Cloud Service

goymann edited this page Mar 2, 2020 · 10 revisions

To create the TOBIAS-Cloud-Service two deployments are required one containing an nginx file server the other one a nextflow TOBIAS deployment that runs and controls the plotting jobs. The Setup_TOBIAS_MAPOKS.py file will create these two deployments, an ingress and a service for the nginx, several pvcs and a service account with Roll binding rights.

NGINX Deployment

The setup scripts creates a nginx deployment, which gets a global IP over an Ingress and a Service. In the Ingress the annotation must be set to 'nginx.ingress.kubernetes.io/proxy-body-size': '100000m' to allow uploads over 1MB with the Ingress-Controller (more information). The Deployments get a PVC for the uploaded files and for the files for download.

MACSEK Deployment

The MACSEK Deployment needs a ServiceAccount with Rollebindings. The Service Account is needed to allow the deployment to upscale the plotting Jobs in own Pods on the Cluster. To create a Service Account with these rights you must need owner rights on the cluster.