-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fix containerd-related path cleanup on failed bootstrap/join and associated test. #910
Conversation
b551777
to
5d3f2a6
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.
Thanks for looking into this, left some comments
5d3f2a6
to
e1f43d6
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, can we rebase and remove the skip added on #892 . This should also run the test
…trap/join-cluster`. Signed-off-by: Nashwan Azhari <[email protected]>
Previously, the test was inducing the `bootstrap` failure by attempting to pre-allocate the port of the kube-controller-manager. This methodology wasn't applicable on any non-LocalHarness testing setups, so the test was updated to induce the failure by pre-creating the containerd socket directory (`/run/containerd`), which should lead to the same cleanup logic being triggered. Signed-off-by: Nashwan Azhari <[email protected]>
e1f43d6
to
39531c1
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
metrics-server: | ||
enabled: true | ||
extra-node-kube-apiserver-args: | ||
--foo: bar |
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.
Great idea, it hadn't crossed my mind to induce the failure with incorrect args!
bootstrap/join-cluster
.open_local_port()
testing utility for clarity.