pod has unbound immediate PersistentVolumeClaims. preemption

集群环境部署突然报错


 Warning  FailedScheduling  4m53s                   default-scheduler  0/5 nodes are available: pod has unbound imm
ediate PersistentVolumeClaims. preemption: 0/5 nodes are available: 5 No preemption victims found for incoming pod..
  Normal   Scheduled         4m52s                   default-scheduler  Successfully assigned default/mongo-deploy-7
895996759-jbnjz to node02
  Normal   Pulled            3m14s (x5 over 4m49s)   kubelet            Container image "mongo:latest" already prese
nt on machine
  Normal   Created           3m14s (x5 over 4m49s)   kubelet            Created container mongodb
  Normal   Started           3m14s (x5 over 4m49s)   kubelet            Started container mongodb
  Warning  BackOff           2m43s (x10 over 4m48s)  kubelet            Back-off restarting failed container mongodb
 in pod mongo-deploy-7895996759-jbnjz_default(12e22ad2-1408-4a8d-ae10-f932c53358a5)

解决步骤

发现所有节点挂载有问题

[root@node10 -]# showmount -e 10.200.19.14
cint create: RPC: Program not registered

登录nfs服务器,停止服务

[root@nfs -]# systemctl stop rpcbind 
[root@nfs -]# systemctl stop nfs 

开启服务,问题解决

[root@nfs -]# systemctl start rpcbind 
[root@nfs -]# systemctl start nfs 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值