# Local PersistentVolumeClaim says “no volume plugin matched”

**URL:** <https://discuss.kubernetes.io/t/local-persistentvolumeclaim-says-no-volume-plugin-matched/10368>\
**Category:** General Discussions\
**Created:** [April 2, 2020, 10:09am UTC](https://discuss.kubernetes.io/t/local-persistentvolumeclaim-says-no-volume-plugin-matched/10368 "2020-04-02T10:09:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Konstantin\_Konstanti](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/konstantin_konstanti/32/4860_2.png) [@Konstantin\_Konstanti](https://discuss.kubernetes.io/u/Konstantin_Konstanti)\
**Post date:** [April 2, 2020, 10:09am UTC](https://discuss.kubernetes.io/t/local-persistentvolumeclaim-says-no-volume-plugin-matched/10368/1 "2020-04-02T10:09:33Z")

</div>

I recently started exploring Kubernetes and decided to try and deploy kafka to k8s. However I have a problem with creating the persistent volume. I create a storage class and a persistent volume, but the persistent volume claims stay in status pending saying “no volume plugin matched”. Below you can seethe yaml files I used with the dashed lines denoting a new file. Anybody has an idea why this is happening?

### Cluster information:

Kubernetes version:Client Version: version.Info{Major:“1”, Minor:“15”, GitVersion:“v1.15.5”, GitCommit:“20c265fef0741dd71a66480e35bd69f18351daea”, GitTreeState:“clean”, BuildDate:“2019-10-15T19:16:51Z”, GoVersion:“go1.12.10”, Compiler:“gc”, Platform:“windows/amd64”}

Server Version: version.Info{Major:“1”, Minor:“15”, GitVersion:“v1.15.5”, GitCommit:“20c265fef0741dd71a66480e35bd69f18351daea”, GitTreeState:“clean”, BuildDate:“2019-10-15T19:07:57Z”, GoVersion:“go1.12.10”, Compiler:“gc”, Platform:“linux/amd64”}

Cloud being used: local docker-desktop  
Installation method: docker-desktop  
Host OS: Windows

```
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: local-storage
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: Immediate
reclaimPolicy: Retain

------------------------

apiVersion: v1
kind: PersistentVolume
metadata:
  name: kafka-pv
spec:
  capacity:
    storage: 10Gi
  volumeMode: Filesystem
  accessModes:
  - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  storageClassName: local-storage
  local:
    path: /mnt/disks/ssd1
  nodeAffinity:
    required:
      nodeSelectorTerms:
      - matchExpressions:
        - key: kubernetes.io/hostname
          operator: In
          values:
          - docker-desktop
          
          
---------------------------

kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: zookeeper-pvc
spec:
  accessModes:
  - ReadWriteMany
  resources:
    requests:
      storage: 5Gi
  storageClassName: local-storage
```
