Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/int-brain-lab/datajoint-ibl-gitops
DataJoint deployments for IBL's kubernetes cluster. Codebase for IBL Navigator located in: https://github.com/datajoint-company/ibl-navigator.
https://github.com/int-brain-lab/datajoint-ibl-gitops
Last synced: 2 months ago
JSON representation
DataJoint deployments for IBL's kubernetes cluster. Codebase for IBL Navigator located in: https://github.com/datajoint-company/ibl-navigator.
- Host: GitHub
- URL: https://github.com/int-brain-lab/datajoint-ibl-gitops
- Owner: int-brain-lab
- License: mit
- Created: 2022-06-03T14:30:01.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-12-16T20:31:48.000Z (about 2 years ago)
- Last Synced: 2023-03-03T00:37:50.801Z (almost 2 years ago)
- Language: Shell
- Homepage:
- Size: 1.19 MB
- Stars: 0
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IBL Navigator
Deployments in this project have files split between multiple locations, to allow common files to be used by multiple deployments.
To apply or delete, run the following:```bash
( export VISIBILITY= && export SUBDOMAIN= && kubectl -n ibl-navigator-${SUBDOMAIN} -f k8s/deployments/navigator-${VISIBILITY}/${SUBDOMAIN} -f k8s/deployments/navigator-${VISIBILITY}/ )
```If an entierly new deployment needs to be made, complete the following:
- create a new subdirectory in the navigator directory: `mkdir navigator/`
- establish a new namespace: `kubectl create namespace ibl-navigator-`
- set a DNS record in gandi of type CNAME, with name = your deployment, and having a hostname identical to that of `data`
- configure deployment files in your subdirectory
- apply deployment with `( export VISIBILITY= && export SUBDOMAIN= && kubectl -n ibl-navigator-${SUBDOMAIN} -f navigator-${VISIBILITY}/${SUBDOMAIN} -f navigator-${VISIBILITY}/ )`# Jupyterhub
install|update:
```bash
source k8s/deployments/jupyterhub/.env && helm upgrade --install jupyterhub jupyterhub/jupyterhub -n jhub --create-namespace --values k8s/deployments/jupyterhub/helm_config.yaml --set hub.config.GitHubOAuthenticator.client_id=${GITHUB_CLIENT_ID} --set hub.config.GitHubOAuthenticator.client_secret=${GITHUB_CLIENT_SECRET} --set hub.db.url=${JUPYTERHUB_DB_URL} --version "1.1.3" --devel --timeout 1h --debug #--wait --dry-run
```
remove:
```bash
helm delete jupyterhub -n jhub # && kubectl delete ns jupyterhub
```
note: deleting namespace is currently permanently breaking dns resolution for that ns (matching name)# SciViz
Deployments in this project have files split between multiple locations, to allow common files to be used by multiple deployments.
To apply or delete, run the following:
```bash
( kubectl -n sci-viz-public apply -f k8s/deployments/sciviz/hpa.yaml -f k8s/deployments/sciviz/secret.yaml -f k8s/deployments/sciviz/public/sci-viz/ -f k8s/deployments/sciviz/public/pharus/ )
```