March 2020
Intermediate to advanced
626 pages
14h 45m
English
DestinationRule is just a definition that establishes a binding between a subset and the labels that are defined at the service level. A subset is a named set for one or more versions of the same service. Let's take a look:
# Script : 02-create-destination-rules.yamlapiVersion: networking.istio.io/v1alpha3kind: DestinationRulemetadata: name: reviewsspec: host: reviews subsets: - name: v1 labels: version: v1 - name: v2 labels: version: v2 - name: v3 labels: version: v3
The name of the destination rule is reviews,
while the host field has the service name reviews. It has three subsets defined within it. The v1 subset has an ...
Read now
Unlock full access