This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.2.2.2.4.6. 在不同的项目中创建对象
通常,new-app
会在当前项目中创建对象。但是,您可以使用 -n|--namespace
参数在有权访问的不同项目中创建对象:
oc new-app https://github.com/openshift/ruby-hello-world -n myproject
$ oc new-app https://github.com/openshift/ruby-hello-world -n myproject