discovered_gateway.proto

Package : internal.gloo.solo.io

Top

discovered_gateway.proto

Table of Contents

DiscoveredGatewaySpec

A DiscoveredGateway is an internal representation of an Istio Gateway workload. DiscoveredGateways are automatically detected from Istio Gateway deployments and services.

Field Type Label Description
service core.skv2.solo.io.ClusterObjectRef Reference to the Kubernetes service that exposes the gateway workloads.
workloadLabels []internal.gloo.solo.io.DiscoveredGatewaySpec.WorkloadLabelsEntry repeated The labels used by the Kubernetes service to select the gateway workloads.
externalAddresses []internal.gloo.solo.io.DiscoveredGatewaySpec.ExternalAddress repeated The externally-reachable addresses on which the gateway is listening for connections.
serviceType internal.gloo.solo.io.DiscoveredGatewaySpec.ServiceType gateway resource type

DiscoveredGatewaySpec.ExternalAddress

Field Type Label Description
address string The externally-reachable address on which the gateway is listening for connections. Depending on the gateway service type and its properties, this can be a LoadBalancer address reported by Kubernetes, an externally-reachable Node address, and a user-defined external IP set on the service.
ports []internal.gloo.solo.io.DiscoveredGatewaySpec.Port repeated The externally-reachable ports on which the gateway is listening for connections.
locality common.gloo.solo.io.Locality The locality in which the node serving this address resides, typically representing a large geographic area.

DiscoveredGatewaySpec.Port

Port describes a port accessible on a DiscoveredGateway.

Field Type Label Description
number uint32 The port number exposed on the underlying gateway k8s Service.
name string A label for the port, eg “http”. This will match the port name from the underlying gateway k8s Service.
protocol string The protocol used in communication with this destination MUST be one of the following: HTTP, HTTPS, GRPC, HTTP2, MONGO, TCP, TLS.

DiscoveredGatewaySpec.WorkloadLabelsEntry

Field Type Label Description
key string
value string

DiscoveredGatewayStatus

Field Type Label Description
generic common.gloo.solo.io.GenericContextStatus
virtualGateways []common.gloo.solo.io.ObjectReference repeated VirtualGateways selecting this discovered gateway

DiscoveredGatewaySpec.ServiceType

Name Number Description
CLUSTER_IP 0 ServiceTypeClusterIP means a service will only be accessible inside the cluster, via the cluster IP.
NODE_PORT 1 ServiceTypeNodePort means a service will be exposed on one port of every node, in addition to ‘ClusterIP’ type.
LOAD_BALANCER 2 ServiceTypeLoadBalancer means a service will be exposed via an external load balancer (if the cloud provider supports it), in addition to ‘NodePort’ type.
EXTERNAL_NAME 3 ServiceTypeExternalName means a service consists of only a reference to an external name that kubedns or equivalent will return as a CNAME record, with no exposing or proxying of any pods involved.