Ошибка: не удается автоматически найти реестр, куда помещать изображения - Kamel Kubernetes - PullRequest
0 голосов
/ 12 июня 2019

Я установил простые Kubernetes с конфигурацией одного главного кластера.После сохранения бинарного файла kamel в «/ usr / local / bin» я смог запустить команды kamel.Я сделал "kamel install --cluster-setup", и настройка в порядке.Затем, когда я пытался запустить команду «kamel install», я получаю следующую ошибку:

root@camelk:~# kamel install
Error: cannot find automatically a registry where to push images
Usage:
  kamel install [flags]

Flags:
      --base-image string          Set the base image used to run integrations
      --build-strategy string      Set the build strategy
      --build-timeout string       Set how long the build process can last
      --camel-version string       Set the camel version
      --cluster-setup              Execute cluster-wide operations only (may require admin rights)
      --context strings            Add a camel context to build at startup, by default all known contexts are built
      --example                    Install example integration
  -h, --help                       help for install
      --local-repository string    Location of the local maven repository
      --maven-repository strings   Add a maven repository
      --maven-settings string      Configure the source of the maven settings (configmap|secret:name[/key])
      --operator-image string      Set the operator image used for the operator deployment
      --organization string        A organization on the Docker registry that can be used to publish images
  -o, --output string              Output format. One of: json|yaml
  -p, --property strings           Add a camel property
      --registry string            A Docker registry that can be used to publish images
      --registry-insecure          Configure to configure registry access in insecure mode or not
      --registry-secret string     A secret used to push/pull images to the Docker registry
      --runtime-version string     Set the camel-k runtime version
      --skip-cluster-setup         Skip the cluster-setup phase
      --skip-operator-setup        Do not install the operator in the namespace (in case there's a global one)
  -w, --wait                       Waits for the platform to be running

Global Flags:
      --config string      Path to the config file to use for CLI requests
  -n, --namespace string   Namespace to use for all operations

Error: cannot find automatically a registry where to push images

Не могли бы вы помочь мне здесь?Я пропустил какие-либо конфигурации?Мне нужна помощь.Большое спасибо за ваше время.

1 Ответ

0 голосов
/ 14 июня 2019

Вам нужно установить реестр контейнеров, в котором kamel может тянуть / выдвигать изображения

Например

kamel install --registry=https://index.docker.io/v1/
Добро пожаловать на сайт PullRequest, где вы можете задавать вопросы и получать ответы от других членов сообщества.
...