Skip to content

MaayanLab/k8s-docs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ma'ayan Lab Kubernetes

This repository contains opinionated documentation for deploying to the Ma'ayan Lab Kubernetes Cluster. Files are just markdown, and jupyter-book is used to turn them into a webpage.

While you can add new files to some of the directories, if you add new directories or new root-level files, they'll need to be added to _toc.yml.

Development

# install python dependencies
pip install -r requirements.txt

# remove old build
rm -r src/_build
# generate table of contents
jupyter-book toc from-project src > src/_toc.yml
# build
jupyter-book build src

# the resulting book is in _build/html, the html can be viewed with any static web browser (including just opening _build/html/index.html in your browser)
npx http-server src/_build/html

Deployment

This can be deployed directly to the Cluster, see deploy docs for that, but essentially it's just:

docker compose build
docker compose push
kube-compose up

About

Ma'ayanlab k8s server admin and user guide

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 52.3%
  • Shell 24.5%
  • Dockerfile 23.2%