我試圖運行此Zookeeper Openshift example或等值kubernetes one,但我有錯誤,如結束:Kubernetes/Openshift Statefulset例如:無法找到音量插件阿爾法供應
FirstSeen LastSeen Count From SubObjectPath Type Reason Message
--------- -------- ----- ---- ------------- -------- ------ -------
1h 12s 281 {default-scheduler } Warning FailedScheduling [SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "datadir-zoo-0", which is unexpected., SchedulerPredicates failed due to PersistentVolumeClaim is not bound: "datadir-zoo-0", which is unexpected.]
或
error finding provisioning plugin for claim test/datadir-zoo-2: cannot find volume plugin for alpha provisioning
這裏是我的openshift template.yaml
我注意到肯定,但我懷疑,這可能是由於線路volume.alpha.kubernetes.io/storage-class: anything
,b因爲我不認爲有任何默認StorageClass定義... 如果是這樣,我怎麼可以設置最簡單的StorageClass讓這個工作,因爲我自我託管我的openshift起源集羣,我不能適應到任何雲存儲選項(GCE,AWS,Azure等等)?