Update Readme.md

This commit is contained in:
Random-Liu
2017-01-19 01:59:09 -08:00
parent e39476300a
commit 2ef2af99eb
4 changed files with 26 additions and 15 deletions
+6
View File
@@ -97,11 +97,17 @@ spec:
- name: log
mountPath: /log
readOnly: true
- name: localtime
mountPath: /etc/localtime
readOnly: true
volumes:
- name: log
# Config `log` to your system log directory
hostPath:
path: /var/log/
- name: localtime
hostPath:
path: /etc/localtime
```
* Edit node-problem-detector.yaml to fit your environment: Set `log` volume to your system log diretory. (Used by KernelMonitor)
* Create the DaemonSet with `kubectl create -f node-problem-detector.yaml`