gpt4 book ai didi

kubernetes - 如何手动调整由IBM Cloud File/Block Storage支持的PVC的大小?

转载 作者:行者123 更新时间:2023-12-02 12:02:53 25 4
gpt4 key购买 nike

假设我要托管使用pvc的pod。我的pvc只配置了10 Gi的存储空间,所以我的pod最终崩溃了,因为它用完了磁盘空间。此时,如何添加更多空间?

最好不要丢失数据。

我知道allowVolumeExpansion https://kubernetes.io/docs/concepts/storage/persistent-volumes/#expanding-persistent-volumes-claims,但是我认为我的云提供商的存储类ibm.io/ibmc-fileibm.io/ibmc-blockvpc.block.csi.ibm.io不支持此功能。

最佳答案

据我所知,这在ibm.io/ibmc-block上是不可能的

这是Storing data on classic IBM Cloud Block Storage的文档。

Deciding on the block storage configuration部分,我们可以找到:

Important:

Make sure to choose your storage configuration carefully to have enough capacity to store your data. After you provision a specific type of storage by using a storage class, you cannot change the size, type, IOPS, or retention policy for the storage device. If you need more storage or storage with a different configuration, you must create a new storage instance and copy the data from the old storage instance to your new one.



但是,这对于 ibm.io/ibmc-file似乎是可能的,它被称为 here:

Important:

After you provision a specific type of storage by using a storage class, you cannot change the type, or retention policy for the storage device. However, you can change the size and the IOPS if you want to increase your storage capacity and performance. To change the type and retention policy for your storage, you must create a new storage instance and copy the data from the old storage instance to your new one.



这是描述 Changing the size and IOPS of your existing storage device

关于kubernetes - 如何手动调整由IBM Cloud File/Block Storage支持的PVC的大小?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58525572/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com