Class V1GatewaySpec
Describes a load balancer operating at the edge of the mesh receiving incoming or outgoing HTTP/TCP connections.
Namespace: Neon.Kube.Resources.Istio
Assembly: Neon.Kube.Resources.dll
Syntax
public class V1GatewaySpec
Constructors
V1GatewaySpec()
Constructor.
Declaration
public V1GatewaySpec()
Properties
Selector
One or more labels that indicate a specific set of pods/VMs on which this gateway configuration should be applied. By default workloads are searched across all namespaces based on label selectors. This implies that a gateway resource in the namespace “foo” can select pods in the namespace “bar” based on labels. This behavior can be controlled via the PILOT_SCOPE_GATEWAY_TO_NAMESPACE environment variable in istiod. If this variable is set to true, the scope of label search is restricted to the configuration namespace in which the the resource is present. In other words, the Gateway resource must reside in the same namespace as the gateway workload instance. If selector is nil, the Gateway will be applied to all workloads.
Declaration
[JsonProperty(PropertyName = "selector", Required = Required.Always)]
public Dictionary<string, string> Selector { get; set; }
Property Value
Type | Description |
---|---|
Dictionary<string, string> |
Servers
Describes the properties of the proxy on a given load balancer port.
Declaration
[JsonProperty(PropertyName = "servers", Required = Required.Always)]
public List<Server> Servers { get; set; }
Property Value
Type | Description |
---|---|
List<Server> |