A Textual-based Terminal User Interface (TUI) application for viewing and managing the cosmotech simulation platform.
uv venv
uv pip install -e .
Create a .env file with the following configuration:
server_url="https://kubernetes.cosmotech.com/keycloak/"
client_id="local test client"
realm_name="<NAMESPACE>"
client_secret_key="<client secret>"
Port forward the services required by cosmotech-api (redis):
kubectl port-forward cosmotechredis-<NAMESPACE>-master-0 6379:6379 -n <NAMESPACE>
and start a local api:
./gradlew :cosmotech-api:bootRun
Activate the virtual environment:
source .venv/bin/activate
Get a summary of the object tree in the current namespace:
python3 eye/main.py
or use the app:
python3 eye/app.py
to get a summary of users and their roles