Skip to content

Latest commit

 

History

History
27 lines (23 loc) · 770 Bytes

README.md

File metadata and controls

27 lines (23 loc) · 770 Bytes

K8s status

Browse the Toolforge Kubernetes cluster.

Deploy on Toolforge

Your tool will need a service account with rights to query across namespaces.

$ ssh dev.toolforge.org
$ become $TOOL_NAME
$ mkdir -p $HOME/www/python
$ git clone https://gitlab.wikimedia.org/toolforge-repos/k8s-status $HOME/www/python/src
$ webservice --backend=kubernetes python3.11 shell
$ python3 -m venv $HOME/www/python/venv
$ source $HOME/www/python/venv/bin/activate
$ pip install --upgrade pip wheel
$ pip install -r $HOME/www/python/src/requirements.txt
$ exit
$ www/python/src/bin/k8s_webservice.sh start
$ toolforge jobs load $HOME/www/python/src/jobs.yaml

License

GPL-3.0-or-later