-
Notifications
You must be signed in to change notification settings - Fork 13
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
Add allow to discover #47
Conversation
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.
I thought the idea was to only have setting on the app instance to allow discover. Am I confused?
9e91b58
to
b541e02
Compare
We can move it to app instance level, but this way we can give access granularly, i.e. expose specific port of app instance |
The initial proposal was to have it both on the network instance and the app instance, which seems overkill. |
b541e02
to
ef68bec
Compare
Makes sense, updated it with app instance. We should publish doc on lfedge wiki |
ef68bec
to
459b601
Compare
proto/config/appconfig.proto
Outdated
// allow to be discovered by other app instances in the same network | ||
// instance. Default is false |
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.
Comment is reversed; we want to grant the ability for an app instance to discover all the other app instances attached to its network instances.
Unless @gkodali-zededa tells me otherwise.
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.
Yes. @eriknordmark is right.
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.
Please fix comment. Then ready to go.
This flag will allow app instance to discover other App Instances connected to its network instances via metadata server. Could be useful when you have certain topology and don't want to have static IP routes, i.e. sidecar applications. Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
Signed-off-by: Pavel Abramov <uncle.decart@gmail.com>
459b601
to
303c42a
Compare
@eriknordmark done |
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.
LGTM
This flag will allow to expose app instance IP address
via metadata server. Could be useful when you have certain
topology and don't want to have static IP routes, i.e.
sidecar applications.