mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
* [stable/prometheus-node-exporter] Make hostNetwork configurable Signed-off-by: Christian Cöster <christian.coester@de.clara.net> * [stable/prometheus-node-exporter] Update README.md Signed-off-by: Christian Cöster <christian.coester@de.clara.net> * [stable/prometheus-node-exporter] Bump chart version Signed-off-by: Christian Cöster <christian.coester@de.clara.net>
100 lines
2.5 KiB
YAML
100 lines
2.5 KiB
YAML
# Default values for prometheus-node-exporter.
|
|
# This is a YAML-formatted file.
|
|
# Declare variables to be passed into your templates.
|
|
image:
|
|
repository: quay.io/prometheus/node-exporter
|
|
tag: v0.17.0
|
|
pullPolicy: IfNotPresent
|
|
|
|
service:
|
|
type: ClusterIP
|
|
port: 9100
|
|
targetPort: 9100
|
|
nodePort:
|
|
annotations:
|
|
prometheus.io/scrape: "true"
|
|
|
|
prometheus:
|
|
monitor:
|
|
enabled: false
|
|
additionalLabels: {}
|
|
namespace: ""
|
|
|
|
resources: {}
|
|
# We usually recommend not to specify default resources and to leave this as a conscious
|
|
# choice for the user. This also increases chances charts run on environments with little
|
|
# resources, such as Minikube. If you do want to specify resources, uncomment the following
|
|
# lines, adjust them as necessary, and remove the curly braces after 'resources:'.
|
|
# limits:
|
|
# cpu: 200m
|
|
# memory: 50Mi
|
|
# requests:
|
|
# cpu: 100m
|
|
# memory: 30Mi
|
|
|
|
serviceAccount:
|
|
# Specifies whether a ServiceAccount should be created
|
|
create: true
|
|
# The name of the ServiceAccount to use.
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
name:
|
|
imagePullSecrets: []
|
|
|
|
securityContext:
|
|
runAsNonRoot: true
|
|
runAsUser: 65534
|
|
|
|
rbac:
|
|
## If true, create & use RBAC resources
|
|
##
|
|
create: true
|
|
## If true, create & use Pod Security Policy resources
|
|
## https://kubernetes.io/docs/concepts/policy/pod-security-policy/
|
|
pspEnabled: true
|
|
|
|
# for deployments that have node_exporter deployed outside of the cluster, list
|
|
# their addresses here
|
|
endpoints: []
|
|
|
|
# Expose the service to the host network
|
|
hostNetwork: true
|
|
|
|
## Assign a group of affinity scheduling rules
|
|
##
|
|
affinity: {}
|
|
# nodeAffinity:
|
|
# requiredDuringSchedulingIgnoredDuringExecution:
|
|
# nodeSelectorTerms:
|
|
# - matchFields:
|
|
# - key: metadata.name
|
|
# operator: In
|
|
# values:
|
|
# - target-host-name
|
|
|
|
## Assign a nodeSelector if operating a hybrid cluster
|
|
##
|
|
nodeSelector: {}
|
|
# beta.kubernetes.io/arch: amd64
|
|
# beta.kubernetes.io/os: linux
|
|
|
|
tolerations:
|
|
- effect: NoSchedule
|
|
operator: Exists
|
|
|
|
## Assign a PriorityClassName to pods if set
|
|
# priorityClassName: ""
|
|
|
|
## Additional container arguments
|
|
##
|
|
extraArgs: {}
|
|
# - --collector.diskstats.ignored-devices=^(ram|loop|fd|(h|s|v)d[a-z]|nvme\\d+n\\d+p)\\d+$
|
|
|
|
## Additional mounts from the host
|
|
##
|
|
extraHostVolumeMounts: {}
|
|
# - name: <mountName>
|
|
# hostPath: <hostPath>
|
|
# mountPath: <mountPath>
|
|
# readOnly: true|false
|
|
# mountPropagation: None|HostToContainer|Bidirectional
|