Last active
May 20, 2019 14:00
-
-
Save masroorhasan/45e52799600bcb68957df63032d3ca7d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.istio.io/v1alpha3 | |
kind: VirtualService | |
metadata: | |
name: resnet-serving | |
spec: | |
hosts: | |
- "*" | |
gateways: | |
- resnet-serving-gateway | |
http: | |
- route: | |
- destination: | |
host: resnet-serving.default.svc.cluster.local | |
port: | |
number: 9000 | |
subset: v1 | |
weight: 100 | |
--- | |
apiVersion: networking.istio.io/v1alpha3 | |
kind: DestinationRule | |
metadata: | |
name: resnet-serving | |
spec: | |
host: resnet-serving.default.svc.cluster.local | |
trafficPolicy: | |
loadBalancer: | |
simple: ROUND_ROBIN | |
# define subset on label selector | |
subsets: | |
- name: v1 | |
labels: | |
version: v1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment