-
Notifications
You must be signed in to change notification settings - Fork 807
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 fails because /bin/sh doesn't exist #747
Comments
We are seeing the same issue on our clusters too. |
LEt's remove the hook, node driver registrar already does this by itself kubernetes-csi/node-driver-registrar#61 |
@wongma7 - thanks for the response. This should be updated in the helm templates in the repo right? #747 (comment) |
Yes, (and the kustomize via |
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-contributor-experience at kubernetes/community. |
/kind bug
What happened?
preStop lifecycle hook isn't executed because
/bin/sh
doesn't exist within the registrar docker image.See: https://github.com/kubernetes-csi/node-driver-registrar/blob/v2.0.1/Dockerfile
What you expected to happen?
lifecycle hook to execute successfully.
How to reproduce it (as minimally and precisely as possible)?
Deploy latest manifests with registrar version
v2.0.1
and observe when the pod/container is shutting down the preStop command fails to execute.See: https://github.com/kubernetes-sigs/aws-ebs-csi-driver/blob/master/deploy/kubernetes/base/node.yaml#L71-L80
Anything else we need to know?:
Environment
kubectl version
): 1.19.7provider-aws/aws-ebs-csi-driver:v0.9.0
k8scsi/csi-node-driver-registrar:v2.0.1
k8scsi/livenessprobe:v2.1.0
The text was updated successfully, but these errors were encountered: