mirror of
https://github.com/bloomberg/goldpinger.git
synced 2026-02-14 09:59:50 +00:00
Add a note about the DNS usage
Signed-off-by: Mikolaj Pawlikowski <mikolaj@pawlikowski.pl>
This commit is contained in:
23
README.md
23
README.md
@@ -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:
|
||||
|
||||

|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
### UI
|
||||
|
||||
BIN
extras/dns-screenshot.png
Normal file
BIN
extras/dns-screenshot.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 374 KiB |
Reference in New Issue
Block a user