Files
deprecated-helm-charts/stable/node-problem-detector/values.yaml
T
Markos ChandrasandGitHub e59b8e5ada [stable/node-problem-detector]: Bump to 0.8.1 NPD (#21360)
The new version brings the following fixes

- Fixed several potential busy loops
- Added a k8s-exporter-heartbeat-period flag to make the heart beat period of K8s exporter configurable.
- Fixed a potential NPD panic caused by close of closed channel
- Added Stackdriver exporter for NPD
- Collect a lot more useful CPU/disk/memory metrics
- Fix a few metric units for disk metrics and the calculation for disk_avg_queue_len
- Fix the first 0 value metrics reported for disk_avg_queue_len
- Improve network_problem.sh to support nf_conntrack and report error when conntrack table is 90% full.
- Support host_uptime metrics for CentOS

Signed-off-by: Markos Chandras <markos@chandras.me>
2020-03-10 16:49:35 -07:00

96 lines
2.4 KiB
YAML

settings:
# Custom monitor definitions to add to Node Problem Detector - to be
# mounted at /custom-config. These are in addition to pre-packaged monitor
# definitions provided within the default docker image available at /config:
# https://github.com/kubernetes/node-problem-detector/tree/master/config
custom_monitor_definitions: {}
# docker-monitor-filelog.json: |
# {
# "plugin": "filelog",
# "pluginConfig": {
# "timestamp": "^time=\"(\\S*)\"",
# "message": "msg=\"([^\n]*)\"",
# "timestampFormat": "2006-01-02T15:04:05.999999999-07:00"
# },
# "logPath": "/var/log/docker.log",
# "lookback": "5m",
# "bufferSize": 10,
# "source": "docker-monitor",
# "conditions": [],
# "rules": [
# {
# "type": "temporary",
# "reason": "CorruptDockerImage",
# "pattern": "Error trying v2 registry: failed to register layer: rename /var/lib/docker/image/(.+) /var/lib/docker/image/(.+): directory not empty.*"
# }
# ]
# }
log_monitors:
- /config/kernel-monitor.json
- /config/docker-monitor.json
# An example of activating a custom log monitor definition in
# Node Problem Detector
# - /custom-config/docker-monitor-filelog.json
custom_plugin_monitors: []
prometheus_address: 0.0.0.0
prometheus_port: 20257
# The period at which k8s-exporter does forcibly sync with apiserver
heartBeatPeriod: 5m0s
hostpath:
logdir: /var/log/
image:
repository: k8s.gcr.io/node-problem-detector
tag: v0.8.1
pullPolicy: IfNotPresent
nameOverride: ""
fullnameOverride: ""
rbac:
create: true
pspEnabled: false
# Flag to run Node Problem Detector on the host's network. This is typically
# not recommended, but may be useful for certain use cases.
hostNetwork: false
priorityClassName: ""
resources: {}
annotations: {}
labels: {}
tolerations:
- effect: NoSchedule
operator: Exists
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:
affinity: {}
nodeSelector: {}
metrics:
serviceMonitor:
enabled: false
additionalLabels: {}
env:
# - name: FOO
# value: BAR
# - name: POD_NAME
# valueFrom:
# fieldRef:
# fieldPath: metadata.name