Skip to content

Commit 50d1762

Browse files
authored
Merge pull request #283 from wangzhen127/update-readme
Update README to state that the ConfigMap is required.
2 parents be82565 + 784e54b commit 50d1762

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,13 @@ helm install stable/node-problem-detector
119119

120120
Or alternatively, to install node-problem-detector manually:
121121

122-
* Edit [node-problem-detector.yaml](deployment/node-problem-detector.yaml) to fit your environment. Set `log` volume to your system log directory (used by SystemLogMonitor). For Kubernetes versions older than 1.9, use [node-problem-detector-old.yaml](deployment/node-problem-detector-old.yaml).
122+
1. Edit [node-problem-detector.yaml](deployment/node-problem-detector.yaml) to fit your environment. Set `log` volume to your system log directory (used by SystemLogMonitor). You can use a ConfigMap to overwrite the `config` directory inside the pod. For Kubernetes versions older than 1.9, use [node-problem-detector-old.yaml](deployment/node-problem-detector-old.yaml).
123123

124-
* If needed, you can use a [ConfigMap](https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/) to overwrite the `config` directory inside the pod. Edit [node-problem-detector-config.yaml](deployment/node-problem-detector-config.yaml) as required and create the `ConfigMap` with `kubectl create -f node-problem-detector-config.yaml`.
124+
2. Edit [node-problem-detector-config.yaml](deployment/node-problem-detector-config.yaml) to configure node-problem-detector.
125125

126-
* Create the DaemonSet with `kubectl create -f node-problem-detector.yaml`.
126+
3. Create the ConfigMap with `kubectl create -f node-problem-detector-config.yaml`.
127+
128+
3. Create the DaemonSet with `kubectl create -f node-problem-detector.yaml`.
127129

128130
## Start Standalone
129131

0 commit comments

Comments
 (0)