linkerd2/cli
Brian Smith 517616a166
Make absolute names truly absolute. (#525)
Kubernetes will do multiple DNS lookups for a name like
`proxy-api.conduit.svc.cluster.local` based on the default search settings
in /etc/resolv.conf for each container:

1. proxy-api.conduit.svc.cluster.local.conduit.svc.cluster.local. IN A
2. proxy-api.conduit.svc.cluster.local.svc.cluster.local. IN A
3. proxy-api.conduit.svc.cluster.local.cluster.local. IN A
4. proxy-api.conduit.svc.cluster.local. IN A

We do not need or want this search to be done, so avoid it by making each
name absolute by appending a period so that the first three DNS queries
are skipped for each name.

The case for `localhost` is even worse because we expect that `localhost` will
always resolve to 127.0.0.1 and/or ::1, but this is not guaranteed if the default
search is done:

1. localhost.conduit.svc.cluster.local. IN A
2. localhost.svc.cluster.local. IN A
3. localhost.cluster.local. IN A
4. localhost. IN A

Avoid these unnecessary DNS queries by making each name absolute, so that the
first three DNS queries are skipped for each name.

Signed-off-by: Brian Smith <brian@briansmith.org>
2018-03-07 09:46:03 -10:00
..
cmd Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
install Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
Dockerfile Introducing Conduit, the ultralight service mesh 2017-12-05 00:24:55 +00:00
Dockerfile-bin Base control plane Docker images on scratch instead of base. (#368) 2018-02-23 13:03:19 -10:00
main.go Replace shelling out with kubernetes proxy (#249) 2018-02-02 10:31:59 -08:00