Source File:


Static upstreams are used to route request to services listening at fixed IP/Addresses. Static upstreams can be used to proxy any kind of service, and therefore contain a ServiceSpec for additional service-specific configuration. Unlike upstreams created by service discovery, Static Upstreams must be created manually by users

"hosts": []
"useTls": bool
"autoHostRewrite": .google.protobuf.BoolValue
Field Type Description Default
hosts [] A list of addresses and ports at least one must be specified.
useTls bool Attempt to use outbound TLS Gloo will automatically set this to true for port 443.
autoHostRewrite .google.protobuf.BoolValue Enable \ Disable auto host re-write. If not set, the default behavior is to enable auto host rewrite, if the first host in the list is not an IP address (i.e. it is a DNS address) If enabled (explicitly or by the default) auto_host_rewrite will be automatically added to routes that point to this upstream.
serviceSpec An optional Service Spec describing the service listening at this address.


Represents a single instance of an upstream

"addr": string
"port": int
Field Type Description Default
addr string Address (hostname or IP).
port int Port the instance is listening on.