-
Notifications
You must be signed in to change notification settings - Fork 23
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
statefulset pod's volumeattachment cannot delete after node deleted #94
Comments
statefulset elasticsearch-logging-data pod's volumeattachment cannot delete after node deleted image: dockerhub.qingcloud.com/elasticsearch/elasticsearch-oss:6.7.0
imagePullPolicy: IfNotPresent
lifecycle:
postStart:
exec:
command:
- /bin/bash
- /post-start-hook.sh
preStop:
exec:
command:
- /bin/bash
- /pre-stop-hook.sh Let's see the pre-stop-hook.sh
So pre-stop-hook.sh migrate data of the container to be deleted, so it take a long time, several minutes nearly. Let's take another simple expirements in QKE. Statefulset Nginx
It sleep 1000s, when stopping the pod's container After delete the node of pod, it accour the same cirtuation with the stateful "ES" pod.
The error same with the "ES". The process maybe like this:
|
No description provided.
The text was updated successfully, but these errors were encountered: