forked from kubernetes/node-problem-detector
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnode-problem-detector.yaml
More file actions
41 lines (41 loc) · 1.08 KB
/
node-problem-detector.yaml
File metadata and controls
41 lines (41 loc) · 1.08 KB
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
apiVersion: extensions/v1beta1
kind: DaemonSet
metadata:
name: node-problem-detector
spec:
template:
metadata:
labels:
app: node-problem-detector
spec:
hostNetwork: true
containers:
- name: node-problem-detector
command:
- /node-problem-detector
- --kernel-monitor=/config/kernel-monitor.json
image: gcr.io/google_containers/node-problem-detector:v0.1
imagePullPolicy: Always
env:
# Config `host` and `port` of apiserver.
- name: "KUBERNETES_SERVICE_HOST"
value: "e2e-test-lantaol-master"
- name: "KUBERNETES_SERVICE_PORT"
value: "443"
securityContext:
privileged: true
volumeMounts:
- name: log
mountPath: /log
readOnly: true
- name: config
mountPath: /config
readOnly: true
volumes:
- name: log
# Config `log` to your system log directory
hostPath:
path: /var/log/
- name: config
configMap:
name: node-problem-detector-config