diff --git a/docs/index.html b/docs/index.html index 57637a3b..319b1613 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1754,6 +1754,7 @@ Moreover, it would significantly alter the code path for `docker run`, even in c - We need to connect to the `webui` service, but it is not publishing any port + - --- @@ -2043,6 +2043,25 @@ Current behavior for VIPs is to ping when there is a backend available on the sa - You change this with `docker service create --endpoint-mode [VIP|DNSRR]` +--- + +## Looking up VIP backends + +- You can also resolve a special name: `tasks.` + +- It will give you the IP addresses of the containers for a given service + +.exercise[ + +- Obtain the IP addresses of the containers for the `rng` service: + ```bash + drill tasks.rng + ``` + +] + +This should list 5 IP addresses. + ??? ## Testing and benchmarking our service @@ -3210,7 +3229,7 @@ To exit, hit `^C` apk add --no-cache openssh-client && ssh -o StrictHostKeyChecking=no -i /sshkey docker@172.17.0.1 \ sudo snapd -t 0 -l 1 --tribe --tribe-seed node1:6000 - " + " # If you copy-paste that block, don't forget that final quote :-) ``` ] @@ -3356,6 +3375,8 @@ this breaks a few things.] CREATE DATABASE "snap" ``` +- In the top-right corner, select "Database: snap" + ] Note: the InfluxDB query language *looks like* SQL but it's not. @@ -3809,13 +3830,10 @@ even when it is not strictly technically necessary. docker volume ls ``` -- And as you can expect, the `foo` key is gone: - ```bash - redis get foo - ``` - ] +(You should see one extra volume.) + --- ## Assigning a persistent volume to the container