-
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
[WIP] Probe: Better mapping of NATted connections #3451
base: master
Are you sure you want to change the base?
Changes from 4 commits
86bcb11
85df164
ceafa6c
d22b65e
39721d8
49fe4a6
31e8d8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -266,9 +266,7 @@ func probeMain(flags probeFlags, targets []appclient.Target) { | |
} | ||
|
||
if flags.dockerEnabled { | ||
// Don't add the bridge in Kubernetes since container IPs are global and | ||
// shouldn't be scoped | ||
if flags.dockerBridge != "" && !flags.kubernetesEnabled { | ||
if flags.dockerBridge != "" { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is an improvement for when we have "unmanaged" containers running on a k8s host. However, it will also result in
We could avoid the first one by only erroring when the bridge name has been specified on the command line (rather than left to the default 'docker0' value). Is the 2nd problem real? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
if err := report.AddLocalBridge(flags.dockerBridge); err != nil { | ||
log.Errorf("Docker: problem with bridge %s: %v", flags.dockerBridge, err) | ||
} | ||
|
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.
why do we not need to replace adjacencies here?