ultron-observer

command module
v0.4.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2025 License: Apache-2.0 Imports: 13 Imported by: 0

README

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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL