docs: fixup example of readiness check (#17296)

A "readiness" check implies a failing healthcheck will not cause the
deployment of a service to stop - i.e. it is only used as a liveness
probe in the context of service discoverability.

Fix our docs example to reflect that a readiness check is created by
setting on_update to "ignore" (as opposed to "ignore_warnings").
This commit is contained in:
Seth Hoenig 2023-05-23 15:29:10 -05:00 committed by GitHub
parent b85a28b851
commit e04d8cf77b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ service {
path = "/leader"
interval = "10s"
timeout = "2s"
on_update = "ignore_warnings"
on_update = "ignore"
}
}
```