不用纠结,就往volumeClaimTemplates
,volumeMounts
认真的排查。
感谢分享,我在创建 zookeeper.yaml后,zk-0 一直处于pending状态
1 node(s) didn't find available persistent volumes to bind.
请教下这可能是什么原因呢,设置了默认sc
,谢谢!
[root@hadoop03 hadoop]# kubectl get sc
NAME PROVISIONER RECLAIMPOLICY VOLUMEBINDINGMODE ALLOWVOLUMEEXPANSION AGE
manual (default) kubernetes.io/no-provisioner Delete WaitForFirstConsumer false 28h