Has anybody been able to get stickiness to work with destination weights? I’m finding that I don’t stick to a specific subset. Below are 2 example files.
apiVersion: networking.istio.io/v1alpha3
kind: VirtualService
metadata:
name: my-service-virtual-service
spec:
hosts:
- my-service
http:
- match:
- uri:
prefix: /
route:
- destination:
port:
number: 6065
host: my-service
subset: stable
weight: 95
- destination:
port:
number: 6065
host: my-service
subset: canary
weight: 5
apiVersion: networking.istio.io/v1alpha3
kind: DestinationRule
metadata:
name: canary-destination-rule
spec:
host: "my-service"
trafficPolicy:
loadBalancer:
consistentHash:
httpCookie:
name: x-some-cookie
ttl: 0s
subsets:
- name: stable
labels:
release: stable
- name: canary
labels:
release: canary