From d9cb2e3846840217880bdbc0be8ce2f05ba9af94 Mon Sep 17 00:00:00 2001 From: Amanpreet Singh Date: Wed, 11 Jan 2017 01:37:26 +0530 Subject: [PATCH] Fix "Flags usage" in README --- README.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index cc828f84..47641a7c 100644 --- a/README.md +++ b/README.md @@ -53,13 +53,15 @@ List of supported problem daemons: # Usage ## Flags -* `-apiserver-override`: An URI parameter used to customize how node-problem-detector -connects the apiserver. The format is the same with the +* `--apiserver-override`: A URI parameter used to customize how node-problem-detector +connects the apiserver. The format is same as the [`source`](https://github.com/kubernetes/heapster/blob/master/docs/source-configuration.md#kubernetes) -flag of [Heapster](https://github.com/kubernetes/heapster): +flag of [Heapster](https://github.com/kubernetes/heapster). +For example, to run without auth, use the following config: ``` -http://APISERVER_IP:APISERVER_PORT?inClusterConfig=false&userServiceAccount=false&auth=&insecure= +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. ## Build Image Run `make` in the top directory. It will: