node

Version

A single backend server in a cluster, addressed by host and port. A node is assumed to be up until a health check or an external command marks it down; while down it receives no requests.

Example Configuration

node:
host: node1.predic8.com
port: 8080
node:
   host: node1.predic8.com
   port: 8080

Syntax

node:
host: <string> # required
healthUrl: <string>
port: <number>
priority: <number>
node:
  host: <string> # required
  healthUrl: <string>
  port: <number>
  priority: <number>

Attributes

NameRequiredDefaultDescriptionExamples
healthUrlfalse-Full HTTP(S) URL polled to check this node's health. When unset, a plain TCP connection to the host and port is used instead. Takes effect only when a balancerHealthMonitor is configured.http://localhost:8080/health
hosttrue-Host name or IP address of the backend server.node1.predic8.com
portfalse0TCP port of the backend server. When left at 0 the destination URL is built without an explicit port, i.e. port 80 for HTTP.8080
priorityfalse10Selection priority used by priorityStrategy; lower numbers are preferred. Ignored by the other dispatching strategies.2

Can be used in