{{#if (gt gatewayServices.length 0)}}

Upstreams are services that may receive traffic from this gateway. Learn more about configuring gateways in our documentation.

{{#let item.Service.Namespace as |nspace|}} {{#if (service/exists item)}} {{#let item.Namespace as |gatewayNspace|}}
  • {{#if (eq 'critical' (service/health-checks item))}} At least one health check on one instance is failing. {{else if (eq 'warning' (service/health-checks item))}} At least one health check on one instance has a warning. {{else if (eq 'passing' (service/health-checks item))}} All health checks are passing. {{else}} There are no health checks. {{/if}} {{#if (and (env 'CONSUL_NSPACES_ENABLED') (not-eq gatewayNspace nspace))}} {{item.Name}} {{else}} {{item.Name}} {{/if}}
  • {{/let}} {{else}}

    {{item.Name}}

    {{/if}}
      {{#if (and (env 'CONSUL_NSPACES_ENABLED') (not-eq item.Namespace nspace))}}
    • Namespace {{item.Namespace}}
    • {{/if}} {{#if (not-eq item.GatewayConfig.ListenerPort 0)}}
    • Port :{{item.GatewayConfig.ListenerPort}}
    • {{/if}}
    {{/let}}
    {{else}}

    There are no upstreams.

    {{/if}}