问题现象
启动 pod 卡在 containercreate 状态,使用kubectl describe pod [pod name]命令查看详细报错
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 6m47s default-scheduler Successfully assigned infra/mysql-mysql-operator-0 to bjm3
Warning FailedAttachVolume 6m47s attachdetach-controller Multi-Attach error for volume "pvc-525b972c-c41f-4817-b343-2d2be5abb25a" Volume is already exclusively attached to one node and can't be attached to another
Normal SuccessfulAttachVolume 6m40s attachdetach-controller AttachVolume.Attach succeeded for volume