vsphere-cns-volume-monitor
by janip81
A tool to monitor and optionally delete orphaned vSphere CNS volumes
About this chart
vsphere-cns-volume-monitor
A tool to monitor and optionally delete orphaned vSphere CNS volumes
Homepage: https://github.com/janip81/helm-charts/tree/main/charts/vsphere-cns-volume-monitor
Maintainers
| Name | Url | |
|---|---|---|
| janip81 | [email protected] | https://github.com/janip81 |
Source Code
- https://github.com/janip81/helm-charts/tree/main/charts/vsphere-cns-volume-monitor
- https://github.com/janip81/vsphere-cns-volume-monitor
Overview
Helm-chart for deploying a vSphere CNS monitor tool
Adding this helm repository
To add the helm repository, run the following commands:
helm repo add janip81 https://janip81.github.io/helm-charts/
helm search repo vsphere-cns-volume-monitor
values.yaml files for the charts can be found in the charts/[chartname] directories.
TL;DR
helm repo add janip81 https://janip81.github.io/helm-charts/
helm install my-app-name janip81/vsphere-cns-volume-monitor -f YOU-OWN-VALUES.yaml
Helm must be installed to use the charts. Please refer to Helm's documentation to get started.
If you had already added this repo earlier, run helm repo update to retrieve
the latest versions of the packages. You can then run helm search repo <alias> to see the charts.
To install the chart:
helm install my-<chart-name> <alias>/<chart-name>
To uninstall the chart:
helm delete my-<chart-name>
Prerequisites
- Kubernetes
- Helm 3.1.0
- PV provisioner support in the underlying infrastructure (for persistent storage)
- LoadBalancer support or an Ingress controller
Values
| Key | Type | Default | Description |
|---|---|---|---|
| cronjob.schedule | string | "0 * * * *" | |
| image.pullPolicy | string | "IfNotPresent" | |
| image.repository | string | "ghcr.io/janip81/vsphere-cns-volume-monitor" | |
| image.tag | string | "latest" | |
| mode | string | "deployment" | |
| rbac.create | bool | false | |
| resources | object | {} | |
| scan.delete | bool | false | |
| scan.interval | int | 600 | |
| service.annotations."prometheus.io/port" | string | "8080" | |
| service.annotations."prometheus.io/scrape" | string | "true" | |
| service.enabled | bool | true | |
| service.port | int | 8080 | |
| serviceMonitor.enabled | bool | false | |
| serviceMonitor.interval | string | "30s" | |
| serviceMonitor.labels.release | string | "prometheus" | |
| serviceMonitor.namespace | string | "" | |
| serviceMonitor.scrapeTimeout | string | "10s" | |
| vcenter.createSecret | bool | false | |
| vcenter.existingSecret | string | "" | |
| vcenter.insecure | bool | true | |
| vcenter.password | string | "changeme" | |
| vcenter.url | string | "https://vcenter.example.com" | |
| vcenter.username | string | nil |
Autogenerated from chart metadata using helm-docs v1.14.2
Deploy vsphere-cns-volume-monitor with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has vsphere-cns-volume-monitor 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 chartvsphere-cns-volume-monitor is pinned at v0.0.2-dev 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