mirror of
https://github.com/kemko/nomad.git
synced 2026-01-04 17:35:43 +03:00
docs: note script checks don't support some Consul options (#19770)
Script checks don't support Consul's `success_before_passing`, `failures_before_critical`, or `failures_before_warning` because they're run by Nomad and not by Consul
This commit is contained in:
@@ -93,15 +93,15 @@ job "example" {
|
||||
|
||||
- `success_before_passing` `(int:0)` - The number of consecutive successful checks
|
||||
required before Consul will transition the service status to [`passing`][consul_success_before_passing].
|
||||
Only supported in the Consul service provider.
|
||||
Only supported by the Consul service provider and not applicable for health checks of type "script".
|
||||
|
||||
- `failures_before_critical` `(int:0)` - The number of consecutive failing checks
|
||||
required before Consul will transition the service status to [`critical`][consul_failure_before_critical].
|
||||
Only supported in the Consul service provider.
|
||||
Only supported by the Consul service provider and not applicable for health checks of type "script".
|
||||
|
||||
- `failures_before_warning` `(int:0)` - The number of consecutive failing checks
|
||||
required before Consul will transition the service status to [`warning`][consul_failure_before_warning].
|
||||
Only supported in the Consul service provider.
|
||||
Only supported by the Consul service provider and not applicable for health checks of type "script".
|
||||
|
||||
- `interval` `(string: <required>)` - Specifies the frequency of the health checks
|
||||
that Consul or Nomad service provider will perform. This is specified using a label
|
||||
|
||||
Reference in New Issue
Block a user