missing-container-metrics
by draganm
Helm chartv0.1.1App 0.21.0
A Helm chart for installing missing-container-metrics exporter
About this chart
Missing Container Metrics - metrics cadvisor won't give you
This chart will install a daemon set that will expose container metrics such as container_ooms that are not available otherwise.
Introduction
For motivation and implementation details please refer to blog post introducing the missing-container-metrics
TL;DR;
$ helm repo add missing-container-metrics https://draganm.github.io/missing-container-metrics
$ helm install missing-container-metrics missing-container-metrics/missing-container-metrics
Adding Helm repo to your Helm client
$ helm repo add missing-container-metrics https://draganm.github.io/missing-container-metrics
Installing the Chart
$ kubectl create namespace missing-container-metrics
$ helm install my-release-name missing-container-metrics/missing-container-metrics -n missing-container-metrics
Configuration
| Parameter | Description | Default |
|---|---|---|
| image.repository | missing-container-metrics image name | dmilhdef/missing-container-metrics |
| image.pullPolicy | pull policy for the image | IfNotPresent |
| image.tag | tag of the missing-container-metrics image | v0.21.0 |
| imagePullSecrets | pull secrets for the image | [] |
| nameOverride | Override the generated chart name. Defaults to .Chart.Name. | |
| fullnameOverride | Override the generated release name. Defaults to .Release.Name. | |
| podAnnotations | Annotations for the started pods | {"prometheus.io/scrape": "true", "prometheus.io/port": "3001"} |
| podSecurityContext | Set the security context for the pods | |
| securityContext | Set the security context for the container in the pods | |
| resources | CPU/memory resource requests/limits | {} |
| useDocker | If true, container info is obtained from Docker | false |
| useContainerd | If true, container info is obtained from Containerd | true |
Deploy missing-container-metrics with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has missing-container-metrics 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 chartmissing-container-metrics is pinned at v0.1.1 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