mirror of https://github.com/istio/istio.io.git
modified docker cleanup steps, streamlined docker install steps for mac vs linux (#586)
This commit is contained in:
parent
a1d86b6095
commit
fa8513c69c
|
@ -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
|
||||
```
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue