Bug 1836833
| Summary: | oc new-app should generate deployment by default | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Maciej Szulik <maszulik> |
| Component: | oc | Assignee: | Maciej Szulik <maszulik> |
| Status: | CLOSED ERRATA | QA Contact: | zhou ying <yinzhou> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 4.5 | CC: | aos-bugs, jokerman, mfojtik |
| Target Milestone: | --- | ||
| Target Release: | 4.5.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-07-13 17:39:36 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Maciej Szulik
2020-05-18 09:43:01 UTC
[root@dhcp-140-138 ~]# oc version -o yaml
clientVersion:
buildDate: "2020-05-20T14:05:53Z"
compiler: gc
gitCommit: 24c1ae62f7811d6ecea8a6b14996ffaad8d2ffbf
gitTreeState: clean
gitVersion: 4.5.0-202005201357-24c1ae6
goVersion: go1.13.4
major: ""
minor: ""
platform: linux/amd64
openshiftVersion: 4.5.0-0.nightly-2020-05-21-135919
serverVersion:
buildDate: "2020-05-21T06:49:03Z"
compiler: gc[root@dhcp-140-138 ~]# oc new-app openshift/hello-openshift
--> Found container image 7af3297 (2 years old) from Docker Hub for "openshift/hello-openshift"
* An image stream tag will be created as "hello-openshift:latest" that will track this image
--> Creating resources ...
imagestream.image.openshift.io "hello-openshift" created
deployment.apps "hello-openshift" created
service "hello-openshift" created
--> Success
Application is not exposed. You can expose services to the outside world by executing one or more of the commands below:
'oc expose svc/hello-openshift'
Run 'oc status' to view your app.
gitCommit: d543523
gitTreeState: clean
gitVersion: v1.18.2
goVersion: go1.13.4
major: "1"
minor: 18+
platform: linux/amd64
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2409 |