So I have this setup:
apiVersion: v1
kind: Service
metadata:
name: svc-telemetry
annotations:
getambassador.io/config: |
---
apiVersion: ambassador/v1
kind: Mapping
name: svc-telemetry-mapping-1
prefix: /svc-telemetry/
service: svc-telemetry.data-dev
spec:
selector:
app: svc-telemetry
ports:
- port: 80
name: http
targetPort: http
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: svc-telemetry-1
spec:
replicas: 1
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: svc-telemetry
version: v1
spec:
containers:
- name: svc-telemetry-1
image:<my_image-1>
ports:
- name: http
containerPort: 8083
---
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: svc-telemetry-2
spec:
replicas: 1
strategy:
type: RollingUpdate
template:
metadata:
labels:
app: svc-telemetry
version: v2
spec:
containers:
- name: svc-telemetry-2
image: <my-image-2>
ports:
- name: http
containerPort: 8083
Then I added DestinationRules, a VirtualService and then a Gateway. I then started seeing traffic flowing to v1 and v2 which got me really happy. As I started playing with different routing rules in the VirtualService I wasn’t seeing the expected results (i.e a 90/10 split) so that got me thinking that maybe Istio was not the one calling the shots for that routing. Next, I deleted all Istio components and got to see the same result.
How can I find out who is doing the routing or how can I find out if Istio is part of it in any way?
Any help would be greatly appreciated as I hit this wall last Tuesday.
Thanks beforehand!!