DigitalOcean pod has unbound immediate PersistentVolumeClaims

前端 未结 2 1478
刺人心
刺人心 2021-02-20 04:01

I am trying to run a Redis cluster in Kubernetes in DigitalOcean. As a poc, I simply tried running an example I found online (https://github.com/sanderploegsma/redis-cluster/blo

2条回答
  •  自闭症患者
    2021-02-20 04:59

    It is a statefulSet using PersistentVolumeClaims

    You need to configure a default storageClass in your cluster so that the PersistentVolumeClaim can take the storage from there.

    In minikube one is already available so it succeeds without error:

    C02W84XMHTD5:ucp iahmad$ kubectl get sc --all-namespaces 
    NAME                 PROVISIONER                AGE
    standard (default)   k8s.io/minikube-hostpath   7d
    

提交回复
热议问题