From fce199fcbd4db743495f80e343838ff82916ab57 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Fri, 18 Aug 2023 17:04:32 -0400 Subject: [PATCH 1/9] Updated service defaults but need to check json fields names --- .../config-entries/service-defaults.mdx | 38 +++++++++++++++---- 1 file changed, 31 insertions(+), 7 deletions(-) diff --git a/website/content/docs/connect/config-entries/service-defaults.mdx b/website/content/docs/connect/config-entries/service-defaults.mdx index 648271c684c..fc5d6c2a62b 100644 --- a/website/content/docs/connect/config-entries/service-defaults.mdx +++ b/website/content/docs/connect/config-entries/service-defaults.mdx @@ -41,6 +41,8 @@ The following outline shows how to format the service defaults configuration ent - [`Interval`](#upstreamconfig-overrides-passivehealthcheck): string | `0s` - [`MaxFailures`](#upstreamconfig-overrides-passivehealthcheck): integer | `0` - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): integer | `100` + - [`MaxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): integer | `0` + - [`BaseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string | `30s` - [`Defaults`](#upstreamconfig-defaults): map | no default - [`Protocol`](#upstreamconfig-defaults-protocol): string | no default - [`ConnectTimeoutMs`](#upstreamconfig-defaults-connecttimeoutms): int | default: `5000` @@ -54,7 +56,9 @@ The following outline shows how to format the service defaults configuration ent - [`PassiveHealthCheck`](#upstreamconfig-defaults-passivehealthcheck): map | optional - [`Interval`](#upstreamconfig-defaults-passivehealthcheck): string | `0s` - [`MaxFailures`](#upstreamconfig-defaults-passivehealthcheck): integer | `0` - - [`EnforcingConsecutive5xx`](#upstreamconfig-defaults-passivehealthcheck): integer | + - [`EnforcingConsecutive5xx`](#upstreamconfig-defaults-passivehealthcheck): integer | `100` + - [`MaxEjectionPercent`](#upstreamconfig-defaults-passivehealthcheck): integer | `0` + - [`BaseEjectionTime`](#upstreamconfig-defaults-passivehealthcheck): string | `30s` - [`TransparentProxy`](#transparentproxy): map | no default - [`OutboundListenerPort`](#transparentproxy): integer | `15001` - [`DialedDirectly`](#transparentproxy ): boolean | `false` @@ -109,7 +113,9 @@ The following outline shows how to format the service defaults configuration ent - [`passiveHealthCheck`](#upstreamconfig-overrides-passivehealthcheck): map | optional - [`interval`](#upstreamconfig-overrides-passivehealthcheck): string | `0s` - [`maxFailures`](#upstreamconfig-overrides-passivehealthcheck): integer | `0` - - [`mnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): integer | `100` + - [`enforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): integer | `100` + - [`maxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): integer | `10` + - [`baseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string | `30s` - [`defaults`](#upstreamconfig-defaults): map | no default - [`protocol`](#upstreamconfig-defaults-protocol): string | no default - [`connectTimeoutMs`](#upstreamconfig-defaults-connecttimeoutms): int | default: `5000` @@ -123,7 +129,9 @@ The following outline shows how to format the service defaults configuration ent - [`passiveHealthCheck`](#upstreamconfig-defaults-passivehealthcheck): map | optional - [`interval`](#upstreamconfig-defaults-passivehealthcheck): string | `0s` - [`maxFailures`](#upstreamconfig-defaults-passivehealthcheck): integer | `0` - - [`enforcingConsecutive5xx`](#upstreamconfig-defaults-passivehealthcheck): integer | + - [`enforcingConsecutive5xx`](#upstreamconfig-defaults-passivehealthcheck): integer | `100` + - [`maxEjectionPercent`](#upstreamconfig-defaults-passivehealthcheck): integer | `10` + - [`baseEjectionTime`](#upstreamconfig-defaults-passivehealthcheck): string | `30s` - [`transparentProxy`](#transparentproxy): map | no default - [`outboundListenerPort`](#transparentproxy): integer | `15001` - [`dialedDirectly`](#transparentproxy): boolean | `false` @@ -190,6 +198,8 @@ UpstreamConfig = { Interval = "5s" MaxFailures = 5 EnforcingConsecutive5xx = 99 + MaxEjectionPercent = 10 + BaseEjectionTime = "30s" } } Defaults = { @@ -274,6 +284,8 @@ spec: interval: 0s maxFailures: 0 enforcingConsecutive5xx: 100 + maxEjectionPercent: 10 + baseEjectionTime: "30s" defaults: protocol: connectTimeoutMs: 5000 @@ -347,8 +359,10 @@ spec: "passiveHealthCheck": { "interval": "0s", "maxFailures": 0, - "enforcingConsecutive5xx": 100 - } + "enforcingConsecutive5xx": 100, + "maxEjectionPercent": 10, + "baseEjectionTime": "30s", + }, } ], "defaults": { @@ -366,7 +380,9 @@ spec: "passiveHealthCheck": { "interval": "0s", "maxFailures": 0, - "enforcingConsecutive5xx": 100 + "enforcingConsecutive5xx": 100, + "maxEjectionPercent": 10, + "baseEjectionTime": "30s", } } }, @@ -625,7 +641,9 @@ The following table describes passive health check parameters you can configure: | --- | --- | --- | --- | | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | -| `EnforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | +| `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `UpstreamConfig.Defaults` @@ -690,6 +708,8 @@ Map that specifies a set of rules that enable Consul to remove hosts from the up | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `TransparentProxy` @@ -1016,6 +1036,8 @@ The following table describes passive health check parameters you can configure: | `interval` | Specifies the time between checks. | string | `0s` | | `maxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `enforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `maxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `baseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `spec.upstreamConfig.defaults` @@ -1093,6 +1115,8 @@ The following table describes the health check parameters you can configure: | `interval` | Specifies the time between checks. | string | `0s` | | `maxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `enforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `maxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `baseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `spec.transparentProxy` From 05318d515183e29ba89f4967f26ead8eaecfb9f5 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Wed, 23 Aug 2023 15:07:11 -0400 Subject: [PATCH 2/9] missed some passiveHealthChecks in yaml and HCL --- .../content/docs/connect/config-entries/service-defaults.mdx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/website/content/docs/connect/config-entries/service-defaults.mdx b/website/content/docs/connect/config-entries/service-defaults.mdx index fc5d6c2a62b..61191accef3 100644 --- a/website/content/docs/connect/config-entries/service-defaults.mdx +++ b/website/content/docs/connect/config-entries/service-defaults.mdx @@ -218,6 +218,8 @@ UpstreamConfig = { Interval = "1s" MaxFailures = 1 EnforcingConsecutive5xx = 89 + MaxEjectionPercent = 10 + BaseEjectionTime = "30s" } } } @@ -300,6 +302,8 @@ spec: interval: 0s maxFailures: 0 enforcingConsecutive5xx: 100 + maxEjectionPercent: 10 + baseEjectionTime: "30s" transparentProxy: outboundListenerPort: 15001 dialedDirectly: false From 6e3ba4a7f737db5c785bc07f7b2c6e4a33327e99 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Wed, 23 Aug 2023 15:31:13 -0400 Subject: [PATCH 3/9] needed quotes --- .../content/docs/connect/config-entries/service-defaults.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/docs/connect/config-entries/service-defaults.mdx b/website/content/docs/connect/config-entries/service-defaults.mdx index 61191accef3..c725f6462fd 100644 --- a/website/content/docs/connect/config-entries/service-defaults.mdx +++ b/website/content/docs/connect/config-entries/service-defaults.mdx @@ -283,7 +283,7 @@ spec: maxPendingRequests: 0 maxConcurrentRequests: 0 passiveHealthCheck: - interval: 0s + interval: "10s" maxFailures: 0 enforcingConsecutive5xx: 100 maxEjectionPercent: 10 @@ -299,7 +299,7 @@ spec: maxPendingRequests: 0 maxConcurrentRequests: 0 passiveHealthCheck: - interval: 0s + interval: "0s" maxFailures: 0 enforcingConsecutive5xx: 100 maxEjectionPercent: 10 From 6bd5ca21e3f1edd675f6651945ba56dc1c2ce969 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Fri, 25 Aug 2023 09:58:30 -0400 Subject: [PATCH 4/9] more updates --- .../config-entries/ingress-gateway.mdx | 114 +++++++++++------- .../config-entries/service-defaults.mdx | 2 +- 2 files changed, 72 insertions(+), 44 deletions(-) diff --git a/website/content/docs/connect/config-entries/ingress-gateway.mdx b/website/content/docs/connect/config-entries/ingress-gateway.mdx index e4dac5beb0a..a8c2e2d3973 100644 --- a/website/content/docs/connect/config-entries/ingress-gateway.mdx +++ b/website/content/docs/connect/config-entries/ingress-gateway.mdx @@ -42,9 +42,11 @@ The following list describes the configuration hierarchy, language-specific data - [`MaxPendingRequests`](#defaults-maxpendingrequests): number - [`MaxConcurrentRequests`](#defaults-maxconcurrentrequests): number - [`PassiveHealthCheck`](#defaults-passivehealthcheck): map - - [`interval`](#defaults-passivehealthcheck): number - - [`max_failures`](#defaults-passivehealthcheck): number - - [`enforcing_consecutive_5xx`](#defaults-passivehealthcheck): number + - [`Interval`](#defaults-passivehealthcheck): number + - [`MaxFailures`](#defaults-passivehealthcheck): number + - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): number + - [`MaxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): number + - [`BaseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string - [`Listeners`](#listeners): list of maps - [`Port`](#listeners-port): number | `0` - [`Protocol`](#listeners-protocol): number | `tcp` @@ -69,9 +71,11 @@ The following list describes the configuration hierarchy, language-specific data - [`MaxPendingRequests`](#listeners-services-maxconnections): number | `0` - [`MaxConcurrentRequests`](#listeners-services-maxconnections): number | `0` - [`PassiveHealthCheck`](#listeners-services-passivehealthcheck): map - - [`interval`](#listeners-services-passivehealthcheck): number - - [`max_failures`](#listeners-services-passivehealthcheck): number - - [`enforcing_consecutive_5xx`](#listeners-services-passivehealthcheck): number + - [`Interval`](#defaults-passivehealthcheck): number + - [`MaxFailures`](#defaults-passivehealthcheck): number + - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): number + - [`MaxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): number + - [`BaseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string - [`TLS`](#listeners-tls): map - [`Enabled`](#listeners-tls-enabled): boolean | `false` - [`TLSMinVersion`](#listeners-tls-tlsminversion): string | `TLSv1_2` @@ -104,9 +108,11 @@ The following list describes the configuration hierarchy, language-specific data - [`maxPendingRequests`](#spec-defaults-maxpendingrequests): number - [`maxConcurrentRequests`](#spec-defaults-maxconcurrentrequests): number - [`passiveHealthCheck`](#spec-defaults-passivehealthcheck): map - - [`interval`](#spec-defaults-passivehealthcheck): number | no proxy's default value - - [`max_failures`](#spec-defaults-passivehealthcheck): number | no proxy's default value - - [`enforcing_consecutive_5xx`](#spec-defaults-passivehealthcheck): number | proxy's default value + - [`interval`](#spec-defaults-passivehealthcheck): string + - [`maxFailures`](#spec-defaults-passivehealthcheck): integer + - [`enforcingConsecutive5xx`](#spec-defaults-passivehealthcheck): integer + - [`maxEjectionPercent`](#spec-defaults-passivehealthcheck): integer + - [`baseEjectionTime`](#spec-defaults-passivehealthcheck): string - [`listeners`](#spec-listeners): list of maps - [`port`](#spec-listeners-port): number | `0` - [`protocol`](#spec-listeners-protocol): number | `tcp` @@ -131,9 +137,11 @@ The following list describes the configuration hierarchy, language-specific data - [`maxPendingRequests`](#spec-listeners-services-maxconnections): number | `0` - [`maxConcurrentRequests`](#spec-listeners-services-maxconnections): number | `0` - [`passiveHealthCheck`](#spec-listeners-services-passivehealthcheck): map - - [`interval`](#spec-listeners-services-passivehealthcheck): number - - [`max_failures`](#spec-listeners-services-passivehealthcheck): number - - [`enforcing_consecutive_5xx`](#spec-listeners-services-passivehealthcheck): number + - [`interval`](#spec-listeners-services-passivehealthcheck): string + - [`maxFailures`](#spec-listeners-services-passivehealthcheck): integer + - [`enforcingConsecutive5xx`](#spec-listeners-services-passivehealthcheck): integer + - [`maxEjectionPercent`](#spec-listeners-services-passivehealthcheck): integer + - [`baseEjectionTime`](#spec-listeners-services-passivehealthcheck): string - [`tls`](#spec-listeners-tls): map - [`enabled`](#spec-listeners-tls-enabled): boolean | `false` - [`tlsMinVersion`](#spec-listeners-tls-tlsminversion): string | `TLSv1_2` @@ -180,9 +188,11 @@ Defaults = { MaxPendingRequests = 0 MaxConcurrentRequests = 0 PassiveHealthCheck = { - interval = 10 - max_failures = 5 - enforcing_consecutive_5xx = 100 + Interval = "5s" + MaxFailures = 5 + EnforcingConsecutive5xx = 99 + MaxEjectionPercent = 10 + BaseEjectionTime = "30s" } } Listeners = [ @@ -229,9 +239,11 @@ Listeners = [ MaxPendingRequests = MaxConcurrentRequests = PassiveHealthCheck = { - interval = 10 - max_failures = 5 - enforcing_consecutive_5xx = 100 + Interval = "1s" + MaxFailures = 1 + EnforcingConsecutive5xx = 89 + MaxEjectionPercent = 10 + BaseEjectionTime = "30s" } }] TLS = { @@ -275,9 +287,11 @@ spec: maxPendingRequests: 0 maxConcurrentRequests: 0 passiveHealthCheck: - interval: 10 - max_failures: 5 - enforcing_consecutive_5xx: 100 + interval: "10s" + maxFailures: 0 + enforcingConsecutive5xx: 100 + maxEjectionPercent: 10 + baseEjectionTime: "30s" listeners: - port: 0 protocol: tcp @@ -292,7 +306,7 @@ spec: requestHeaderName: set: requestHeaderName: - remove: + remove: - responseHeaders: add: @@ -309,9 +323,11 @@ spec: maxPendingRequests: maxConcurrentRequests: passiveHealthCheck: - interval: 10 - max_failures: 5 - enforcing_consecutive_5xx: 100 + interval: "0s" + maxFailures: 0 + enforcingConsecutive5xx: 100 + maxEjectionPercent: 10 + baseEjectionTime: "30s" tls: enabled: false tlsMinVersion: TLSv1_2 @@ -353,9 +369,11 @@ spec: "MaxPendingRequests" : 0, "MaxConcurrentRequests": 0, "PassiveHealthCheck" : { - "interval" : 10, - "max_failures" : 5, - "enforcing_consecutive_5xx" : 100 + "interval": "0s", + "maxFailures": 0, + "enforcingConsecutive5xx": 100, + "maxEjectionPercent": 10, + "baseEjectionTime": "30s", } }, "Listeners" : [ @@ -402,9 +420,11 @@ spec: "MaxPendingRequests" : , "MaxConcurrentRequests" : , "PassiveHealthCheck" : { - "interval" : 10, - "max_failures" : 5, - "enforcing_consecutive_5xx" : 100 + "interval": "0s", + "maxFailures": 0, + "enforcingConsecutive5xx": 100, + "maxEjectionPercent": 10, + "baseEjectionTime": "30s", } } ], @@ -632,9 +652,11 @@ The following table describes the configurations for passive health checks: | Parameter | Description | Data type | Default | | --- | --- | --- | --- | -| `interval` | Specifies the time in nanoseconds between checks. | Integer | Proxy's default configuration, which is `10` for Envoy | -| `max_failures` | Specifies the number of consecutive failures that cause a host to be removed from the upstream cluster. | Integer | Proxy's default configuration, which is `5` for Envoy | -| `enforcing_consecutive_5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | Integer | Proxy's default configuration, which is `100` for Envoy | + | `Interval` | Specifies the time between checks. | string | `0s` | + | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | + | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `Listeners[]` @@ -867,9 +889,11 @@ The following table describes the configurations for passive health checks: | Parameter | Description | Data type | Default | | --- | --- | --- | --- | -| `interval` | Specifies the time in nanoseconds between checks. | Integer | Proxy's default configuration, which is `10` for Envoy | -| `max_failures` | Specifies the number of consecutive failures that cause a host to be removed from the upstream cluster. | Integer | Proxy's default configuration, which is `5` for Envoy | -| `enforcing_consecutive_5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | Integer | Proxy's default configuration, which is `100` for Envoy | + | `Interval` | Specifies the time between checks. | string | `0s` | + | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | + | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `Listeners[].TLS` @@ -1163,9 +1187,11 @@ The following table describes the configurations for passive health checks: | Parameter | Description | Data type | Default | | --- | --- | --- | --- | -| `interval` | Specifies the time in nanoseconds between checks. | Integer | Proxy's default configuration, which is `10` for Envoy | -| `max_failures` | Specifies the number of consecutive failures that cause a host to be removed from the upstream cluster. | Integer | Proxy's default configuration, which is `5` for Envoy | -| `enforcing_consecutive_5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | Integer | Proxy's default configuration, which is `100` for Envoy | + | `Interval` | Specifies the time between checks. | string | `0s` | + | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | + | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `spec.listeners[]` @@ -1399,9 +1425,11 @@ The following table describes the configurations for passive health checks: | Parameter | Description | Data type | Default | | --- | --- | --- | --- | -| `interval` | Specifies the time in nanoseconds between checks. | Integer | Proxy's default configuration, which is `10` for Envoy | -| `max_failures` | Specifies the number of consecutive failures that cause a host to be removed from the upstream cluster. | Integer | Proxy's default configuration, which is `5` for Envoy | -| `enforcing_consecutive_5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | Integer | Proxy's default configuration, which is `100` for Envoy | + | `Interval` | Specifies the time between checks. | string | `0s` | + | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | + | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | + | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | + | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | ### `spec.listeners[].tls` diff --git a/website/content/docs/connect/config-entries/service-defaults.mdx b/website/content/docs/connect/config-entries/service-defaults.mdx index c725f6462fd..6943291bf16 100644 --- a/website/content/docs/connect/config-entries/service-defaults.mdx +++ b/website/content/docs/connect/config-entries/service-defaults.mdx @@ -40,7 +40,7 @@ The following outline shows how to format the service defaults configuration ent - [`PassiveHealthCheck`](#upstreamconfig-overrides-passivehealthcheck): map | optional - [`Interval`](#upstreamconfig-overrides-passivehealthcheck): string | `0s` - [`MaxFailures`](#upstreamconfig-overrides-passivehealthcheck): integer | `0` - - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): integer | `100` + - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): integer | `0` - [`MaxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): integer | `0` - [`BaseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string | `30s` - [`Defaults`](#upstreamconfig-defaults): map | no default From a0bcdb5ecaff51bbc8a9ec1797aff5d66c5548b6 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Wed, 30 Aug 2023 14:16:32 -0400 Subject: [PATCH 5/9] updates --- .../config-entries/ingress-gateway.mdx | 95 +++++++++---------- 1 file changed, 47 insertions(+), 48 deletions(-) diff --git a/website/content/docs/connect/config-entries/ingress-gateway.mdx b/website/content/docs/connect/config-entries/ingress-gateway.mdx index a8c2e2d3973..bcc6a9da802 100644 --- a/website/content/docs/connect/config-entries/ingress-gateway.mdx +++ b/website/content/docs/connect/config-entries/ingress-gateway.mdx @@ -44,9 +44,9 @@ The following list describes the configuration hierarchy, language-specific data - [`PassiveHealthCheck`](#defaults-passivehealthcheck): map - [`Interval`](#defaults-passivehealthcheck): number - [`MaxFailures`](#defaults-passivehealthcheck): number - - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): number - - [`MaxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): number - - [`BaseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string + - [`EnforcingConsecutive5xx`](#defaults-passivehealthcheck): number + - [`MaxEjectionPercent`](#defaults-passivehealthcheck): number + - [`BaseEjectionTime`](#defaults-passivehealthcheck): string - [`Listeners`](#listeners): list of maps - [`Port`](#listeners-port): number | `0` - [`Protocol`](#listeners-protocol): number | `tcp` @@ -71,11 +71,11 @@ The following list describes the configuration hierarchy, language-specific data - [`MaxPendingRequests`](#listeners-services-maxconnections): number | `0` - [`MaxConcurrentRequests`](#listeners-services-maxconnections): number | `0` - [`PassiveHealthCheck`](#listeners-services-passivehealthcheck): map - - [`Interval`](#defaults-passivehealthcheck): number - - [`MaxFailures`](#defaults-passivehealthcheck): number - - [`EnforcingConsecutive5xx`](#upstreamconfig-overrides-passivehealthcheck): number - - [`MaxEjectionPercent`](#upstreamconfig-overrides-passivehealthcheck): number - - [`BaseEjectionTime`](#upstreamconfig-overrides-passivehealthcheck): string + - [`Interval`](#listeners-services-passivehealthcheck): number + - [`MaxFailures`](#listeners-services-passivehealthcheck): number + - [`EnforcingConsecutive5xx`](#listeners-services-passivehealthcheck): number + - [`MaxEjectionPercent`](#listeners-services-passivehealthcheck): number + - [`BaseEjectionTime`](#listeners-services-passivehealthcheck): string - [`TLS`](#listeners-tls): map - [`Enabled`](#listeners-tls-enabled): boolean | `false` - [`TLSMinVersion`](#listeners-tls-tlsminversion): string | `TLSv1_2` @@ -184,15 +184,15 @@ TLS = { } } Defaults = { - MaxConnections = 0 - MaxPendingRequests = 0 - MaxConcurrentRequests = 0 + MaxConnections = + MaxPendingRequests = + MaxConcurrentRequests = PassiveHealthCheck = { - Interval = "5s" - MaxFailures = 5 - EnforcingConsecutive5xx = 99 - MaxEjectionPercent = 10 - BaseEjectionTime = "30s" + Interval = "" + MaxFailures = + EnforcingConsecutive5xx = + MaxEjectionPercent = + BaseEjectionTime = "" } } Listeners = [ @@ -239,11 +239,11 @@ Listeners = [ MaxPendingRequests = MaxConcurrentRequests = PassiveHealthCheck = { - Interval = "1s" - MaxFailures = 1 - EnforcingConsecutive5xx = 89 - MaxEjectionPercent = 10 - BaseEjectionTime = "30s" + Interval = "" + MaxFailures = + EnforcingConsecutive5xx = + MaxEjectionPercent = + BaseEjectionTime = "" } }] TLS = { @@ -283,15 +283,15 @@ spec: clusterName: certResource: defaults: - maxConnections: 0 - maxPendingRequests: 0 - maxConcurrentRequests: 0 + maxConnections: + maxPendingRequests: + maxConcurrentRequests: passiveHealthCheck: - interval: "10s" - maxFailures: 0 - enforcingConsecutive5xx: 100 - maxEjectionPercent: 10 - baseEjectionTime: "30s" + interval: "" + maxFailures: + enforcingConsecutive5xx: + maxEjectionPercent: + baseEjectionTime: "" listeners: - port: 0 protocol: tcp @@ -323,11 +323,11 @@ spec: maxPendingRequests: maxConcurrentRequests: passiveHealthCheck: - interval: "0s" - maxFailures: 0 - enforcingConsecutive5xx: 100 - maxEjectionPercent: 10 - baseEjectionTime: "30s" + interval: "" + maxFailures: + enforcingConsecutive5xx: + maxEjectionPercent: + baseEjectionTime: "" tls: enabled: false tlsMinVersion: TLSv1_2 @@ -365,15 +365,15 @@ spec: } }, "Defaults" : { - "MaxConnections" : 0, - "MaxPendingRequests" : 0, - "MaxConcurrentRequests": 0, + "MaxConnections" : , + "MaxPendingRequests" : , + "MaxConcurrentRequests": , "PassiveHealthCheck" : { - "interval": "0s", - "maxFailures": 0, - "enforcingConsecutive5xx": 100, - "maxEjectionPercent": 10, - "baseEjectionTime": "30s", + "interval": ", + "maxFailures": , + "enforcingConsecutive5xx":, + "maxEjectionPercent": , + "baseEjectionTime": "" } }, "Listeners" : [ @@ -420,12 +420,11 @@ spec: "MaxPendingRequests" : , "MaxConcurrentRequests" : , "PassiveHealthCheck" : { - "interval": "0s", - "maxFailures": 0, - "enforcingConsecutive5xx": 100, - "maxEjectionPercent": 10, - "baseEjectionTime": "30s", - } + "interval": ", + "maxFailures": , + "enforcingConsecutive5xx":, + "maxEjectionPercent": , + "baseEjectionTime": "" } ], "TLS" : { From 53c51862f69bea65e1d239ad521ef0c1ccf0bd46 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Wed, 30 Aug 2023 16:11:05 -0400 Subject: [PATCH 6/9] Apply suggestions from code review Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com> --- .../docs/connect/config-entries/ingress-gateway.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/content/docs/connect/config-entries/ingress-gateway.mdx b/website/content/docs/connect/config-entries/ingress-gateway.mdx index bcc6a9da802..3d79ad9d7b9 100644 --- a/website/content/docs/connect/config-entries/ingress-gateway.mdx +++ b/website/content/docs/connect/config-entries/ingress-gateway.mdx @@ -110,8 +110,8 @@ The following list describes the configuration hierarchy, language-specific data - [`passiveHealthCheck`](#spec-defaults-passivehealthcheck): map - [`interval`](#spec-defaults-passivehealthcheck): string - [`maxFailures`](#spec-defaults-passivehealthcheck): integer - - [`enforcingConsecutive5xx`](#spec-defaults-passivehealthcheck): integer - - [`maxEjectionPercent`](#spec-defaults-passivehealthcheck): integer + - [`enforcingConsecutive5xx`](#spec-defaults-passivehealthcheck): number + - [`maxEjectionPercent`](#spec-defaults-passivehealthcheck): number - [`baseEjectionTime`](#spec-defaults-passivehealthcheck): string - [`listeners`](#spec-listeners): list of maps - [`port`](#spec-listeners-port): number | `0` @@ -138,8 +138,8 @@ The following list describes the configuration hierarchy, language-specific data - [`maxConcurrentRequests`](#spec-listeners-services-maxconnections): number | `0` - [`passiveHealthCheck`](#spec-listeners-services-passivehealthcheck): map - [`interval`](#spec-listeners-services-passivehealthcheck): string - - [`maxFailures`](#spec-listeners-services-passivehealthcheck): integer - - [`enforcingConsecutive5xx`](#spec-listeners-services-passivehealthcheck): integer + - [`maxFailures`](#spec-listeners-services-passivehealthcheck): number + - [`enforcingConsecutive5xx`](#spec-listeners-services-passivehealthcheck): number - [`maxEjectionPercent`](#spec-listeners-services-passivehealthcheck): integer - [`baseEjectionTime`](#spec-listeners-services-passivehealthcheck): string - [`tls`](#spec-listeners-tls): map From 11c09cf13713128dcf30ea9f0fba9d2a06cf111d Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Tue, 5 Sep 2023 13:34:04 -0400 Subject: [PATCH 7/9] Apply suggestions from code review Co-authored-by: trujillo-adam <47586768+trujillo-adam@users.noreply.github.com> --- .../docs/connect/config-entries/ingress-gateway.mdx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/content/docs/connect/config-entries/ingress-gateway.mdx b/website/content/docs/connect/config-entries/ingress-gateway.mdx index 3d79ad9d7b9..86de5a70702 100644 --- a/website/content/docs/connect/config-entries/ingress-gateway.mdx +++ b/website/content/docs/connect/config-entries/ingress-gateway.mdx @@ -654,8 +654,8 @@ The following table describes the configurations for passive health checks: | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `Listeners[]` @@ -891,8 +891,8 @@ The following table describes the configurations for passive health checks: | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `Listeners[].TLS` From bc1982839872ce938ba95906746232a496aa2033 Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Tue, 5 Sep 2023 15:59:23 -0400 Subject: [PATCH 8/9] Add consistent language to all changes --- .../docs/connect/config-entries/ingress-gateway.mdx | 8 ++++---- .../docs/connect/config-entries/service-defaults.mdx | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/website/content/docs/connect/config-entries/ingress-gateway.mdx b/website/content/docs/connect/config-entries/ingress-gateway.mdx index 86de5a70702..457396c73df 100644 --- a/website/content/docs/connect/config-entries/ingress-gateway.mdx +++ b/website/content/docs/connect/config-entries/ingress-gateway.mdx @@ -1189,8 +1189,8 @@ The following table describes the configurations for passive health checks: | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `spec.listeners[]` @@ -1427,8 +1427,8 @@ The following table describes the configurations for passive health checks: | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `spec.listeners[].tls` diff --git a/website/content/docs/connect/config-entries/service-defaults.mdx b/website/content/docs/connect/config-entries/service-defaults.mdx index 6943291bf16..bd307e9d035 100644 --- a/website/content/docs/connect/config-entries/service-defaults.mdx +++ b/website/content/docs/connect/config-entries/service-defaults.mdx @@ -646,8 +646,8 @@ The following table describes passive health check parameters you can configure: | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `UpstreamConfig.Defaults` @@ -712,8 +712,8 @@ Map that specifies a set of rules that enable Consul to remove hosts from the up | `Interval` | Specifies the time between checks. | string | `0s` | | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `MaxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `BaseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `TransparentProxy` @@ -1119,8 +1119,8 @@ The following table describes the health check parameters you can configure: | `interval` | Specifies the time between checks. | string | `0s` | | `maxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `enforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | - | `maxEjectionPercent` | The maximum % of an upstream cluster that can be ejected due to outlier detection. Defaults to 10% but will eject at least one host regardless of the value. | integer | `10` | - | `baseEjectionTime` | The base time that a host is ejected for. The real time is equal to the base time multiplied by the number of times the host has been ejected and is capped by max_ejection_time (Default 300s). Defaults to 30000ms or 30s. | string | `30s` | + | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | ### `spec.transparentProxy` From 7383dd903f917ab54a49e91891c8c5d23a8dc40b Mon Sep 17 00:00:00 2001 From: Melisa Griffin Date: Wed, 6 Sep 2023 09:29:59 -0400 Subject: [PATCH 9/9] some cleanup --- .../docs/connect/config-entries/ingress-gateway.mdx | 8 ++++---- .../docs/connect/config-entries/service-defaults.mdx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/website/content/docs/connect/config-entries/ingress-gateway.mdx b/website/content/docs/connect/config-entries/ingress-gateway.mdx index 457396c73df..dc41f134c44 100644 --- a/website/content/docs/connect/config-entries/ingress-gateway.mdx +++ b/website/content/docs/connect/config-entries/ingress-gateway.mdx @@ -655,7 +655,7 @@ The following table describes the configurations for passive health checks: | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `Listeners[]` @@ -892,7 +892,7 @@ The following table describes the configurations for passive health checks: | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `Listeners[].TLS` @@ -1190,7 +1190,7 @@ The following table describes the configurations for passive health checks: | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `spec.listeners[]` @@ -1428,7 +1428,7 @@ The following table describes the configurations for passive health checks: | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `spec.listeners[].tls` diff --git a/website/content/docs/connect/config-entries/service-defaults.mdx b/website/content/docs/connect/config-entries/service-defaults.mdx index bd307e9d035..2f8e69bd915 100644 --- a/website/content/docs/connect/config-entries/service-defaults.mdx +++ b/website/content/docs/connect/config-entries/service-defaults.mdx @@ -647,7 +647,7 @@ The following table describes passive health check parameters you can configure: | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `UpstreamConfig.Defaults` @@ -713,7 +713,7 @@ Map that specifies a set of rules that enable Consul to remove hosts from the up | `MaxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `EnforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `TransparentProxy` @@ -1120,7 +1120,7 @@ The following table describes the health check parameters you can configure: | `maxFailures` | Specifies the number of consecutive failures allowed per check interval. If exceeded, Consul removes the host from the load balancer. | integer | `0` | | `enforcingConsecutive5xx ` | Specifies a percentage that indicates how many times out of 100 that Consul ejects the host when it detects an outlier status. The outlier status is determined by consecutive errors in the 500-599 response range. | integer | `100` | | `MaxEjectionPercent` | Specifies the maximum percentage of an upstream cluster that Consul ejects when the proxy reports an outlier. Consul ejects at least one host when an outlier is detected regardless of the value. | integer | `10` | - | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. The real time can not exceed the amount of time specified inthe `max_ejection_time` field. | string | `30s` | + | `BaseEjectionTime` | Specifies the minimum amount of time that an ejected host must remain outside the cluster before rejoining. The real time is equal to the value of the `BaseEjectionTime` multiplied by the number of times the host has been ejected. | string | `30s` | ### `spec.transparentProxy`