Skip to content

Commit

Permalink
grpc-gateway: add provider status endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
boz committed Jul 9, 2018
1 parent 766ffc7 commit c2d5916
Show file tree
Hide file tree
Showing 6 changed files with 213 additions and 150 deletions.
5 changes: 3 additions & 2 deletions _run/multi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ helm-upgrade-node-%:
-f "$(NODE_ROOT)/$(@:helm-upgrade-node-%=%).yaml"

helm-check-node-%:
curl "$(@:helm-check-node-%=%).$(shell minikube ip).nip.io/status"
curl -f "$(@:helm-check-node-%=%).$(shell minikube ip).nip.io/status"
@echo

helm-delete-node-%:
Expand Down Expand Up @@ -54,4 +54,5 @@ helm-delete-provider-%:
helm delete "$(@:helm-delete-provider-%=%)" --purge

helm-check-provider-%:
curl "$(@:helm-check-provider-%=%).$(shell minikube ip).nip.io/status"
curl -f "$(@:helm-check-provider-%=%).$(shell minikube ip).nip.io/status"
@echo
6 changes: 3 additions & 3 deletions _run/multi/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ Ensure that you have installed the base dependencies and have set `GOPATH` [as d
__t1__: Start minikube

```sh
$ cd $GOPATH/src/github.com/ovrclk/akash
$ cd $GOPATH/src/github.com/ovrclk/akash/_run/multi
$ minikube start --cpus 4 --memory 4096
$ minikube addons enable ingress
$ kubectl create -f _run/multi/rbac.yml
$ kubectl create -f rbac.yml
```

__t1__: Initialize helm
Expand All @@ -49,8 +49,8 @@ $ make image-minikube
__t1__: Generate genesis and config

_run.sh wraps various shell commands to make the prototype eaiser to run. The init command makes two wallets (named master and other), a genesis configuration giving master all the tokens, and configuration for four nodes located in data/node/_

```sh
$ cd $GOPATH/src/github.com/ovrclk/akash/_run/multi
$ make # make sure to compile latest akash binaries
$ ./run.sh init
```
Expand Down
Loading

0 comments on commit c2d5916

Please sign in to comment.