k8s-merge-robot
7a62b9c8d1
Merge pull request #29523 from fraenkel/service_names_rfc1035
...
Automatic merge from submit-queue
Allow service names up to 63 characters (RFC 1035)
fixes #3752
2016-08-02 10:33:16 -07:00
Michael Fraenkel
b1e7e6cf46
Service names conform to RFC 1035
2016-08-02 08:42:15 -06:00
Michal Rostecki
59ca5986dd
Print/log pointers of structs with %#v instead of %+v
...
There are many places in k8s where %+v is used to format a pointer
to struct, which isn't working as expected.
Fixes #26591
2016-08-01 22:27:56 +02:00
Davanum Srinivas
ee8507a5ae
Use Infof/Warningf when appropriate
...
When we use a format string, we should use Infof/Warningf instead
of Info/Warning
2016-07-19 12:10:53 -04:00
Davanum Srinivas
2b0ed014b7
Use Go canonical import paths
...
Add canonical imports only in existing doc.go files.
https://golang.org/doc/go1.4#canonicalimports
Fixes #29014
2016-07-16 13:48:21 -04:00
Aaron Mills
0897494163
Change default verbosity settings. Queries should not be logged at v=0
2016-07-05 20:27:41 -06:00
David McMahon
ef0c9f0c5b
Remove "All rights reserved" from all the headers.
2016-06-29 17:47:36 -07:00
k8s-merge-robot
bc1c1c1360
Merge pull request #27972 from mml/fed-backend2
...
Automatic merge from submit-queue
A few changes to federated-service e2e test.
Most of the changes that get the test to pass have been made already or
elsewhere. Here we restructure a bit fixing a nesting problem, extend the
timeouts, and start creating distinct backend pods that I'll delete in the
non-local test (coming shortly).
Also some extra debugging info in the DNS code. I made some upstream
changes to skydns in https://github.com/skynetservices/skydns/pull/283
For #27739
Includes a commit from @madhusudancs that I will remove once his merges.
2016-06-23 22:48:08 -07:00
nikhiljindal
61f43c5924
Updating KubeDNS to try a local service first for federation query
2016-06-23 17:50:12 -07:00
Matt Liggett
e2021ef241
A few changes to federated-service e2e test.
...
Most of the changes that get the test to pass have been made already or
elsewhere. Here we restructure a bit fixing a nesting problem, extend
the timeouts, and start creating distinct backend pods that I'll delete
in the non-local test (coming shortly).
Also some extra debugging info in the DNS code. I made some upstream
changes to skydns in https://github.com/skynetservices/skydns/pull/283
2016-06-23 17:40:54 -07:00
k8s-merge-robot
38182e91c9
Merge pull request #27960 from madhusudancs/fed-kube-dns-append-region
...
Automatic merge from submit-queue
Append both the zone and the region to the federation query responses, not just the zone.
This PR is based on @mml's #27896 . I will rebase once that PR is merged.
[]()
2016-06-23 14:13:31 -07:00
k8s-merge-robot
436a109a14
Merge pull request #27950 from mml/fed-nil-subtree
...
Automatic merge from submit-queue
Verify that the we get a non-nil subtree before consulting it.
2016-06-23 12:54:37 -07:00
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
7a40584f66
Verify that the we get a non-nil subtree before consulting it.
...
Fixes #27919
2016-06-23 09:51:14 -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
006580abb9
Implement tests for federation queries.
2016-05-23 11:35:50 +05:30
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