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

怎么处理EVS挂卷中间态问题? #157

Open
morningtzh opened this issue Sep 10, 2024 · 1 comment
Open

怎么处理EVS挂卷中间态问题? #157

morningtzh opened this issue Sep 10, 2024 · 1 comment

Comments

@morningtzh
Copy link

使用EVS进行挂卸卷时可能存在 k8s认为挂卸卷失败,但实际Job成功的情况。

场景:
当Pod A删除,此时触发卸卷,Job等待失败返回。此时新Pod B调度到同一节点,kubelet发现卸卷失败,卷还挂着,就不会下发ControllerPublish。此时如果Job执行成功,但未挂卷,可能会直接使用本地磁盘,写不到EVS。

这种场景有办法解决吗?

@Zippo-Wang
Copy link
Contributor

Zippo-Wang commented Sep 10, 2024

@morningtzh 建议查看卸载卷失败的详细日志,确定失败的具体原因。确定成功卸载之后再进行Pod的调度或创建

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

No branches or pull requests

2 participants