mirror of
https://github.com/nikdoof/helm-charts.git
synced 2025-12-13 05:32:14 +00:00
76 lines
2.1 KiB
YAML
76 lines
2.1 KiB
YAML
#
|
|
# IMPORTANT NOTE
|
|
#
|
|
# This chart inherits from our common library chart. You can check the default values/options here:
|
|
# https://github.com/k8s-at-home/library-charts/tree/main/charts/stable/common/values.yaml
|
|
#
|
|
|
|
image:
|
|
# -- image repository
|
|
repository: pryorda/vmware_exporter
|
|
# -- image tag
|
|
tag: v0.18.2
|
|
# -- image pull policy
|
|
pullPolicy: IfNotPresent
|
|
|
|
# -- environment variables. See more environment variables in the [vmware-exporter documentation](https://github.com/pryorda/vmware_exporter).
|
|
# @default -- See below
|
|
env:
|
|
VSPHERE_IGNORE_SSL: "True"
|
|
VSPHERE_COLLECT_HOSTS: "True"
|
|
VSPHERE_COLLECT_DATASTORES: "True"
|
|
VSPHERE_COLLECT_VMS: "True"
|
|
|
|
# -- Configures service settings for the chart.
|
|
# @default -- See values.yaml
|
|
service:
|
|
main:
|
|
ports:
|
|
http:
|
|
enabled: false
|
|
metrics:
|
|
enabled: true
|
|
protocol: TCP
|
|
port: 9272
|
|
|
|
ingress:
|
|
# -- Enable and configure ingress settings for the chart under this key.
|
|
# @default -- See values.yaml
|
|
main:
|
|
enabled: false
|
|
|
|
metrics:
|
|
# -- Enable and configure a Prometheus serviceMonitor for the chart under this key.
|
|
# @default -- See values.yaml
|
|
enabled: false
|
|
serviceMonitor:
|
|
interval: 1m
|
|
scrapeTimeout: 30s
|
|
labels: {}
|
|
# -- Enable and configure Prometheus Rules for the chart under this key.
|
|
# @default -- See values.yaml
|
|
prometheusRule:
|
|
enabled: false
|
|
labels: {}
|
|
# -- Configure additionial rules for the chart under this key.
|
|
# @default -- See prometheusrules.yaml
|
|
rules:
|
|
- alert: VmwareExporterAbsent
|
|
annotations:
|
|
description: Vmware Exporter has disappeared from Prometheus service discovery.
|
|
summary: Vmware Exporter is down.
|
|
expr: |
|
|
absent(up{job=~".*{{ include "common.names.fullname" . }}.*"} == 1)
|
|
for: 5m
|
|
labels:
|
|
severity: critical
|
|
# -- Enable and configure Grafana dashboard ConfigMaps for the chart under this key.
|
|
# @default -- See values.yaml
|
|
dashboards:
|
|
create: false
|
|
# -- Namespace to create the dashboards ConfigMap under.
|
|
# @default -- The release's namespace
|
|
namespace:
|
|
labels:
|
|
grafana_dashboard: "true"
|