Files
Paul WhiteheadandGitHub 817ac3692e [stable/node-problem-detector] Customize rollout strategy (#23826)
* add the ability to manage updateStrategy

Signed-off-by: Paul Whitehead <whitehead.pauljay@gmail.com>

* update the readme

Signed-off-by: Paul Whitehead <whitehead.pauljay@gmail.com>

* bump the chart version

Signed-off-by: Paul Whitehead <whitehead.pauljay@gmail.com>
2020-10-01 01:12:54 -07:00

106 lines
2.5 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: ""
securityContext:
privileged: true
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
extraVolumes: []
extraVolumeMounts: []
updateStrategy: RollingUpdate
maxUnavailable: 1