statsd

by jfelten

Helm chartv0.1.19App v0.8.6

a simple chart to deploy statsd to a cluster

About this chart

statsd helm chart

This is a simple helm chart that deploys a statsd container on a kubernetes cluster.

quick start

helm repo add keyporttech https://keyporttech.github.io/helm-charts/
helm install my-release keyporttech/statsd

or

git clone https://github.com/keyporttech/helm-statsd
cd stsatsd_helm_chart
helm install .

Contributing

Please see keyporttech charts contribution guidelines

Running the cicd tooling locally

This chart uses a Makefile to run CICD. To run:

make build

Values

ParameterDescriptionDefault
image.repositorydynamo db local imageamazon dynamodb-local
image.pullPolicyimage pull policyIfNotPresent
image.tagimage tag1.12.0
imagePullSecretsimage pull secrets-
nameOverridename override-
fullnameOverridefullname override-
serviceAccount.createcreates service account if truetrue
serviceAccount.annotationsservice account annotations if created-
serviceAccount.nameservice account name if created-
podAnnotationspod annotations-
podSecurityContextpod security context-
securityContextsecurity context-
service.typek8s service typeClusterIP
autoscaling.enabledenable autoscalingfalse
autoscaling.minReplicasmin replicas1
autoscaling.maxReplicasmax replicas100
autoscaling.targetCPUUtilizationPercentageautoscaling target CPU80
autoscaling.targetMemoryUtilizationPercentageautoscaling target memoryunset
resourcespod resources[]
nodeSelectornode selector{}
tolerationsnode selector[]
affinityaffinity{}

Deploy statsd with OpenTenant

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