forked from deliveryhero/helm-charts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvalues.yaml
148 lines (123 loc) · 4.01 KB
/
values.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
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
# settings.custom_monitor_definitions -- Custom plugin monitor config files
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.*"
# }
# ]
# }
# settings.log_monitors -- User-specified custom monitor definitions
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: []
# Any extra arguments to append to node-problem-detector command
# - "--port 20526"
extraArgs: []
# settings.prometheus_address -- Prometheus exporter address
prometheus_address: 0.0.0.0
# settings.prometheus_port -- Prometheus exporter port
prometheus_port: 20257
# The period at which k8s-exporter does forcibly sync with apiserver
# settings.heartBeatPeriod -- Syncing interval with API server
heartBeatPeriod: 5m0s
logDir:
# logDir.host -- log directory on k8s host
host: /var/log/
# logDir.pod -- log directory in pod (volume mount), use logDir.host if empty
pod: ""
image:
repository: registry.k8s.io/node-problem-detector/node-problem-detector
tag: v0.8.13
# image.digest -- the image digest. If given it takes precedence over a given tag.
digest: ""
pullPolicy: IfNotPresent
imagePullSecrets: []
nameOverride: ""
fullnameOverride: ""
rbac:
create: true
pspEnabled: false
# hostNetwork -- Run pod on host network
# 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
hostPID: false
volume:
localtime:
type: "FileOrCreate"
priorityClassName: system-node-critical
securityContext:
privileged: true
resources: {}
annotations: {}
labels: {}
tolerations:
- effect: NoSchedule
operator: Exists
serviceAccount:
# Specifies whether a ServiceAccount should be created
create: true
# Annotations to add to the service account
annotations: {}
# Labels to add to the service account
labels: {}
# 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:
# metrics.enabled -- Expose metrics in Prometheus format with default configuration.
enabled: false
# metrics.annotations -- Override all default annotations when `metrics.enabled=true` with specified values.
annotations: {}
serviceMonitor:
enabled: false
additionalLabels: {}
additionalRelabelings: []
metricRelabelings: []
prometheusRule:
enabled: false
defaultRules:
create: true
disabled: []
additionalLabels: {}
additionalRules: []
env:
# - name: FOO
# value: BAR
# - name: POD_NAME
# valueFrom:
# fieldRef:
# fieldPath: metadata.name
extraVolumes: []
extraVolumeMounts: []
extraContainers: []
# updateStrategy -- Manage the daemonset update strategy
updateStrategy: RollingUpdate
# maxUnavailable -- The max pods unavailable during an update
maxUnavailable: 1