Jupyterhub安装Hub Pod挂起状态

时间:2019-11-08 19:13:53

标签: kubernetes jupyterhub aws-eks

我正在尝试在Kubernetes上安装jupyterhub,由于资源的原因,枢纽挂件正在等待中。当我描述豆荚

 Warning  FailedScheduling  2m25s (x6 over 2m25s)  default-scheduler  pod has unbound immediate PersistentVolumeClaims (repeated 2 times)

 Warning  FailedScheduling  55s (x4 over 2m25s)    default-scheduler  0/3 nodes are available: 1 Insufficient cpu, 2 node(s) had no available volume zone.
It also shows that the requests is 
 Requests:
    cpu:      500m
    memory:   512Mi

我按照资源https://zero-to-jupyterhub.readthedocs.io/en/latest/setup-jupyterhub.html中所述的安装步骤进行操作

我的config.yaml配置如下所示。我正在使用Kubernetes EKS(AWS)  代理:   secretToken:“”

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: mysql
  labels:
    app: mysql
  annotations:
    volume.alpha.kubernetes.io/storage-class: default
spec:
  accessModes:
    - ReadWriteOnce
  resources:
    requests:
      storage: 1Gi
  storageClassName: local-storage    

singleuser:
  cpu:
    limit: 1
    guarantee: 0.02
  memory:
    limit: 2G
    guarantee: 512M
  storage:
    dynamic:
      storageClass: gp2

# culling old users, unit: seconds    
cull:
  enabled: true
  timeout: 1800
  every: 300

auth:
  admin:
    users:
      - admin
    access: false

# allow image to be prepulled
prePuller:
  continuous:
    enabled: true

# pod priority - scale up nodes ahead of real users arrivals
# user scheduler - pack users tight on some nodes
scheduling:
  userScheduler:
    enabled: true
  podPriority:
    enabled: true

0 个答案:

没有答案