kubernetes - 集群移除后的悬空光盘
问题描述
作为大学课程的一部分,我必须将应用程序部署到 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 上的延迟,我的账单一切都会好起来的(我的账单只显示$19
集群的公共 IP,仅此而已)?
编辑 似乎在一段时间后问题得到了解决(我创建了一张票,但不知道销售团队是否解决了问题。可能就像@Sandip Amin 在评论中建议的那样等待就足够了)。
解决方案
打开支持案例可能是这里最好的做法,因为我们可能需要您提供一些帐户信息来弄清楚发生了什么(或者更确切地说,为什么没有发生预期的操作)。
登录云并访问https://cloud.ibm.com/unifiedsupport/supportcenter(或单击页面标头中的 Support 链接)。如果您在此处回复您的案例编号,我将帮助跟进。
推荐阅读
- python - 一定范围内的随机列表
- c++ - 我如何编写一个程序来计算与我输入的另一个数字不同的数字的数字的乘积?
- python - 在 Python 中动态构建 json
- ios - 我如何知道/获取我的 iOS 应用程序支持的方向列表?
- r - 摘要格式
- c++ - 英特尔 c++ 编译器:如何在宏定义/定义中编译和链接 openmp pragma?
- cuda - CUDA直方图问题
- javascript - 使用 .mouseenter 和 .mouseleave 函数更改光标
- android - 触发自动生成代码 Android 导航
- c# - 将 LEFT JOIN 类型的 LINQ 重写为通用 LINQ