Nomploy Nomad Packs

← All packs

karma v0.1.0

Observability

Karma — a dashboard for Prometheus Alertmanager: aggregates alerts from multiple Alertmanager instances, groups and silences them, with a clean UI. Deployed as a single stateless host-networked Nomad service.

nomad-pack run karma --registry nomploy
…or one line (add registry + run)
curl -fsSL https://packs.nomploy.com/install.sh | sh -s -- karma

Needs nomad-pack on PATH. The script only adds the nomploy registry and runs this pack.

1 task http 8080 image ghcr.io/prymitive/karma:latest tracks :latest image bumped today
Variables 8
values.hcl

Save as values.hcl, edit, then run:

nomad-pack run karma -f values.hcl --registry nomploy
# The name of the Nomad job.
job_name = "karma"

# The Nomad namespace to deploy into.
namespace = "default"

# The datacenters to deploy to.
datacenters = ["*"]

# The Karma container image. Pin a tag in production.
image = "ghcr.io/prymitive/karma:latest"

# Host port for the Karma web UI.
port = 8080

# URL of the Alertmanager to display (ALERTMANAGER_URI). On a nomploy node with the alertmanager pack, the default loopback works; otherwise point it at your Alertmanager.
alertmanager_uri = "http://127.0.0.1:9093"

# Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
constraints = []

# The task resources.
resources = {
    cpu    = 300
    memory = 256
  }
NameTypeDefaultDescription
job_name string
"karma"
The name of the Nomad job.
namespace string
"default"
The Nomad namespace to deploy into.
datacenters list
["*"]
The datacenters to deploy to.
image string
"ghcr.io/prymitive/karma:latest"
The Karma container image. Pin a tag in production.
port number
8080
Host port for the Karma web UI.
alertmanager_uri string
"http://127.0.0.1:9093"
URL of the Alertmanager to display (ALERTMANAGER_URI). On a nomploy node with the alertmanager pack, the default loopback works; otherwise point it at your Alertmanager.
constraints list
[]
Placement constraints. On a nomploy cluster: attribute = "$${meta.nomploy_control_plane}", operator = "=", value = "true".
resources object
{
    cpu    = 300
    memory = 256
  }
The task resources.
Readme

karma

Karma — a dashboard for Prometheus Alertmanager. It aggregates alerts from one or many Alertmanager instances, groups and deduplicates them, shows rich labels and annotations, and lets you create and manage silences from a clean, auto-refreshing UI — a much nicer view than Alertmanager's built-in page.

Single stateless host-networked Nomad service (no volume).

Deploy

nomad-pack registry add nomploy https://github.com/Nomploy/nomad-packs
nomad-pack run karma --registry=nomploy

Configure

Variable Default Description
port 8080 Web UI port (PORT).
alertmanager_uri http://127.0.0.1:9093 Alertmanager URL to display (ALERTMANAGER_URI).
image ghcr.io/prymitive/karma:latest Container image. Pin a tag in production.
resources { cpu = 300, memory = 256 } Task resources.

Pairs with alertmanager and monitoring. For multiple Alertmanagers or advanced options (auth, label rules), mount a karma.yaml and pass CONFIG_FILE. Being stateless, it needs no storage and can run anywhere it can reach your Alertmanager.