Skip to content
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

node-driver-registrar preStop hook fails #109

Closed
basert opened this issue Aug 15, 2022 · 3 comments · Fixed by #110
Closed

node-driver-registrar preStop hook fails #109

basert opened this issue Aug 15, 2022 · 3 comments · Fixed by #110
Assignees

Comments

@basert
Copy link
Contributor

basert commented Aug 15, 2022

Hey,

we are seeing issues in our kubelet error logs when we shutdown a node. The preStop hook (

command: ["/bin/sh", "-c", "rm -rf /registration/cert-manager-csi-driver /registration/cert-manager-csi-driver-reg.sock"]
) for the node-driver-registrar fails as the container image does not include /bin/sh binary: https://github.com/kubernetes-csi/node-driver-registrar/blob/master/Dockerfile

@JoshVanL
Copy link
Contributor

Thanks for the case @basert! Looking at kubernetes-csi/node-driver-registrar#21 and kubernetes-csi/node-driver-registrar#61, it looks like we can safely remove the preStop hook altogether.

I'll create a PR for that now, as well as release a new helm chart release containing this change.

/assign

@basert
Copy link
Contributor Author

basert commented Aug 23, 2022

Hey Josh, can you let me know when you plan to release the change?

@JoshVanL
Copy link
Contributor

@basert done! 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants