karma

by joaquinito2051

Helm chartv1.1.13App v0.34

A Helm chart for Karma - an UI for Prometheus Alertmanager

About this chart

Karma

Karma is an ASL2 licensed alert dashboard for Prometheus Alertmanager.

Introduction

This chart deploys karma to your cluster via a Deployment and Service. Optionally you can also enable ingress.

Prerequisites

  • Kubernetes 1.9+

Installing the Chart

To install the chart with the release name my-release, run:

$ helm install --name my-release <helm-repo>/karma

$ helm install --name my-release stable/karma After a few seconds, you should see service statuses being written to the configured output.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

Configuration

The following table lists the configurable parameters of the karma chart and their default values.

ParameterDescriptionDefault
replicaCountNumber of replicas1
image.repositoryThe image to runlmierzwa/karma
image.tagThe image tag to pullv0.34
image.pullPolicyImage pull policyIfNotPresent
nameOverrideOverride name of app``
fullnameOverrideOverride full name of app``
service.typeType of ServiceClusterIP
service.portPort for kubernetes service80
service.annotationsAnnotations to add to the service{}
resources.requests.cpuCPU resource requests
resources.limits.cpuCPU resource limits
resources.requests.memoryMemory resource requests
resources.limits.memoryMemory resource limits
ingressSettings for ingress{}
nodeSelectorSettings for nodeselector{}
tolerationsSettings for toleration{}
affinitySettings for affinity{}
serviceAccount.createCreate service-accounttrue
serviceAccount.nameOverride service-account name``
livenessProbe.delaySpecify delay in executing probe5
livenessProbe.periodSpeicy period of liveness probe5
livenessProbe.pathSpecify path liveness probe should hit/
configMap.enabledProvide a custom karma configurationfalse
configMap.rawConfigA karma compatible YAML configuration``

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
$ helm install --name my-release \
    <helm-repo>/karma

$ helm install --name my-release \

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

$ helm install --name my-release -f values.yaml <helm-repo>/karma

$ helm install --name my-release -f values.yaml stable/karma

Tip: You will have to define the URL to alertmanager in env-settings in values.yaml, under key ALERTMANAGER_URI .

Deploy karma with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has karma on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartkarma is pinned at v1.1.13 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply