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:
parent
b85a28b851
commit
e04d8cf77b
|
@ -354,7 +354,7 @@ service {
|
||||||
path = "/leader"
|
path = "/leader"
|
||||||
interval = "10s"
|
interval = "10s"
|
||||||
timeout = "2s"
|
timeout = "2s"
|
||||||
on_update = "ignore_warnings"
|
on_update = "ignore"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in New Issue