mirror of
https://github.com/status-im/consul.git
synced 2025-01-11 22:34:55 +00:00
04bd576179
When the Consul serf health check is failing, this means that the health checks registered with the agent may no longer be correct. Therefore we show a notice to the user when we detect that the serf health check is failing both for the health check listing for nodes and for service instances. There were a few little things we fixed up whilst we were here: - We use our @replace decorator to replace an empty Type with serf in the model. - We noticed that ServiceTags can be null, so we replace that with an empty array. - We added docs for both our Notice component and the Consul::HealthCheck::List component. Notice now defaults to @type=info.
45 lines
1.8 KiB
YAML
45 lines
1.8 KiB
YAML
dc:
|
|
nodes:
|
|
show:
|
|
healthchecks:
|
|
empty: |
|
|
<p>
|
|
This node has no health checks{items, select,
|
|
0 {}
|
|
other { matching that search}
|
|
}.
|
|
</p>
|
|
critical-serf-notice:
|
|
header: Failing serf check
|
|
body: |
|
|
<p>
|
|
This node has a failing serf node check. The health statuses shown on this page are the statuses as they were known before the node became unreachable.
|
|
</p>
|
|
services:
|
|
show:
|
|
upstreams:
|
|
intro: |
|
|
<p>
|
|
Upstreams are services that may receive traffic from this gateway. If you are not using Consul DNS, please make sure your <code>Host:</code> header uses the correct domain name for the gateway to correctly proxy to its upstreams. Learn more about configuring gateways in our <a href="{CONSUL_DOCS_URL}/connect/ingress-gateways" target="_blank" rel="noopener noreferrer">documentation</a>.
|
|
</p>
|
|
instance:
|
|
healthchecks:
|
|
empty: |
|
|
<p>
|
|
This instance has no health checks{items, select,
|
|
0 {}
|
|
other { matching that search}
|
|
}.
|
|
</p>
|
|
critical-serf-notice:
|
|
header: Failing serf check
|
|
body: |
|
|
<p>
|
|
This instance has a failing serf node check. The health statuses shown on this page are the statuses as they were known before the node became unreachable.
|
|
</p>
|
|
upstreams:
|
|
tproxy-mode:
|
|
header: Transparent proxy mode
|
|
body: The upstreams listed on this page have been defined in a proxy registration. There may be more upstreams, though, as "transparent" mode is enabled on this proxy.
|
|
footer: Read the documentation
|