-
Notifications
You must be signed in to change notification settings - Fork 95
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
forwarder: customize the listener port #1460
Conversation
8a06d96
to
ef82eb9
Compare
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 think FORWARDER_ADDRESS
can also be configuration.
How about providing FORWARDER_LISTEN
or FORWARDER_LISTEN_ADDR
instead of FORWARDER_PORT
only?
The default value of FORWARDER_LISTEN
will be 0.0.0.0:15150
.
Hi @yoheiueda, are you suggesting we pass
Okay |
My point was that it is preferable to make the
So, when a user want to use the default |
ef82eb9
to
88ade32
Compare
@yoheiueda, changes applied, PTAL! |
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. Thank you very much!
88ade32
to
d247b2f
Compare
Is using a customisable listen address (not port) applicable ? Since CAA uses the node IP (public or private) and the port to connect to the APF. |
That's right @bpradipt. I missed this point. I will let @yoheiueda answer if he has any specific scenario case for it |
@bpradipt @Amulyam24 Oh, that's right. I don't come up with a specific scenario. I think we can go ahead without When a pod VM image supports multiple network interfaces in the future, we will possibly provide an option to select a specific network address. But, the current deployment mechanism only supports a single network, so there are no appropriate value to be set to |
@Amulyam24 can you please fix the commit check |
dcd3e6d
to
1f93c1b
Compare
Hi @bpradipt, did you get a chance to verify this option for AWS/Azure? |
@Amulyam24 sorry this PR got missed. Can you please rebase and resolve the conflicts ? |
83979b4
to
610c78d
Compare
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
Thanks @Amulyam24
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.
Looks okay to me.
By default the port is 15150, this PR adds the flexibility to customize it to a specific port. Fixes: confidential-containers#1457 Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
Currently option added for AWS, Azure and IBM Cloud PowerVS. Fixes: confidential-containers#1457 Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
Adds option to configure port for agent-protocol-forwarder. Fixes: confidential-containers#1457 Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
Adds option to configure port for agent-protocol-forwarder. Fixes: confidential-containers#1457 Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
Adds option to configure port for agent-protocol-forwarder. Fixes: confidential-containers#1457 Signed-off-by: Amulyam24 <amulmek1@in.ibm.com>
Rebased the PR and resolved conflicts. |
By default the port is 15150, this adds the support to customize it to a specific port. Currently changes added for AWS, Azure and IBM Cloud PowerVS providers.
Fixes: #1457