-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Remove ovn.kubernetes.io/ovs_dp_type from nodeSelector #9594
Remove ovn.kubernetes.io/ovs_dp_type from nodeSelector #9594
Conversation
|
Welcome @JochenFriedrich! |
Hi @JochenFriedrich. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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/test-infra repository. |
97f6adb
to
ae2e091
Compare
Remove extra tag requirement preventing openvswitch container to start.
ae2e091
to
a9d05fc
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.
/cc @oomichi
@@ -463,7 +463,6 @@ spec: | |||
{% endif %} | |||
nodeSelector: | |||
kubernetes.io/os: "linux" | |||
ovn.kubernetes.io/ovs_dp_type: "kernel" |
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.
This line has been added since the commit f1d0d1a to update the kube-ovn version to v1.10.7.
The commit was created based on the latest kube-ovn manifest like https://raw.githubusercontent.com/kubeovn/kube-ovn/master/dist/images/install.sh
That contains the above line.
@liupeng0518 Could you take a look at this pull request?
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.
This install script adds the tag dependent on DPDK though and has an alternative DaemonSet for ovs_dp_type=userspace.
if [ "$DPDK" = "true" -o "$HYBRID_DPDK" = "true" ]; then
kubectl label no -lovn.kubernetes.io/ovs_dp_type!=userspace ovn.kubernetes.io/ovs_dp_type=kernel --overwrite
fi
All this is all needed for HYBRID_DPDK, which kubespray doesn't support (yet?).
In the standard case, this line is not present:
https://github.com/kubeovn/kube-ovn/blob/master/dist/images/install.sh#L2596
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.
Thanks for your patch, removing it makes it work for me as well! However, I was wondering whether instead of removing this line, it should be made dependent on kube_ovn_dpdk_enabled
like the other settings in this file?
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.
This line has been added since the commit f1d0d1a to update the kube-ovn version to v1.10.7. The commit was created based on the latest kube-ovn manifest like https://raw.githubusercontent.com/kubeovn/kube-ovn/master/dist/images/install.sh
That contains the above line. @liupeng0518 Could you take a look at this pull request?
Indeed, this is a mistake.
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.
@liupeng0518 Thank you for checking it.
It is fine to merge this pull request as is for me.
/approve
/ok-to-test |
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 👍
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: floryut, JochenFriedrich, oomichi 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 |
…gs#9594) Remove extra tag requirement preventing openvswitch container to start.
…gs#9594) Remove extra tag requirement preventing openvswitch container to start.
…gs#9594) Remove extra tag requirement preventing openvswitch container to start.
…gs#9594) Remove extra tag requirement preventing openvswitch container to start.
Remove tag preventing openvswitch container to start.
/kind bug
Fixes: #9588
Does this PR introduce a user-facing change?: