Block Storage for VPC 在 API 密钥重置后 PVC 创建失败
虚拟私有云
重置 API 密钥后,Block Storage for VPC PVC 创建失败,出现 IAM 权限错误。
重置 API 密钥意味着 Block Storage for VPC 群集插件用于配置卷的凭据不再有效。 重置 API 密钥后,必须重置 Block Storage for VPC 控制器,以便使用最新的 API 密钥进行卷调配。
解决问题
重置 API 密钥后,必须重新创建 Block Storage for VPC 控制器 pod。
-
获取 Block Storage for VPC 控制器 pod 名称。
oc get pods -n kube-system | grep ibm-vpc-block-csi-controller -
删除 Block Storage for VPC 控制器 pod。
oc delete pod -n kube-system POD_NAME