linkerd2/cli/cmd/testdata
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
..
inject_emojivoto_deployment.golden.yml Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
inject_emojivoto_deployment.input.yml Refactor `conduit inject` code to make it unit-testable. (#379) 2018-02-18 12:33:52 -10:00
inject_emojivoto_deployment_controller_name.golden.yml Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
inject_emojivoto_deployment_controller_name.input.yml Inject the conduit proxy into controller pod during conduit install (#365) 2018-02-23 13:55:46 -08:00
inject_emojivoto_deployment_hostNetwork_false.golden.yml Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
inject_emojivoto_deployment_hostNetwork_false.input.yml Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
inject_emojivoto_deployment_hostNetwork_true.golden.yml Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
inject_emojivoto_deployment_hostNetwork_true.input.yml Skip pods with hostNetwork=true in `conduit inject` (#380) 2018-02-18 13:55:42 -10:00
inject_gettest_deployment.bad.golden Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
inject_gettest_deployment.bad.input.yml Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
inject_gettest_deployment.good.golden.yml Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
inject_gettest_deployment.good.input.yml Print error message only when invalid YAML file is used with inject command (#389) 2018-02-20 11:59:41 -08:00
install_default.golden Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
install_output.golden Make absolute names truly absolute. (#525) 2018-03-07 09:46:03 -10:00
stat_busy_output.golden Remove pod-level metrics from web and CLI (#304) 2018-02-08 19:07:10 -08:00
stat_empty_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
stat_one_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
status_busy_output.golden Remove kubectl dependency, validate k8s server version via api (#396) 2018-02-20 12:14:11 -08:00
tap_busy_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00
tap_empty_output.golden Make several CLI commands testable (#86) 2017-12-27 14:10:41 -05:00