theshire/kubernetes/apps/observability/node-exporter/app/helmrelease.yaml
2024-08-17 10:58:06 -05:00

57 lines
1.3 KiB
YAML

---
# yaml-language-server: $schema=https://ks.hsn.dev/helm.toolkit.fluxcd.io/helmrelease_v2.json
apiVersion: helm.toolkit.fluxcd.io/v2
kind: HelmRelease
metadata:
name: node-exporter
spec:
interval: 30m
chart:
spec:
chart: prometheus-node-exporter
version: 4.38.0
sourceRef:
kind: HelmRepository
name: prometheus-community
namespace: flux-system
interval: 30m
values:
fullnameOverride: node-exporter
image:
registry: quay.io
repository: prometheus/node-exporter
prometheus:
monitor:
enabled: true
jobLabel: app.kubernetes.io/instance
relabelings:
- action: replace
regex: (.*)
replacement: $1
sourceLabels:
- __meta_kubernetes_pod_node_name
targetLabel: kubernetes_node
- action: replace
regex: (.*)
replacement: $1
sourceLabels:
- __meta_kubernetes_pod_node_name
targetLabel: nodename
- action: replace
regex: (.*)
replacement: $1.bjw-s.internal:9100
sourceLabels:
- kubernetes_node
targetLabel: instance
resources:
requests:
cpu: 23m
memory: 64M
limits:
memory: 64M
hostNetwork: false