来自图像的openshift new-app用不正确的端口创建服务
我正在使用openshift oc new-app从图像创建应用程序。
但是,OC New-App仅使用一个TCP端口而错误地创建关联的OpenShift服务,而不是两个端口。
是否有任何简单的方法可以强制OpenShift new-App在从图像构建时使用两个正确的端口正确创建服务,而不是仅使用一个端口错误地创建服务?
另外,是否还有命令行将额外的端口添加到可以脚本脚本的服务中的额外端口(我知道OC编辑)。 (免责声明..我是OpenShift的新手,还有很多要学习的)
I am using openshift oc new-app to create a app from a image.
However oc new-app is creating the associated openshift service incorrectly with only one tcp port, not the two ports than the application uses.
Is there any simple way to force openshift new-app to correctly create the service with the two correct ports when building from a image rather than incorrectly with only one port ?
Alternatively is there a command line way to add the extra port to the service created that can be scripted (I know about oc edit) ..
(Disclaimer.. I am new to openshift and have lots to learn)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论