The Pullsar Web Application is a project that aims to make usage stats data for Openshift operators easily accessible to the users.
- Worker that allows us to collect data about OpenShift operators usage and save them to a database.
- REST API that serves aggregated operator usage statistics from the database.
- Web frontend that displays the statistics in a user friendly form.
git clone https://github.com/redhat-openshift-ecosystem/pullsar.git
cd pullsar
- set PostgreSQL database configuration:
DB_NAME="pullsar_db"
DB_USER="user"
DB_PASSWORD="password"
DB_HOST="localhost"
DB_PORT="5432"
podman-compose up -d
- serves web static files at root
localhost:8080
- REST API at both
localhost:8000/v1/
andlocalhost:8080/api/v1/
pnpm install
VITE_API_PROXY_TARGET="http://localhost:8000"
pnpm dev
- serves web static files at root
localhost:5173
- REST API at both
localhost:8000/v1/
andlocalhost:5173/api/v1/
pnpm test
Run worker. See worker setup:
pnpm worker:run -- --help
podman build -t pullsar-worker:1.0 -f ./apps/worker/Containerfile .
podman run --rm --env-file .env pullsar-worker:1.0 poetry run pullsar --help
This project is licensed under the Apache License 2.0. See the LICENSE file for details.