static.proto

Package: static.plugins.gloo.solo.io

Types:

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

UpstreamSpec

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": []static.plugins.gloo.solo.io.Host
"useTls": bool
"autoHostRewrite": .google.protobuf.BoolValue
"serviceSpec": .plugins.gloo.solo.io.ServiceSpec
Field Type Description Default
hosts []static.plugins.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.
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 .plugins.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.