Add a note about the DNS usage

Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
Mikolaj Pawlikowski
2019-09-06 14:51:22 +01:00
parent 0660db7922
commit 433a6b8b88
2 changed files with 23 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ Oh, and it gives you the graph below for your cluster. Check out the [video expl
- [Installation](#installation)
- [Authentication with Kubernetes API](#authentication-with-kubernetes-api)
- [Example YAML](#example-yaml)
- [Note on DNS](#note-on-dns)
- [Usage](#usage)
- [UI](#ui)
- [API](#api)
@@ -203,6 +204,28 @@ subjects:
You can also see [an example of using `kubeconfig` in the `./extras`](./extras/example-with-kubeconfig.yaml).
### Note on DNS
Note, that on top of resolving the other pods, all instances can also try to resolve arbitrary DNS. This allows you to test your DNS setup.
From `--help` (the env var is space-delimited):
```sh
--host-to-resolve= A host to attempt dns resolve on [$HOSTS_TO_RESOLVE]
```
So in order to test two domains, we could add to the example above:
```yaml
- name: HOSTS_TO_RESOLVE
value: "www.bloomberg.com one.two.three"
```
Goldpinger should result in something like this:
![screenshot-DNS-resolution](./extras/dns-screenshot.png)
## Usage
### UI

BIN
extras/dns-screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 KiB