Merge pull request #72 from andyxning/enrich_info_about_nodename

detail how node-problem-detector get node name in README
This commit is contained in:
Lantao Liu
2017-01-18 11:02:56 -08:00
committed by GitHub
4 changed files with 40 additions and 22 deletions
+1
View File
@@ -62,6 +62,7 @@ For example, to run without auth, use the following config:
http://APISERVER_IP:APISERVER_PORT?inClusterConfig=false
```
Refer [heapster docs](https://github.com/kubernetes/heapster/blob/1e40b0f4b5eeb3f02e11ee22c2b6fda36b6e6ea1/docs/source-configuration.md#kubernetes) for a complete list of available options.
* `-hostname-override`: A customized node name used for node-problem-detector to update conditions and emit events. node-problem-detector gets node name first from `hostname-override`, then `NODE_NAME` environment variable and finally fall back to `os.Hostname`.
## Build Image
Run `make` in the top directory. It will: