Skip to content

Commit

Permalink
update README
Browse files Browse the repository at this point in the history
  • Loading branch information
octu0 committed Dec 18, 2020
1 parent bb34875 commit 369b04b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Features:
- Configuration examples of various settings
- Configuration of Weighted Round Robin LoadBalancer

## Bootstraping
## Bootstrapping

As bootstrap, in [envoy/envoy.yaml](https://github.com/octu0/example-envoy-xds/blob/master/envoy/envoy.yaml), specify `example-envoy-xds` in `xds_cluster` and `als_cluster`
This will allow xDS communication with grpc.
Expand Down Expand Up @@ -96,7 +96,7 @@ layered_runtime:
name: runtime0
```
When you start envoy with docker, you can specify the IP and port of `example-envoy-xds` with environment variables.
When you start envoy with docker, you can specify IP and port of `example-envoy-xds` with environment variables.

```shell
$ docker run --net=host \
Expand All @@ -112,7 +112,8 @@ $ docker run --net=host \
```

Configure xDS with grpc, `example-envoy-xds` will be started so that envoy can communicate with it.
At this time, the node.id of envoy (specified by `ENVOY_XDS_NODE_ID`) must be the same value to start, otherwise the snapshot will not be changed.
At this time, `node.id` of envoy (specified by `ENVOY_XDS_NODE_ID`) must be the same value,
otherwise the Snapshot will not be changed.

```shell
$ docker run --net=host \
Expand All @@ -127,6 +128,8 @@ $ docker run --net=host \
docker.pkg.github.com/octu0/example-envoy-xds/example-envoy-xds:1.0.0 server
```

Edit eds.yaml in current directory to make sure EDS are updated.

## Execution example

Using docker-compose to check the behavior.
Expand Down

0 comments on commit 369b04b

Please sign in to comment.