Skip to content
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

Tag containers with WeaveDNS hostnames. #394

Merged
merged 1 commit into from
Aug 25, 2015
Merged

Conversation

tomwilkie
Copy link
Contributor

No description provided.

@tomwilkie tomwilkie force-pushed the weave-dns-hostnames branch 2 times, most recently from c0352a9 to 2623670 Compare August 25, 2015 13:49
@@ -26,27 +29,37 @@ const (
// overlay -- though I'm not sure what that would look like in practice right
// now.
type Weave struct {
url string
url string
scope string

This comment was marked as abuse.

@tomwilkie tomwilkie force-pushed the weave-dns-hostnames branch from 2623670 to 5a86014 Compare August 25, 2015 16:19
@tomwilkie
Copy link
Contributor Author

@peterbourgon PTAL

if entry.Tombstone > 0 {
continue
}
nodeid := report.MakeContainerNodeID(w.hostID, entry.ContainerID)

This comment was marked as abuse.

@peterbourgon
Copy link
Contributor

Are we sure it's OK to make an HTTP call from the probe to the Weave router with every Tag and Report, i.e. once per publish interval?

@tomwilkie tomwilkie force-pushed the weave-dns-hostnames branch from 5a86014 to e9fad61 Compare August 25, 2015 16:42
@tomwilkie
Copy link
Contributor Author

Yes I'm pretty confident this is safe; everything we're querying is in memory, and the weave routers deals with many more QPS on other interfaces (ie DNS). Lets put it another way: I'm more confident this is safe than the amount of queries we do on the docker daemon!

@peterbourgon
Copy link
Contributor

👍

tomwilkie added a commit that referenced this pull request Aug 25, 2015
Tag containers with WeaveDNS hostnames.
@tomwilkie tomwilkie merged commit 7e39b92 into master Aug 25, 2015
@tomwilkie tomwilkie deleted the weave-dns-hostnames branch August 25, 2015 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants