为无附件PVC创建的音量快照的删除需要很长时间

发布于 2025-01-25 08:11:44 字数 377 浏览 4 评论 0原文

我们正在驱动程序中添加快照功能,现在在发布前进行了一些测试。我有以下场景执行

  1. Create PVC
  2. 从PVC快照创建
  3. 快照不应转到准备状态(因为PVC不连接到任何实例上)
  4. 删除快照DELETE
  5. DELETE PVC

我看到步骤4花费时间进行执行。

Sun May  1 21:48:59 IST 2022
volumesnapshot.snapshot.storage.k8s.io "snapshot-csi-block-pvc-custom" deleted
Sun May  1 22:02:10 IST 2022

这是预期的。有人可以解释吗

We are adding snapshot feature in our driver and right now doing few tests before release. I have below scenario to execute

  1. Create PVC
  2. Create Snapshot from PVC
  3. Snapshot should not go to Ready State [ as PVC is not attached to any instance ]
  4. Delete Snapshot
  5. Delete PVC

I see that step 4 is taking time for execution.

Sun May  1 21:48:59 IST 2022
volumesnapshot.snapshot.storage.k8s.io "snapshot-csi-block-pvc-custom" deleted
Sun May  1 22:02:10 IST 2022

Is this expected. Could someone please explain

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

陌伤ぢ 2025-02-01 08:11:44

如果要删除快照,则首先将其修补然后删除。

If you want to delete the snapshot anyway first patch it and then delete it.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文