-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Istio MultiPrimary Deployment cannot resolve headless service in remote cluster #29969
Comments
From the implement details, istiod can watch service/endpoints from the other clusters, it is same for any kind of service. |
Hi Zhonghu, thanks for your reply, do you mean that I just need to create a stub service for headless service? do you have any sample? Here is what I did it but not works:
and then I applied below yaml in cluster-0:
and applied below yaml in cluster-1:
what I expected is that I can curl http://nginx-2.nginx-headless.test.svc.cluster.local from both cluster-0 and cluster-1, however, when I tried to curl http://nginx-2.nginx-headless.test.svc.cluster.local from cluster-0 it always fails with error ping from cluster-0:
ping from cluster-1:
|
IC, the dns of cluster1 can not resolve |
Ok .... I want to build a logical Zookeeper cluster across 3 Kubernetes clusters, so that means it's impossible to do that with Istio? |
There was an open issue here that got auto-closed: #27342. @hzxuzhonghu, maybe it's possible to create a workaround using in-agent DNS, or does istio not want to be responsible for such a thing? |
What kind of workaround are you thinking we can do in agent DNS? I discusses offline with @hzxuzhonghu , I think the main problem is there is no way to identify which ipaddress in the endpoint response of the service belongs with individual stateful pod. |
Hi @nirvanatao did you get this to working finally? I stumbled upon this: https://discuss.istio.io/t/istio-1-5-and-headless-services/5910 and created a |
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2021-01-18. If you feel this issue or pull request deserves attention, please reopen the issue. Please see this wiki page for more information. Thank you for your contributions. Created by the issue and PR lifecycle manager. |
not stale: #32515 |
I configured 2 Kubernetes cluster as a singl service mesh using Istio MultiPrimary Deployment, however I found that the headless services could not be resolved from remote cluster, I'm using istio-1.8.1
The text was updated successfully, but these errors were encountered: