Commit Graph

13 Commits (e294b23674abdbaf579e7e2340fee697bb256eaf)

Author SHA1 Message Date
Madhusudan.C.S a827ef0713 Addressed review comments. 2016-06-23 12:33:41 -07:00
Madhusudan.C.S 6894e74027 Append both the zone and the region to the federation query responses, not just the zone. 2016-06-23 11:54:32 -07:00
Matt Liggett c87b613412 Look for the failure zone label in labels.
Not annotations.  Found this working on #27819.
2016-06-23 09:50:03 -07:00
Matt Liggett d6ab379275 Catch the case where we cannot find any nodes.
It's possible to fall through the loops above with node still nil.  This
catches this and reports an error.

Found this working on #27819.
2016-06-22 12:35:48 -07:00
nikhiljindal 5875397a3f Initialising nodesStore in KubeDNS 2016-06-22 01:28:02 -07:00
Prashanth Balasubramanian 2439930592 Fix srv record lookup 2016-06-03 20:41:08 -07:00
Abhishek Shah 4224dbd6c6 Added DNS reverse lookup 2016-06-01 09:54:57 -07:00
Abhishek Shah fcba7c3e5f added dns-port flag to have a custom DNS port for skydns to serve DNS requests on. updated imports 2016-05-23 14:54:00 -07:00
Madhusudan.C.S 13fef23102 To get the zone information, select a node which actually has that annotation.
Also, use the cluster zone information while generating the CNAME
response for federation queries.
2016-05-23 11:35:50 +05:30
Madhusudan.C.S 3ee2b76554 Switch kube-dns to use external versioned API instead of the internal version. 2016-05-23 11:35:50 +05:30
Madhusudan.C.S 26028bce52 Handle federated service name lookups in kube-dns.
For the domain name queries that fail to match any records in the local
kube-dns cache, we check if the queried name matches the federation
pattern. If it does, we send a CNAME response to the federated name.

For more details look at the comments in the code.
2016-05-23 11:35:50 +05:30
Abhishek Shah 3ada2170a3 pr feedback 2016-05-20 23:25:18 -07:00
Abhishek Shah 9a6c7ed3a1 added pkg/dns with unit tests. 2016-05-20 15:08:11 -07:00