modified docker cleanup steps, streamlined docker install steps for mac vs linux (#586)

This commit is contained in:
GregHanson 2017-10-02 11:38:51 -05:00 committed by Shriram Rajagopalan
parent a1d86b6095
commit fa8513c69c
2 changed files with 22 additions and 10 deletions

View File

@ -243,14 +243,15 @@ uninstall and clean it up using the following instructions.
### Uninstall from Docker environment
1. Showdown the application
1. Delete the routing rules and application containers
```bash
docker-compose -f samples/bookinfo/consul/bookinfo.yaml down
```
```bash
samples/bookinfo/consul/cleanup.sh
```
2. Cleanup rules
2. Confirm cleanup
```
TBD
```
```bash
istioctl get routerules #-- there should be no more routing rules
kubectl get pods #-- the BookInfo pods should be deleted
```

View File

@ -40,12 +40,18 @@ Quick Start instructions to install and configure Istio in a Docker Compose setu
export PATH=$PWD/bin:$PATH
```
1. Generate a configuration file which will be used by `istioctl` and Istio Pilot
1. Generate a configuration file which will be used by Istio Pilot
```bash
istioctl context-create --api-server http://172.28.0.13:8080
```
1. For Linux users, configure the `DOCKER_GATEWAY` environment variable
```bash
export DOCKER_GATEWAY=172.28.0.1:
```
1. Change directory to the root of the Istio installation directory.
1. Bring up the Istio control plane containers:
@ -61,7 +67,12 @@ Quick Start instructions to install and configure Istio in a Docker Compose setu
```
> If the `Istio-Pilot` container terminates, re-run the command from the previous step.
1. Configure `istioctl` to use mapped local port for the Istio API server:
```bash
istioctl context-create --context istio-local --api-server http://localhost:8080
```
## Deploy your application