bug: Retrieve the workspace-related CoreDNS IP from the Service resource instead of using DNS lookup. #2365
Labels
area/transparent-multi-cluster
Related to scheduling of workloads into pclusters.
kind/bug
Categorizes issue or PR as related to a bug.
Milestone
Describe the bug
Currently, when mutating a Deployment to override the DNS server, the Syncer tries to guess the IP of the CoreDNS service by issuing a DNSLookup on the internal service dns name.
This prevents using the Syncer process outside of the Synctarget cluster (for local debugging purposes for example).
A better and more robust way is to get the
clusterIP
on the Service resource.Steps To Reproduce
Expected Behaviour
We should still be able to run the syncer locally.
Additional Context
No response
The text was updated successfully, but these errors were encountered: