<p>I'm fairly new to Kubernetes and find it difficult to get it working from documentation, Kubenetes docs says that <code>StorageClass contains the fields provisioner, parameters, and reclaimPolicy, which are used when a PersistentVolume belonging to the class needs to be dynamically provisioned</code> however can I use StorageClass with PV(not dynamic allocation) to specify high performance disk allocation such as ssd?</p>

<p>without StorageClass it worked fine for me.</p>

<p>following is my manifest</p>

<pre><code>kind: PersistentVolume
metadata:
  name: gke-pv
  labels:
    app: test
spec:
  capacity:
    storage: 10Gi
  accessModes:
    - ReadWriteOnce
  gcePersistentDisk:
    pdName: gce-disk
    fsType: ext4
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: gke-pvc
  labels:
    app: test
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: ssd-sc 
  resources:
    requests:
      storage: 2Gi
  selector:
    matchLabels:
      app: test
</code></pre>

cross_handle
<p>You need storage class if the storage needs to be provisioned dynamically. </p>

<p>If you are provisioning persistent volumes then it is called static storage provisioning. You don't need storage class in this scenario</p>
