static.proto

Package: static.options.gloo.solo.io

Types:

Source File: github.com/solo-io/gloo/projects/gloo/api/v1/options/static/static.proto

UpstreamSpec

Static upstreams are used to route request to services listening at fixed IP/Host & Port pairs. 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": []static.options.gloo.solo.io.Host
"useTls": bool
"serviceSpec": .options.gloo.solo.io.ServiceSpec
Field Type Description Default
hosts []static.options.gloo.solo.io.Host 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.
serviceSpec .options.gloo.solo.io.ServiceSpec An optional Service Spec describing the service listening at this address.

Host

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.