-
Notifications
You must be signed in to change notification settings - Fork 712
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 Weave and Docker IPs #396
Conversation
1e6065c
to
b86cbaa
Compare
@@ -212,6 +213,7 @@ func (c *container) GetNodeMetadata() report.NodeMetadata { | |||
ContainerCreated: c.container.Created.Format(time.RFC822), | |||
ContainerCommand: c.container.Path + " " + strings.Join(c.container.Args, " "), | |||
ImageID: c.container.Image, | |||
ContainerIPs: c.container.NetworkSettings.IPAddress, |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
b86cbaa
to
b04d608
Compare
@2opremio PTAL |
…o nodes in the container topology.
b04d608
to
d8ac16d
Compare
} | ||
|
||
existingIPs := report.MakeIDList(strings.Fields(nmd.Metadata[docker.ContainerIPs])...) | ||
existingIPs = existingIPs.Add(ips...) |
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
This comment was marked as abuse.
Sorry, something went wrong.
@2opremio PTAL |
LGTM |
ca6d142
to
1ad1197
Compare
Tag containers with Weave and Docker IPs
Fixes #326
This change involved periodically invoking
weave ps
, which requires the weave script to be installed in our container, which requires the Docker CLI to be installed in out container.