asprom

by okgolove

Helm chartv2.0.0App 1.10.1Verified publisher

Asprom provides aerospike metrics for prometheus

About this chart

asprom

asprom provides Aerospike metrics for Prometheus.

TL;DR;

## Add the okgolove Helm repository
$ helm repo add okgolove https://okgolove.github.io/helm-charts/
$ helm install okgolove/asprom

Introduction

This chart bootstraps an asprom deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.9+ with Beta APIs enabled

Installing the Chart

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

$ helm repo add okgolove https://okgolove.github.io/helm-charts/
$ helm install okgolove/asprom

The command deploys asprom on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

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 asprom chart and their default values.

ParameterDescriptionDefault
image.repositoryasprom imageokgolove/asprom
image.tagasprom image tag1.10.1
pullPolicyImage pull policyIfNotPresent
aerpospike.hostAerospike service hostaerospike
aerpospike.portAerospike service port3000
service.targetPortasprom port9145
service.portService HTTP port80
nodeSelectorNode labels for pod assignment{}
tolerationsList of node taints to tolerate[]
affinityMap of node/pod affinities{}
resourcesCPU/Memory resource requests/limits{}
livenessProbe.enabledEnable/disable the liveness probetrue
livenessProbe.initialDelaySecondsDelay before liveness probe is initiated120
livenessProbe.periodSecondsHow often to perform the probe10
livenessProbe.timeoutSecondsWhen the probe times out5
livenessProbe.failureThresholdMinimum consecutive failures to be considered failed6
livenessProbe.successThresholdMinimum consecutive successes to be considered successful1
readinessProbe.enabledEnable/disable the readiness probetrue
readinessProbe.initialDelaySecondsDelay before readinessProbe is initiated30
readinessProbe.periodSeconds How often to perform the probe10
readinessProbe.timeoutSecondsWhen the probe times out5
readinessProbe.failureThresholdMinimum consecutive failures to be considered failed6
readinessProbe.successThresholdMinimum consecutive successes to be considered successful1

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

$ helm install --name my-release \
  --set aerospike.port=3003,aerospike.host=aerospike-production \
    okgolove/asprom

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

$ helm install --name my-release -f values.yaml okgolove/asprom

Tip: You can use the default values.yaml

Deploy asprom with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has asprom 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 chartasprom is pinned at v2.0.0 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