Add headless service support
Ztunnel doesn't currently support headless services. This will be needed by the DNS proxy, however.
The initial DNS proxy PR (#536) ignores headless services for now.
Why not supported even without dns proxy?
DNS is resolved by core-dns and ztunnel fetches Workload(Address) by dst ip
Why not supported even without dns proxy?
@hzxuzhonghu I'm not sure what your point is here, exactly. If you're just saying that we should implement headless services in ztunnel independent of the DNS proxy work, that's fine. However, DNS proxy is one concrete use case where it's needed.
I think we can change the proto to stop using VIP and start using service key. That is basically what it is today anyways
cc @kdorosh
Sorry I mean IIUC ztunnel can send request to headless service currently. For ztunnel there is no much diff, today ztunnel outbound is based on upstream workload/svc. And in headless case, definitely it is based on workload.
🚧 This issue or pull request has been closed due to not having had activity from an Istio team member since 2023-06-21. 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.