Skip to content

Commit

Permalink
fix monitor program entry (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yan Xu authored Aug 27, 2018
1 parent 64888aa commit b0b8cbf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion doc/boss_tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,8 @@ the cluster is available, for the other approach, you can contact the administra
Please open a new tab in your terminal program and run the monitor Python script `example/collector.py`:
```bash
docker run --rm -it -v $HOME/.kube/config:/root/.kube/config $PWD:/work paddlepaddle/edl-example python collector.py
> cd edl/example
> docker run --rm -it -v $HOME/.kube/config:/root/.kube/config -v $PWD:/work paddlepaddle/edl-example python /work/collector.py
```
And you can see the following metrics:
Expand Down
2 changes: 1 addition & 1 deletion k8s/edl_controller.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ spec:
value: ""
- name: http_proxy
value: ""
command: ["/usr/local/bin/edl", "-logtostderr", "-log_level", "debug"]
command: ["/usr/local/bin/edl", "-logtostderr", "-log_level", "debug", "-max_load_desired", "0.9"]

0 comments on commit b0b8cbf

Please sign in to comment.