无法在OpenShift上创建Nginx应用程序

时间:2019-12-06 17:33:02

标签: openshift


我正在尝试将nginx应用程序添加到我的Openshift 4.1项目中。 ImageStream在openshift命名空间中可用:

image-registry.openshift-image-registry.svc:5000/openshift/nginx

当我使用以下方法创建应用程序时:

oc new-app nginx

创建的Pod位于CrashLoopBackOff中。从日志中,我可以阅读:

This is a S2I rhel base image: To use it, install S2I: https://github.com/openshift/source-to-image Sample invocation: s2i build https://github.com/sclorg/nginx-container.git --context-dir=1.12/test/test-app/ rhscl/nginx-112-rhel7 nginx-sample-app You can then run the resulting image via: docker run -p 8080:8080 nginx-sample-app

我不清楚。我不能使用“ oc-new app”创建应用程序吗?还是想念任何环境变量? 谢谢

0 个答案:

没有答案