46 lines
922 B
YAML
46 lines
922 B
YAML
|
---
|
||
|
apiVersion: helm.toolkit.fluxcd.io/v2beta1
|
||
|
kind: HelmRelease
|
||
|
metadata:
|
||
|
name: node-exporter
|
||
|
namespace: monitoring
|
||
|
spec:
|
||
|
interval: 30m
|
||
|
chart:
|
||
|
spec:
|
||
|
chart: prometheus-node-exporter
|
||
|
version: 4.22.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
|
||
|
|
||
|
resources:
|
||
|
requests:
|
||
|
cpu: 23m
|
||
|
memory: 64M
|
||
|
limits:
|
||
|
memory: 64M
|
||
|
|
||
|
hostNetwork: false
|