title: Kubernetes on GKE can't mount volumes
body: <p>There are two nodes and 2 pods running in my cluster
   (1 pod on each node)
  My persistent volume claim is below</p>
  
  <pre><code>kind: PersistentVolumeClaim
  apiVersion: v1
  metadata:
    name: blockchain-data
    annotations: {
          "volume.beta.kubernetes.io/storage-class": "blockchain-disk"
      }
  spec:
    accessModes:
      - ReadWriteOnce
    storageClassName: ssd
    resources:
      requests:
        storage: 500Gi
  </code></pre>
  
  <p>and <code>mystorageclass</code></p>
  
  <pre><code>kind: StorageClass
  apiVersion: storage.k8s.io/v1beta1
  metadata:
    name: blockchain-disk
  provisioner: kubernetes.io/gce-pd
  parameters:
    type: pd-ssd
  </code></pre>
  
  <p>and I mounted it on my container like this </p>
  
  <pre><code>spec:
        containers:
          - image: gcr.io/indiesquare-dev/geth-node:v1.8.12
            imagePullPolicy: IfNotPresent
            name: geth-node
            resources: {}
            terminationMessagePath: /dev/termination-log
            terminationMessagePolicy: File
            volumeMounts:
              - name: blockchain-data
                mountPath: /root/.ethereum
        volumes:
          - name: blockchain-data
            persistentVolumeClaim: 
              claimName: blockchain-data  
  </code></pre>
  
  <p>I have replicas set to 2. When start the deployment, the first pod starts correctly with the disk properly mounted. </p>
  
  <p>However, the second pod gets stuck at <code>containtercreating</code></p>
  
  <p>If I run <code>kubectl describe pods</code></p>
  
  <pre><code>Warning  FailedAttachVolume     18m               attachdetach-controller                       Multi-Attach error for volume "pvc-c56fbb79-954f-11e8-870b-4201ac100003" Volume is already exclusively attached to one node and can't be attached to another
  </code></pre>
  
  <p>I think according to this message, I am trying to attach the disk which is already attached to another node.</p>
  
  <p>What I want to do is to have two persistent volumes separately attached to two pods. If the pods scale up, then each should have a different volume attached.
  How can I do this?</p>