Skip to content

MetaCell/salk-interactive-atlas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3850516 · Dec 14, 2023
Apr 29, 2022
Dec 14, 2023
Oct 17, 2022
Oct 3, 2023
Oct 31, 2023
Jan 26, 2022
Nov 6, 2023
Dec 14, 2023
Sep 29, 2022
Nov 29, 2023
Nov 10, 2022
Oct 31, 2023

Repository files navigation

SALK

The SALK Mouse Cord Atlas

Deploy

Prerequisites

The SALK deployment is built on top of CloudHarness. CloudHarness is a base infrastructure and common utilities for microservice applications deployed on Kubernetes.

CloudHarness and SALK use Python 3.9, it is recommended to setup a virtual environment first.

With conda:

conda create --name salk python=3.9
conda activate salk

To install CloudHarness:

git clone --branch release/2.1.0 https://github.com/MetaCell/cloud-harness.git
cd cloud-harness
pip install -r requirements.txt

Deploy to a K8s cluster

Make sure that you are using the correct K8s context (check kubectl config get-contexts) Or set your context using kubectl config set-context

Requirements:

conda activate salk

# prepare the Helm chart
harness-deployment cloud-harness . -t <docker tag> -d <the.domain.com> -r <docker registry> -rs <docker registry secret> -n <namespace> -e prod -i portal

# build the images
skaffold build

# install the application
helm upgrade salk ./deployment/helm --install --reset-values --version 0.0.1 --namespace <namespace> --values ./deployment/helm/values.yaml --timeout 600s

Development setup

Minikube is recommended to setup locally. The procedure is different depending on where Minikube is installed. The simplest procedure is with Minikube hosted in the same machine where running the commands.

Run the setup.sh script to setup your minikube cluster. The script will also build all Docker images and installs the deployment using skaffold

Requirements: