-
Notifications
You must be signed in to change notification settings - Fork 138
istio: Remove Multus settings from the default Istio config #1422
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
Conversation
The default Istio config 'istio-operator.cr.yaml' is intended to be used when Multus is not installed in the cluster. Multus depends on the NetworkAttachmentDefinition CRD to be installed. Currently the default Istio config is invalid, because it specify setting that installs the istio-cni NetworkAttachmentDefinition CR, where it should be used when no Multus is installed. For setups that have Multus installed, the 'istio-operator-with-cnao.cr.yaml' should be used. Remove Multus related settings from the default Istio config. Signed-off-by: Or Mergi <[email protected]>
Reviewer's Guide by SourceryThis pull request removes Multus-related configurations from the default Istio operator configuration file ( No diagrams generated as the changes look simple and do not need a visual representation. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
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.
Hey @ormergi - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adding a comment in the file itself explaining why the
provider: multussetting was removed.
Here's what I looked at during the review
- 🟢 General issues: all looks good
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
|
/cc @akalenyu @nirdothan |
|
@akalenyu could you please verify this PR changes fixes the issue on CDI+Istio lane? |
|
@brianmcarey could you please have a look? 🙏 |
|
@nirdothan PTAL |
|
@ormergi I'm OK to temporarily remove the NAD once @akalenyu confirms that his NFS tests are passing with this config. /LGTM @akalenyu please remove the hold once tested. |
|
@nirdothan this change is necessary regardless of the issues on CDI repo CI. |
This value is used in 2 places:
#1 is the NAD, and #2 is injecting I guess that the test that we are trying to fix runs in a setup that does not install multus, and is therefore working with CNI chaining. Since the KubeVirt project does assume multus installed (does it?) I think that we should have a common installation configuration that is optimized for the needs of the project. |
|
/hold cancel and I don't have to deploy multus too. thanks! |
The existing configuration (this PR changes) is not valid in the first place.
We have, once for setups where Multus is installed and nother once when Multus is not installed.
Last time I checked with Istio community, there is no reference config for vanilla k8s with Multus installed. Its nice that you placed your LGTM, effectively you blocked this PR by placing a hold earlier, which I dont understand why.. |
I wrote why: It's for @akalenyu to remove once tested. |
|
@ormergi I looked at it again and recalled that we have two setups one for multus and the other without. This one should of course be without the multus provider, and of course, you were right. My bad. |
brianmcarey
left a comment
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.
/approve
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: brianmcarey The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
@ormergi: The following tests failed, say
DetailsInstructions 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. I understand the commands that are listed here. |
[2f84ba7 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1429) [f667106 istio: Remove Multus settings from the default Istio config](kubevirt/kubevirtci#1422) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[2f84ba7 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1429) [f667106 istio: Remove Multus settings from the default Istio config](kubevirt/kubevirtci#1422) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[2f84ba7 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1429) [f667106 istio: Remove Multus settings from the default Istio config](kubevirt/kubevirtci#1422) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
[2f84ba7 Automatic bump of CentOS Stream to latest](kubevirt/kubevirtci#1429) [f667106 istio: Remove Multus settings from the default Istio config](kubevirt/kubevirtci#1422) ```release-note NONE ``` Signed-off-by: kubevirt-bot <[email protected]>
What this PR does / why we need it:
Following recent Istio bump a regression has been introduced in CDI+Istio lane
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_containerized-data-importer/3694/pull-containerized-data-importer-e2e-istio/1909911853820022784
The default Istio config 'istio-operator.cr.yaml' is intended to be used when Multus is not installed in the cluster.
Multus depends on the NetworkAttachmentDefinition CRD to be installed.
Currently the default Istio config is invalid, because it specify setting that installs the istio-cni NetworkAttachmentDefinition CR, where it should be used when no Multus is installed. For setups that have Multus installed, the 'istio-operator-with-cnao.cr.yaml' config should be used.
Remove Multus related settings from the default Istio config.
Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)format, will close the issue(s) when PR gets merged):Fixes #
Special notes for your reviewer:
Checklist
This checklist is not enforcing, but it's a reminder of items that could be relevant to every PR.
Approvers are expected to review this list.
Release note: