2023-04-24 04:30:04 +00:00
|
|
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
|
|
|
kind: HelmRelease
|
|
|
|
metadata:
|
|
|
|
name: zfs-exporter
|
|
|
|
namespace: monitoring
|
|
|
|
spec:
|
|
|
|
interval: 5m
|
|
|
|
chart:
|
|
|
|
spec:
|
|
|
|
chart: app-template
|
|
|
|
version: 1.3.x
|
|
|
|
sourceRef:
|
|
|
|
kind: HelmRepository
|
|
|
|
name: bjws-charts
|
|
|
|
namespace: flux-system
|
|
|
|
|
|
|
|
values:
|
|
|
|
image:
|
|
|
|
repository: ghcr.io/seanomik/zfs_promexporter
|
|
|
|
tag: latest
|
|
|
|
|
|
|
|
securityContext:
|
|
|
|
privileged: true
|
|
|
|
|
|
|
|
service:
|
|
|
|
main:
|
|
|
|
ports:
|
|
|
|
http:
|
|
|
|
port: 8080
|
|
|
|
|
|
|
|
probes:
|
|
|
|
liveness:
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
serviceMonitor:
|
|
|
|
main:
|
|
|
|
enabled: true
|
2023-04-24 04:51:09 +00:00
|
|
|
|
|
|
|
labels:
|
|
|
|
monitorWith: prometheus
|
|
|
|
|
2023-04-24 04:30:04 +00:00
|
|
|
endpoints:
|
|
|
|
- port: http
|
|
|
|
scheme: http
|
|
|
|
path: /metrics
|
|
|
|
interval: 1m
|
|
|
|
scrapeTimeout: 10s
|
|
|
|
|
|
|
|
# resources:
|
|
|
|
# requests:
|
|
|
|
# cpu: 1m
|
|
|
|
# memory: 140Mi
|
|
|
|
# limits:
|
|
|
|
# memory: 300Mi
|