File tree Expand file tree Collapse file tree
quickstart/provider/vagrant Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,9 +47,9 @@ $ kubectl --namespace=deis annotate replicationcontroller deis-router router.dei
4747The format is the same for the controller whitelist but you need to specify the whitelist directly
4848to the controller's service. For example:
4949
50- $ kubectl --namespace=deis annotate service deis-controller router.deis.io/whitelist="10.0.1.0/24: office_intranet ,121.212.121.212: dev_jenkins "
50+ $ kubectl --namespace=deis annotate service deis-controller router.deis.io/whitelist="10.0.1.0/24,121.212.121.212"
5151
5252And the same applies to applications. For example, to apply a whitelist to an application named
5353` example ` :
5454
55- $ kubectl --namespace=example annotate service example-web router.deis.io/whitelist="10.0.1.0/24: office_intranet ,121.212.121.212: dev_jenkins "
55+ $ kubectl --namespace=example annotate service example-web router.deis.io/whitelist="10.0.1.0/24,121.212.121.212"
Original file line number Diff line number Diff line change @@ -27,8 +27,14 @@ IP: 10.247.114.249
2727
2828The service address for the router is ` 10.247.114.249 ` .
2929
30- Last, we need to inform your machine how to reach the service address:
30+ Last, we need to inform your machine how to reach the service address.
3131
32+ Add routes on Linux with:
33+ ```
34+ $ sudo route add 10.247.114.249 gw 10.245.1.3
35+ ```
36+
37+ Add routes on Mac OS X with:
3238```
3339$ sudo route add 10.247.114.249 10.245.1.3
3440Password:
@@ -40,6 +46,13 @@ node found at `10.245.1.3`.
4046
4147** Remember when you are finished experimenting, you should remove the route so you aren't confused later:**
4248
49+ Remove routes on Linux with:
50+ ```
51+ $ sudo route del 10.247.114.249
52+ ```
53+
54+ Remove routes on Mac OS X with:
55+
4356```
4457$ sudo route delete 10.247.114.249 10.245.1.3
4558delete host 10.247.114.249: gateway 10.245.1.3
You can’t perform that action at this time.
0 commit comments