-
Notifications
You must be signed in to change notification settings - Fork 296
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
🌱 test: remove kube-vip cleanup #2583
🌱 test: remove kube-vip cleanup #2583
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2583 +/- ##
==========================================
+ Coverage 64.42% 64.69% +0.26%
==========================================
Files 118 118
Lines 8585 8585
==========================================
+ Hits 5531 5554 +23
+ Misses 2623 2606 -17
+ Partials 431 425 -6 ☔ View full report in Codecov by Sentry. |
929275e
to
47201f2
Compare
47201f2
to
6f0ee83
Compare
/retest |
6f0ee83
to
b789269
Compare
/test help |
@chrischdi: The specified target(s) for
The following commands are available to trigger optional jobs:
Use
In response to this:
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. |
/test pull-cluster-api-provider-vsphere-conformance-main |
/test pull-cluster-api-provider-vsphere-e2e-full-main |
/assign sbueringer |
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.
Jut a nit.
/lgtm
// Op: "add", | ||
// Path: "/spec/template/spec/kubeadmConfigSpec/postKubeadmCommands/-", | ||
// ValueFrom: &clusterv1.JSONPatchValue{Template: ptr.To("/etc/kube-vip-cleanup.sh")}, | ||
// }, | ||
) |
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 @chrischdi ,
Are the commented code left intentionally? Otherwise, I think we could remove them :-)
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.
Good catch. I agree => deleted
LGTM label has been added. Git tree hash: 2f602d1724e598b75b80ebd3427a51529b9df7f5
|
kube-vip cleanup causes kube-vip to restart and a short unavailability for the kube-apiserver. Conformance e2e tests did try to find the old kube-vip pod in running state which never happened because it gets recreated and restarted.
b789269
to
98be02e
Compare
/lgtm @chrischdi Pleas take a quick look once you're back. But I'll merge now to get CI back to green / unblock other stuff |
LGTM label has been added. Git tree hash: e236dab52a54f2a5c6da8f06f01b64be28c96e29
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: sbueringer 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 |
Thanks for finishing this! 👍 |
What this PR does / why we need it:
Removes the
kube-vip-cleanup.sh
script from templates.The cleanup caused an additional recreation of the kube-vip pod and by that as side-effect, some tests to fail.
An alternative approach may be not doing an in-place sed, but creating a new file instead.
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 #2584