You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I deploy bookinfo with images docker.io/istio/examples-bookinfo-*:v1.16.2 using KIALI,but consistentHash load balancing not work
my DestinationRule and VirtualService generated by kiali Request Routing as flows,When I curl http://productpage:9080/productpage -H "X-User: www" the request doesnot route into the same pod always. three pods hit rate about 33%.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello, I deploy bookinfo with images docker.io/istio/examples-bookinfo-*:v1.16.2 using KIALI,but consistentHash load balancing not work
my DestinationRule and VirtualService generated by kiali Request Routing as flows,When I curl http://productpage:9080/productpage -H "X-User: www" the request doesnot route into the same pod always. three pods hit rate about 33%.
apiVersion: networking.istio.io/v1beta1
kind: DestinationRule
metadata:
creationTimestamp: "2023-09-15T09:11:05Z"
generation: 2
labels:
kiali_wizard: request_routing
name: reviews
namespace: bookinfoyaml
resourceVersion: "2519788"
uid: 4f9d70f4-4c1e-4300-a819-9f31aed148db
spec:
host: reviews.bookinfoyaml.svc.cluster.local
subsets:
version: v1
name: v1
version: v2
name: v2
version: v3
name: v3
trafficPolicy:
loadBalancer:
consistentHash:
httpHeaderName: X-User
apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
creationTimestamp: "2023-09-15T09:11:05Z"
generation: 1
labels:
kiali_wizard: request_routing
name: reviews
namespace: bookinfoyaml
resourceVersion: "2519453"
uid: 3467e321-6a2c-4d55-b2fa-ba374936e7d7
spec:
hosts:
http:
host: reviews.bookinfoyaml.svc.cluster.local
subset: v1
weight: 33
host: reviews.bookinfoyaml.svc.cluster.local
subset: v2
weight: 33
host: reviews.bookinfoyaml.svc.cluster.local
subset: v3
weight: 34
Beta Was this translation helpful? Give feedback.
All reactions