statsd
by r.svyatov
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
| Parameter | Description | Default |
|---|---|---|
image.repository | dynamo db local image | amazon dynamodb-local |
image.pullPolicy | image pull policy | IfNotPresent |
image.tag | image tag | 1.12.0 |
imagePullSecrets | image pull secrets | - |
nameOverride | name override | - |
fullnameOverride | fullname override | - |
serviceAccount.create | creates service account if true | true |
serviceAccount.annotations | service account annotations if created | - |
serviceAccount.name | service account name if created | - |
podAnnotations | pod annotations | - |
podSecurityContext | pod security context | - |
securityContext | security context | - |
service.type | k8s service type | ClusterIP |
autoscaling.enabled | enable autoscaling | false |
autoscaling.minReplicas | min replicas | 1 |
autoscaling.maxReplicas | max replicas | 100 |
autoscaling.targetCPUUtilizationPercentage | autoscaling target CPU | 80 |
autoscaling.targetMemoryUtilizationPercentage | autoscaling target memory | unset |
resources | pod resources | [] |
nodeSelector | node selector | {} |
tolerations | node selector | [] |
affinity | affinity | {} |
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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartstatsd is pinned at v0.1.19 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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