From 4df24202cfc802a4efb7f3e9be83ebf113e1b9ff Mon Sep 17 00:00:00 2001 From: Bo-Yi Wu Date: Mon, 23 Oct 2017 13:03:54 +0800 Subject: [PATCH] [ci skip] update k8s document. Signed-off-by: Bo-Yi Wu --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 82aabc1..080b887 100644 --- a/README.md +++ b/README.md @@ -255,6 +255,9 @@ $ gorush -ios -m="your message" -i="your certificate path" -t="device token" -pr Please make sure your [config.yml](config/config.yml) exist. Default port is `8088`. ```bash +# for default config +$ gorush +# for custom config file $ gorush -c config.yml ``` @@ -753,10 +756,11 @@ $ http -v --verify=no --json GET http://your.docker.host/api/stat/go ### Quick Start -Create name space `gorush`: +Create name space as `gorush` and configuration map: ```sh $ kubectl create -f k8s/gorush-namespace.yaml +$ kubectl create -f k8s/gorush-configmap.yaml ``` Create redis service: