File tree Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Expand file tree Collapse file tree 2 files changed +1
-16
lines changed Original file line number Diff line number Diff line change 71
71
- name : node-problem-detector
72
72
image : gcr.io/google_containers/node-problem-detector:v0.1
73
73
imagePullPolicy : Always
74
- env :
75
- # Config `host` and `port` of apiserver.
76
- - name : " KUBERNETES_SERVICE_HOST"
77
- value : " master-node-host-name"
78
- - name : " KUBERNETES_SERVICE_PORT"
79
- value : " 443"
80
74
securityContext :
81
75
privileged : true
82
76
volumeMounts :
89
83
hostPath :
90
84
path : /var/log/
91
85
` ` `
92
- * Edit node-problem-detector.yaml to fit your environment:
93
- * Set environent variables ` KUBERNETES_SERVICE_HOST` and `KUBERNETES_SERVICE_PORT`
94
- to apiserver host ip and port.
95
- * Set `log` volueme to your system log diretory. (Used by KernelMonitor)
86
+ * Edit node-problem-detector.yaml to fit your environment: Set ` log` volueme to your system log diretory. (Used by KernelMonitor)
96
87
* Create the DaemonSet with `kubectl create -f node-problem-detector.yaml`
97
88
* If needed, you can use [ConfigMap](http://kubernetes.io/docs/user-guide/configmap/)
98
89
to overwrite the `config/`.
Original file line number Diff line number Diff line change 16
16
- --kernel-monitor=/config/kernel-monitor.json
17
17
image : gcr.io/google_containers/node-problem-detector:v0.1
18
18
imagePullPolicy : Always
19
- env :
20
- # Config `host` and `port` of apiserver.
21
- - name : " KUBERNETES_SERVICE_HOST"
22
- value : " e2e-test-lantaol-master"
23
- - name : " KUBERNETES_SERVICE_PORT"
24
- value : " 443"
25
19
securityContext :
26
20
privileged : true
27
21
volumeMounts :
You can’t perform that action at this time.
0 commit comments