-
Notifications
You must be signed in to change notification settings - Fork 269
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 default containerPort for cdi-apiserver deployment #3465
Add default containerPort for cdi-apiserver deployment #3465
Conversation
Hi @scoquelin. Thanks for your PR. PRs from untrusted users cannot be marked as trusted with I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Signed-off-by: Sebastien Coquelin <[email protected]>
f6de4cc
to
cb34b43
Compare
/test all |
Sorry I haven't gotten around to taking a look at this sooner. I don't think we always want to add the node port to the container, only in certain cases. Maybe create a feature gate to do it. Or a configuration field in CDIConfig. Have to ponder that a little bit. @mhenriks what do you think? |
I'm fine with this /lgtm |
/approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: awels The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/test pull-containerized-data-importer-e2e-upg |
Thank you all! 🥳 |
Signed-off-by: Sebastien Coquelin <[email protected]>
Signed-off-by: Sebastien Coquelin <[email protected]>
…server Fixing regression introduced in kubevirt#3465 Signed-off-by: Michael Henriksen <[email protected]>
…server (#3489) Fixing regression introduced in #3465 Signed-off-by: Michael Henriksen <[email protected]>
…server Fixing regression introduced in kubevirt#3465 Signed-off-by: Michael Henriksen <[email protected]>
…server (#3498) Fixing regression introduced in #3465 Signed-off-by: Michael Henriksen <[email protected]> Co-authored-by: Michael Henriksen <[email protected]>
What this PR does / why we need it:
We have a use case where we run
kubevirt/cdi
withHostNetwork=true
This PR is just adding
containerPort
explicitly when creating the deployment forcdi-apiserver
so that Kubernetes can pro-actively detect if a pod needs to be assigned to other nodes in case the port is already taken.Special notes for your reviewer:
Release note: