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
"use_tls": bool
"service_spec": .plugins.gloo.solo.io.ServiceSpec
"use_http2": bool

Field Type Description Default
hosts []static.plugins.gloo.solo.io.Host A list of addresses and ports at least one must be specified
use_tls bool Attempt to use outbound TLS Gloo will automatically set this to true for port 443
service_spec .plugins.gloo.solo.io.ServiceSpec An optional Service Spec describing the service listening at this address
use_http2 bool Use http2 when communicating with this upstream

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