[ci skip] update k8s document.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu 2017-10-23 13:03:54 +08:00
parent 4f2eeac7c3
commit 4df24202cf
1 changed files with 5 additions and 1 deletions

View File

@ -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`. Please make sure your [config.yml](config/config.yml) exist. Default port is `8088`.
```bash ```bash
# for default config
$ gorush
# for custom config file
$ gorush -c config.yml $ gorush -c config.yml
``` ```
@ -753,10 +756,11 @@ $ http -v --verify=no --json GET http://your.docker.host/api/stat/go
### Quick Start ### Quick Start
Create name space `gorush`: Create name space as `gorush` and configuration map:
```sh ```sh
$ kubectl create -f k8s/gorush-namespace.yaml $ kubectl create -f k8s/gorush-namespace.yaml
$ kubectl create -f k8s/gorush-configmap.yaml
``` ```
Create redis service: Create redis service: