1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Add policy and frequency params for NS1 health-checks

This commit is contained in:
Viranch Mehta
2021-11-01 14:48:33 -07:00
parent 61c34cdd3e
commit 264cd22e60
3 changed files with 25 additions and 3 deletions

View File

@@ -203,8 +203,10 @@ Sonar check regions (sonar_regions) possible values:
| Key | Description | Default |
|--|--|--|
| policy | One of:<ol><li>`all` - down if every region is down</li><li>`quorum` - down if majority regions are down</li><li>`one` - down if any region is down</ol> | `quorum` |
| frequency | Frequency (in seconds) of health-check | 60 |
| connect_timeout | Timeout (in seconds) before we give up trying to connect | 2 |
| response_timeout | Timeout (in seconds) after connecting to wait for output. | 10 |
| response_timeout | Timeout (in seconds) after connecting to wait for output | 10 |
```yaml
@@ -212,6 +214,8 @@ Sonar check regions (sonar_regions) possible values:
octodns:
ns1:
healthcheck:
policy: quorum
frequency: 60
connect_timeout: 2
response_timeout: 10
```