Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/toolforge/tool-k8s-status

Mirror of https://phabricator.wikimedia.org/source/tool-k8s-status/
https://github.com/toolforge/tool-k8s-status

mirror toolforge

Last synced: about 2 months ago
JSON representation

Mirror of https://phabricator.wikimedia.org/source/tool-k8s-status/

Awesome Lists containing this project

README

        

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](//www.gnu.org/copyleft/gpl.html "GPL-3.0-or-later")