...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
apiVersion: networking.istio.io/v1alpha3 kind: VirtualService metadata: name: reviews-route spec: hosts: - service01.bar.svc.cluster.local http: - match: - uri: prefix: "/headers" route: - destination: host: serviceserver04.bar.global port: number: 8000 weight: 50 - destination: host: serviceserver01.bar.svc.cluster.local port: number: 8000 weight: 25 - destination: host: serviceserver02.bar.svc.cluster.local port: number: 8000 weight: 25 |
...