<p>I tried deploying MySQL on Kubernetes as mentioned in <a href="https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/" rel="nofollow noreferrer">https://kubernetes.io/docs/tasks/run-application/run-replicated-stateful-application/</a>. But, running into the below error.</p>

<pre><code>Events:
  Type     Reason            Age                From               Message
  ----     ------            ----               ----               -------
  Warning  FailedScheduling  27s (x6 over 72s)  default-scheduler  pod has unbound immediate PersistentVolumeClaims (repeated 99 times)
  Warning  FailedScheduling  0s (x14 over 94s)  default-scheduler  pod has unbound immediate PersistentVolumeClaims (repeated 100 times)
</code></pre>

<p>Not sure what is wrong with this?  Can i remove volumeClaimTemplates and create a separate persistentVolumeClaim?</p>

user1578872
<p>In the doc its mentioned </p>

<blockquote>
  <p>You need to either have a dynamic PersistentVolume provisioner with a
  default <a href="https://kubernetes.io/docs/concepts/storage/storage-classes/" rel="nofollow noreferrer">StorageClass</a>, or <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#provisioning" rel="nofollow noreferrer">statically provision</a> <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#provisioning" rel="nofollow noreferrer">PersistentVolumes</a>
  yourself to satisfy the <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims" rel="nofollow noreferrer">PersistentVolumeClaims</a> used here</p>
</blockquote>
