Jupyterhub установка Hub Pod в состоянии ожидания - PullRequest
0 голосов
/ 08 ноября 2019

Я пытаюсь установить jupyterhub в Kubernetes, из-за нехватки ресурсов ожидается соединение с концентратором. Когда я описал pods

 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
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...