Class V1DestinationRuleSpec
Describes the V1AuthorizationPolicy spec.
Namespace: Neon.Kube.Resources.Istio
Assembly: Neon.Kube.Resources.dll
Syntax
public class V1DestinationRuleSpec
Constructors
V1DestinationRuleSpec()
Constructor.
Declaration
public V1DestinationRuleSpec()
Properties
Host
The name of a service from the service registry. Service names are looked up from the platform’s service registry (e.g., Kubernetes services, Consul services, etc.) and from the hosts declared by ServiceEntries. Rules defined for services that do not exist in the service registry will be ignored.
When short names are used (e.g. “reviews” instead of “reviews.default.svc.cluster.local”), Istio will interpret the short name based on the namespace of the rule, not the service. A rule in the “default” namespace containing a host “reviews” will be interpreted as “reviews.default.svc.cluster.local”, irrespective of the actual namespace associated with the reviews service.
Declaration
public string Host { get; set; }
Property Value
Type | Description |
---|---|
string |
TrafficPolicy
Traffic policies to apply for a specific destination, across all destination ports. See DestinationRule for examples.
Declaration
public TrafficPolicy TrafficPolicy { get; set; }
Property Value
Type | Description |
---|---|
TrafficPolicy |