vsphere-cns-volume-monitor

by janip81

Helm chartv0.0.2-devApp 0.0.1Apache-2.0Verified publisher

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

NameEmailUrl
janip81[email protected]https://github.com/janip81

Source Code

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

KeyTypeDefaultDescription
cronjob.schedulestring"0 * * * *"
image.pullPolicystring"IfNotPresent"
image.repositorystring"ghcr.io/janip81/vsphere-cns-volume-monitor"
image.tagstring"latest"
modestring"deployment"
rbac.createboolfalse
resourcesobject{}
scan.deleteboolfalse
scan.intervalint600
service.annotations."prometheus.io/port"string"8080"
service.annotations."prometheus.io/scrape"string"true"
service.enabledbooltrue
service.portint8080
serviceMonitor.enabledboolfalse
serviceMonitor.intervalstring"30s"
serviceMonitor.labels.releasestring"prometheus"
serviceMonitor.namespacestring""
serviceMonitor.scrapeTimeoutstring"10s"
vcenter.createSecretboolfalse
vcenter.existingSecretstring""
vcenter.insecurebooltrue
vcenter.passwordstring"changeme"
vcenter.urlstring"https://vcenter.example.com"
vcenter.usernamestringnil

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.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. 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.
  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