Я пытаюсь развернуть образ Ubuntu из здесь в OpenShift Online. (Следующее поколение). Это шаги, которые я выполнил при этом
$ oc new-project test
$ oc new-app jedisct1/phusion-baseimage-latest
I then deployed from the WebConsole
Однако я получаю неудачное развертывание и статус ошибки «изображение отключено» на странице модуля. Что-то конкретное, что я могу делать неправильно?
Ниже приведены логи всего процесса.
root@home:~# oc new-project test
Now using project "test" on server "https://api.preview.openshift.com:443".
You can add applications to this project with the 'new-app' command. For example, try:
$ oc new-app centos/ruby-22-centos7~https://github.com/openshift/ruby-hello-world.git
to build a new hello-world application in Ruby.
root@home:~# oc new-app jedisct1/phusion-baseimage-latest
--> Found Docker image 7ff0885 (14 hours old) from Docker Hub for "jedisct1/phusion-baseimage-latest"
* An image stream will be created as "phusion-baseimage-latest:latest" that will track this image
* This image will be deployed in deployment config "phusion-baseimage-latest"
* The image does not expose any ports - if you want to load balance or send traffic to this component
you will need to create a service with 'expose dc/phusion-baseimage-latest --port=[port]' later
* WARNING: Image "phusion-baseimage-latest" runs as the 'root' user which may not be permitted by your cluster administrator
--> Creating resources with label app=phusion-baseimage-latest ...
imagestream "phusion-baseimage-latest" created
deploymentconfig "phusion-baseimage-latest" created
--> Success
Run 'oc status' to view your app.
root@home:~# oc status
In project test on server https://api.preview.openshift.com:443
dc/phusion-baseimage-latest deploys istag/phusion-baseimage-latest:latest
deployment #1 pending on image or update
1 warning identified, use 'oc status -v' to see details.
root@home:~# oc status -v
In project test on server https://api.preview.openshift.com:443
dc/phusion-baseimage-latest deploys istag/phusion-baseimage-latest:latest
deployment #1 pending on image or update
Warnings:
* dc/phusion-baseimage-latest has no readiness probe to verify pods are ready to accept traffic or ensure deployment is successful.
try: oc set probe dc/phusion-baseimage-latest --readiness ...
View details with 'oc describe <resource>/<name>' or list everything with 'oc get all'.
root@home:~# oc status -v
In project test on server https://api.preview.openshift.com:443
dc/phusion-baseimage-latest deploys istag/phusion-baseimage-latest:latest
deployment #2 running for 2 minutes - 1 pod