45 lines
1.3 KiB
YAML
45 lines
1.3 KiB
YAML
|
---
|
||
|
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2beta2.json
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: &app node-exporter
|
||
|
spec:
|
||
|
interval: 30m
|
||
|
chartRef:
|
||
|
kind: OCIRepository
|
||
|
name: prometheus-node-exporter
|
||
|
namespace: flux-system
|
||
|
driftDetection:
|
||
|
mode: enabled
|
||
|
install:
|
||
|
crds: CreateReplace
|
||
|
remediation:
|
||
|
retries: 3
|
||
|
upgrade:
|
||
|
cleanupOnFail: true
|
||
|
crds: CreateReplace
|
||
|
remediation:
|
||
|
retries: 3
|
||
|
values:
|
||
|
fullnameOverride: *app
|
||
|
podLabels:
|
||
|
jobLabel: node-exporter
|
||
|
releaseLabel: true
|
||
|
extraArgs:
|
||
|
- --collector.filesystem.mount-points-exclude=^/(dev|proc|sys|var/lib/docker/.+|var/lib/kubelet/.+)($|/)
|
||
|
- --collector.filesystem.fs-types-exclude=^(autofs|binfmt_misc|bpf|cgroup2?|configfs|debugfs|devpts|devtmpfs|fusectl|hugetlbfs|iso9660|mqueue|nsfs|overlay|proc|procfs|pstore|rpc_pipefs|securityfs|selinuxfs|squashfs|sysfs|tracefs)$
|
||
|
service:
|
||
|
portName: http-metrics
|
||
|
prometheus:
|
||
|
monitor:
|
||
|
enabled: true
|
||
|
jobLabel: jobLabel
|
||
|
attachMetadata:
|
||
|
node: true
|
||
|
relabelings:
|
||
|
- sourceLabels: [__meta_kubernetes_pod_node_name]
|
||
|
targetLabel: instance
|
||
|
rbac:
|
||
|
pspEnabled: false
|