-
Notifications
You must be signed in to change notification settings - Fork 40k
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
Use SkyDNS as a library for a more integrated kube DNS #23930
Use SkyDNS as a library for a more integrated kube DNS #23930
Conversation
@thockin |
I understand if you don't want to merge this, but I really like the idea. |
0bc0091
to
d16abf8
Compare
ce30157
to
fcc03a9
Compare
@thockin PTAL |
Once the PR is approved, I will push the container image to gcr. |
Please add the |
4d70135
to
e3f3776
Compare
@luxas added amd64 suffix |
{% endif %} | ||
containers: | ||
- name: kubedns | ||
image: artfulcoder/kubedns-amd64:1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
todo before lgtm
One thing that hit me is that I think the So you might consider to use kube-build's inbuilt way of wrapping binaries in containers. What you would have to change is these lines: Just add |
69d7194
to
2422e1c
Compare
// caller is responsible for using the cacheLock before invoking methods on cache | ||
// the cache is not thread-safe, and the caller can guarantee thread safety by using | ||
// the cacheLock | ||
cacheLock *sync.RWMutex |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this doesn't need to be a pointer any more
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
I have a few nits, mostly requests for comments. LGTM! self-LGTM after you repush, or just do a followup if by some grace this merges. |
2422e1c
to
3ada217
Compare
tagged image and pushed. |
GCE e2e build/test passed for commit 3ada217. |
@k8s-bot test this [submit-queue is verifying that this PR is safe to merge] |
GCE e2e build/test passed for commit 3ada217. |
Automatic merge from submit-queue |
Automatic merge from submit-queue 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. Tests are coming ... Also, this PR is based on @ArtfulCoder's PR #23930. So please review only the last commit here. PTAL @ArtfulCoder @thockin @quinton-hoole @nikhiljindal [![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
@ArtfulCoder is there an issue with dnsperf load test results after this change. Thanks. |
Are you reporting a problem or asking for a dnsperf run? On Tue, May 24, 2016 at 10:59 AM, ravilr notifications@github.com wrote:
|
@thockin, was looking for perf results, if already run. |
No description provided.