0

i have 2 clusters deployed each one in VM. i have configured service mesh connection through istio official documentation. at th end i get this result.

while true; do kubectl exec --context="${CTX_CLUSTER1}" -n sample -c sleep "$(kubectl get pod --context="${CTX_CLUSTER1}" -n sample -l \ app=sleep -o jsonpath='{.items[0].metadata.name}')" -- curl -s helloworld.sample:5000/hello; done

Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh Hello version: v1, instance: helloworld-v1-776f57d5f6-lbnwh

I expect to get like that:

Hello version: v2, instance: helloworld-v2-758dd55874-6x4t8 Hello version: v1, instance: helloworld-v1-86f77cd7bd-cpxhv ...

0 Answers0