ceph-exporter
by ygqygq2
A Helm chart for Kubernetes
About this chart
ceph-exporter - Multiple tracker, Multiple storage
Introduction
This chart bootstraps ceph-exporter deployment on a Kubernetes cluster using the Helm package manager.
Prerequisites
- Kubernetes 1.6+
- PV provisioner support in the underlying infrastructure
Installing the Chart
To install the chart with the release name my-release:
$ helm install --name my-release local/ceph-exporter
The command deploys ceph-exporter cluster on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.
Uninstall
To uninstall/delete the my-release deployment:
$ helm delete my-release
Configuration
The following table lists the configurable parameters of the FastDFS-Nginx chart and their default values.
| Parameter | Description | Default |
|---|---|---|
replicaCount | replicas number | 1 |
service | Service type, protocol, port | ClusterIP TCP 9128 |
image | ceph-exporter image, tag. | digitalocean/ceph_exporter latest |
ingress | Ingress for the ceph-exporter. | false |
resources | CPU/Memory resource requests/limits | Memory: 128Mi, CPU: 100m |
serviceMonitor.enabled | ceph exporter metrics | false |
serviceMonitor.exporterPort | ceph exporter port | 9128 |
serviceMonitor.endpoints | ceph exporter server ip | [] |
serviceMonitor.scheme | ceph exporter scheme http | http |
serviceMonitor.serviceSelectorLabelKey | ceph exporter service selector label key | app |
serviceMonitor.prometheusRules | prometheusRules | {} |
serviceMonitor.additionalServiceMonitorLabels | one of prometheus operator label | release: prometheus-operator |
serviceMonitor.additionalRulesLabels | one of prometheus operator label | release: prometheus-operator |
Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,
Deploy ceph-exporter with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has ceph-exporter 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 chartceph-exporter is pinned at v1.0.0 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