Ultron Observer
Ultron Observer is a tool designed to monitor in-cluster resources for Ultron. Ultron Observer is built with Go and can be run as a standalone application or within a Docker container.
Prerequisites
- Go 1.23 or higher
- Docker (if you want to run the application in a container)
Environment Variables
The application requires the following environment variables to be set:
EMMA_CLIENT_ID
: Your Emma API client ID
EMMA_CLIENT_SECRET
: Your Emma API client secret
Installation
Clone the repository
git clone https://github.com/be-heroes/ultron-observer
cd ultron-observer
Set up environment variables
export EMMA_CLIENT_ID=your_client_id
export EMMA_CLIENT_SECRET=your_client_secret
Build the application
go build -o main main.go
Run the application
./main
Docker
To build and run the application using Docker.
Build the Docker image
docker build -t ultron-observer:latest .
Run the Docker container
docker run -e EMMA_CLIENT_ID=your_client_id -e EMMA_CLIENT_SECRET=your_client_secret ultron-observer:latest
Additional links