Не удалось запустить Eclipse в Kubernetes

Получение ERR_TIMEOUT: тайм-аут установлен на тайм-аут ожидания 300000 при загрузке изображений

Я новичок в Eclipse che и kubernetes. Я установил Kubernetes на Ubuntu и пытаюсь запустить chectl server:start, но это не удается. Что я делаю неправильно? Ниже приведен след, который я получаю. Есть ли файл журнала, где я мог бы получить более подробную информацию? Пожалуйста помоги.

Подробности:

✔ Verify Kubernetes API...OK
✔  Looking for an already existing Che instance
✔ Verify if Che is deployed into namespace "che"
✔ Found running che deployment
✔ Found running plugin registry deployment
✔ Found running devfile registry deployment
✔  Starting already deployed Che
✔ Scaling up Che Deployments...done.
❯ ✅ Post installation checklist
❯ Che pod bootstrap
✔ scheduling...done.
✖ downloading images
→ ERR_TIMEOUT: Timeout set to pod wait timeout 300000
starting
Retrieving Che Server URL
Che status check
Error: ERR_TIMEOUT: Timeout set to pod wait timeout 300000
at KubeHelper.<anonymous> (/usr/local/lib/chectl/lib/api/kube.js:578:19)
at Generator.next (<anonymous>)
at fulfilled (/usr/local/lib/chectl/node_modules/tslib/tslib.js:107:62)

Значения.yaml

#
# Copyright (c) 2012-2017 Red Hat, Inc.
# This program and the accompanying materials are made
# available under the terms of the Eclipse Public License 2.0
# which is available at https://www.eclipse.org/legal/epl-2.0/
#
# SPDX-License-Identifier: EPL-2.0
#

# the following section is for secure registries. when uncommented, a pull secret will be created
#registry:
#  host: my-secure-private-registry.com
#  username: myUser
#  password: myPass

cheWorkspaceHttpProxy: ""
cheWorkspaceHttpsProxy: ""
cheWorkspaceNoProxy: ""
cheImage: eclipse/che-server:nightly
cheImagePullPolicy: Always
cheKeycloakRealm: "che"
cheKeycloakClientId: "che-public"
#customOidcUsernameClaim: ""
#customOidcProvider: ""
#workspaceDefaultRamRequest: ""
#workspaceDefaultRamLimit: ""
#workspaceSidecarDefaultRamLimit: ""

global:
  cheNamespace: ""
  multiuser: false
  #  This value can be passed if custom Oidc provider is used, and there is no need to deploy keycloak in multiuser mode
  #  default (if empty) is true
  #cheDedicatedKeycloak: false
  ingressDomain: <xx.xx.xx.xx.nip.io>
  # See --annotations-prefix flag (https://github.com/kubernetes/ingress-nginx/blob/master/docs/user-guide/cli-arguments.md)
  ingressAnnotationsPrefix: "nginx."
  # options: default-host, single-host, multi-host
  serverStrategy: multi-host
  tls:
    enabled: false
    useCertManager: true
    useStaging: true
    secretName: che-tls
  gitHubClientID: ""
  gitHubClientSecret: ""
  pvcClaim: "1Gi"
  cheWorkspacesNamespace: ""
  workspaceIdleTimeout: "-1"
  log:
    loggerConfig: ""
    appenderName: "plaintext"

person Anitha    schedule 27.11.2019    source источник
comment
поделитесь своим развертыванием YAML   -  person P Ekambaram    schedule 27.11.2019
comment
Предоставьте следующую информацию: 1. Как вы установили Kubernetes? 2. Точная команда, которая была вызвана для запуска сервера Che.   -  person Dawid Kruk    schedule 27.11.2019
comment
Че сервер был запущен командой chectl server:start. Kubernetes был установлен в соответствии с инструкциями на [ссылка] vitux.com/install-and- развернуть-kubernetes-на-ubuntu [ссылка]   -  person Anitha    schedule 29.11.2019
comment
Мы пытаемся установить че, используя ссылку ниже. eclipse.org/che/docs/che-7/running-che-locally/   -  person Anitha    schedule 29.11.2019


Ответы (3)


Попробуйте увеличить время ожидания, установив --k8spodreadytimeout=500000

[1] https://github.com/che-incubator/chectl

person tolusha    schedule 28.11.2019
comment
Пробовал так, но не помогло. - person Anitha; 29.11.2019

После https://github.com/eclipse/che/issues/13871 (который для минишифта)

kubectl delete namespaces che 

chectl server:start --platform minikube

попробуй

person Thilo Käsemann    schedule 29.11.2019
comment
Не могу использовать minikube, потому что его нельзя установить на виртуальную машину. Моя установка находится на ubuntu vm. - person Anitha; 30.11.2019

Надеюсь, вы уже успешно установили Eclipse Che в Kubernetes. Если нет, пожалуйста, свяжитесь со мной. Я помогу.

person Rajasekar    schedule 29.12.2019
comment
Спасибо @Rajsekar за ваше предложение. Я все еще борюсь. Я включил Minikube, и с ним все в порядке. Однако, когда я запускаю, chectl server:start --platform minikube он терпит неудачу с × Start minikube → Timed out Verify if minikube ingress addon is enabled Enable minikube ingress addon Retrieving minikube IP and domain for ingress URLs Error: Command timed out after 180000 milliseconds: minikube start --memory=4096 --cpus=4 --disk-size=50g Timed out - person Anitha; 10.02.2020