<p>When trying to install Jupyterhub on Kubernetes (EKS) I am getting below error in the Hub pod. This is output of describe pod. There was similar issue reported and i tried the solution but it didn't work.</p>

<pre><code>Warning  FailedScheduling  52s (x2 over 52s)  default-scheduler  0/3 nodes are available: 1 Insufficient cpu, 2 node(s) had no available volume zone.
</code></pre>

<h2>This is my pvc.yaml</h2>

<pre><code>kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: standard
  annotations:
    volume.alpha.kubernetes.io/storage-class: default
provisioner: kubernetes.io/aws-ebs
parameters:
  type: gp2  
allowedTopologies:
- matchLabelExpressions:
  - key: failure-domain.beta.kubernetes.io/zone
    values:
    - us-east-1a
    - us-east-1b
    - us-east-1c    
</code></pre>

<hr>

<h1>Source: jupyterhub/templates/hub/pvc.yaml</h1>

<pre><code>kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: hub-db-dir
  annotations:
    volume.alpha.kubernetes.io/storage-class: default
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: standard
</code></pre>

<p>Please let me know if I am missing something here.</p>

Mohan
<p>According to AWS documentation, an EBS volume and the instance to which it attaches must be in the same Availability Zone. (<a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/EBSVolumes.html" rel="nofollow noreferrer">Source</a>)</p>

<p>In that case, the solution is using only one AZ. </p>

<blockquote>
  <p>Kubernetes itself supports many other storage backends that could be
  used zone independently, but of course with different properties (like
  performance, pricing, cloud provider support, ...). For example there
  is <a href="https://github.com/kubernetes-incubator/external-storage/tree/master/aws/efs" rel="nofollow noreferrer">AWS EFS</a> that can be used in any AZ within an AWS region but with its own tradeoffs (e.g.  <a href="https://github.com/kubernetes-incubator/external-storage/issues/1030" rel="nofollow noreferrer">kubernetes-incubator/external-storage#1030</a>).</p>
</blockquote>

<p>This is a know issue reported <a href="https://github.com/kubernetes/kops/issues/6267" rel="nofollow noreferrer">here</a>.</p>
