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
When I try to test the multiple cluster sample as below document and found that the remote cluster greeting app application does not have "admiral.io/env: stage" annotation so the service entry stage.greeting.global-se doesn't have Cluster 2's istio-ingressgateway address. After I added back the annotation in remote cluster greeting app then the service entry i.e. stage.greeting.global-se success to added cluster 2 istio-ingressgateway address.
However, when I trigger below command in cluster 1 to test the apps for load balancing. It always return cluster 1 greeting app payload i.e. "Hello World! - Admiral!!" and never return remote cluster (cluster 2) payload i.e. "Remote cluster says: Hello World! - Admiral!!".
kubectl exec --namespace=sample -it $(kubectl get pod -l "app=webapp" --namespace=sample -o jsonpath='{.items[0].metadata.name}') -c webapp -- curl -v http://stage.greeting.global
Anyone has idea ?
The text was updated successfully, but these errors were encountered:
Found the issue. Check admiral-install-v1.1 version's sample yaml doesn't have the annotations. After append the annotations the load balancing problem is fixed
@manmaujin2 Sorry for the delayed response, and glad you figured it out on your own! The sample was fixed in #162 and release 1.2 will be packaged with remote yaml files that include the required annotations.
When I try to test the multiple cluster sample as below document and found that the remote cluster greeting app application does not have "admiral.io/env: stage" annotation so the service entry stage.greeting.global-se doesn't have Cluster 2's istio-ingressgateway address. After I added back the annotation in remote cluster greeting app then the service entry i.e. stage.greeting.global-se success to added cluster 2 istio-ingressgateway address.
(Ref: https://github.com/istio-ecosystem/admiral/blob/master/docs/Examples.md#verify)
However, when I trigger below command in cluster 1 to test the apps for load balancing. It always return cluster 1 greeting app payload i.e. "Hello World! - Admiral!!" and never return remote cluster (cluster 2) payload i.e. "Remote cluster says: Hello World! - Admiral!!".
kubectl exec --namespace=sample -it $(kubectl get pod -l "app=webapp" --namespace=sample -o jsonpath='{.items[0].metadata.name}') -c webapp -- curl -v http://stage.greeting.global
Anyone has idea ?
The text was updated successfully, but these errors were encountered: