Search code examples
wordpresskuberneteskubernetes-helm

How to provide support for Persistent Volume provisioner within an kubernetes cluster?


Ok so this might be a basic question, but i'm new to kubernetes and tried to install wordpress using helm unto it, using the stable/wordpress chart, but i keep getting an error "pod has unbound immediate PersistentVolumeClaims (repeated 2 times)" is this because of the requirement in here https://github.com/helm/charts/tree/master/stable/wordpress. "PV provisioner support in the underlying infrastructure" how do i enable this in my infrastructure, i have setup my cluster across three nodes on digitalocean, i've tried searching for tutorials on this, with no luck until now. Please let me know what i'm missing, thanks.


Solution

  • PersistentVolume types are implemented as plugins. Kubernetes currently supports the following plugins:

    GCEPersistentDisk
    AWSElasticBlockStore
    AzureFile
    AzureDisk
    FC (Fibre Channel)
    Flexvolume
    Flocker
    NFS
    iSCSI
    RBD (Ceph Block Device)
    CephFS
    Cinder (OpenStack block storage)
    Glusterfs
    VsphereVolume
    Quobyte Volumes
    HostPath (Single node testing only – local storage is not supported in any way and WILL NOT WORK in a multi-node cluster)
    Portworx Volumes
    ScaleIO Volumes
    StorageOS
    

    You can enable support for PVs or Dynamic PVs using thoese plugins.

    detail reference

    On Digital Ocean you can use block storage for volumes.

    details