【发布时间】:2023-03-03 02:44:01
【问题描述】:
作为大学课程的一部分,我不得不将应用程序部署到 IBM Kubernetes。 我有一个即用即付类型的帐户,并附有我的信用卡。
我将应用程序部署到集群(具有公共 IP 的付费层),几天后,不再需要集群的演示。 集群配置为通过ibmcloud-block-storage-plugin 使用具有持久存储的动态配置。
问题是集群供应了数十张光盘,然后当我使用 IBM Cloud UI 删除它(选中删除所有持久卷的选项)时,光盘仍显示为活动的。
调用ibmcloud sl block volume-list的结果:
77394321 SL02SEL1854117-1 dal13 endurance_block_storage 20 - 161.26.114.100 0 1
78180815 SL02SEL1854117-2 dal10 endurance_block_storage 20 - 161.26.98.107 0 1
78180817 SL02SEL1854117-3 dal10 endurance_block_storage 20 - 161.26.98.107 1 1
78180827 SL02SEL1854117-4 dal10 endurance_block_storage 20 - 161.26.98.106 3 1
78180829 SL02SEL1854117-5 dal10 endurance_block_storage 20 - 161.26.98.108 2 1
78184235 SL02SEL1854117-6 dal10 endurance_block_storage 20 - 161.26.98.88 4 1
78184249 SL02SEL1854117-7 dal10 endurance_block_storage 20 - 161.26.98.86 5 1
78184285 SL02SEL1854117-8 dal10 endurance_block_storage 20 - 161.26.98.107 6 1
78184289 SL02SEL1854117-9 dal10 endurance_block_storage 20 - 161.26.98.105 7 1
78184457 SL02SEL1854117-10 dal10 endurance_block_storage 20 - 161.26.98.85 9 1
78184465 SL02SEL1854117-11 dal10 endurance_block_storage 20 - 161.26.98.88 8 1
78184485 SL02SEL1854117-12 dal10 endurance_block_storage 20 - 161.26.98.86 10 1
78184521 SL02SEL1854117-13 dal10 endurance_block_storage 20 - 161.26.98.106 0 1
78184605 SL02SEL1854117-14 dal10 endurance_block_storage 20 - 161.26.98.87 1 1
78184643 SL02SEL1854117-15 dal10 endurance_block_storage 20 - 161.26.98.85 2 1
78184689 SL02SEL1854117-16 dal10 endurance_block_storage 20 - 161.26.98.87 3 1
78184725 SL02SEL1854117-17 dal10 endurance_block_storage 20 - 161.26.98.108 11 1
[ ... more entries there ... ]
所有这些磁盘都是使用 Kubernetes 集群的默认 ibm 青铜块存储类创建的,并具有标准的 Remove 策略集(因此应该自动删除)。
当我尝试删除任何带有ibmcloud sl block volume-cancel --immediate --force 77394321 的人时,我得到了:
Failed to cancel block volume: 77394321.
No billing item is found to cancel.
此外,IBM Cloud 将这些光盘显示为活动的,并且没有删除它们的选项(菜单中的选项是灰色的):
我不想为超过 40 x 20GB 的磁盘计费,因为集群甚至不需要那么多资源(错误在于定义错误的 Kubernetes 配置)。
什么是移除光盘的正确方法,或者它只是 IBM Cloud 上的延迟,并且我的帐单一切都会好起来(我的帐单仅显示集群公共 IP 的 $19 左右,仅此而已)?
编辑 似乎过了一段时间问题就解决了(我创建了一张票,但不知道销售团队是否解决了问题。可能就像@Sandip Amin 在 cmets 中建议的那样等待就足够了)。
【问题讨论】:
-
您能描述一下您是如何从 UI 中删除 PVC/文件共享的吗?您是否从 UI 中删除了集群。是否提示您也删除文件共享或者您是否明确删除了 PVC。供参考:关于清理的文档:cloud.ibm.com/docs/containers?topic=containers-cleanup 作为 IaaS 视图的一部分,有一个 NOTES 失败。你能在这里放一个例子吗? ibmcloud sl 块卷列表 --columns id --columns 注释 | grep
-
另外,它至少需要 24 小时 + 才能完全删除(如果立即删除是用户错误并想要恢复)。你什么时候提交删除已经超过1天了?
标签: kubernetes ibm-cloud billing