<p>I have created some Persistent Volumes myself. Is it possible to make the <code>volumeClaimTemplates</code> in my Stateful Set select those? It seems that it will always provision new persistent volumes, rather than use the existing ones.</p>

<p><em>Kubernetes: 1.5</em></p>

<p>You need to use the <code>selector</code> option. If you label your pv's accordingly, the pods would use the volumes you previously created. </p>

<p>Example From: <a href="https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/storage/persistent-volumes/#persistentvolumeclaims</a></p>

<pre><code>kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: myclaim
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 8Gi
  storageClassName: slow
  selector:
    matchLabels:
      release: "stable"
    matchExpressions:
      - {key: environment, operator: In, values: [dev]}
</code></pre>

<p>Even though it is a PersistentVolumeClaim, it should be applicable to your volumeClaimTemplate</p>
