[
https://issues.jboss.org/browse/JBIDE-21626?page=com.atlassian.jira.plugi...
]
Marián Labuda commented on JBIDE-21626:
---------------------------------------
EXEC: Create a new projects 'project01' and 'project02'
ASSERT: Projects are empty, there are no OpenShift resources.
Scenario 1 - how oc works:
EXEC: From terminal run 'oc login' and login to the OpenShift instance.
EXEC: Fill in same credentials where 'project02' is created.
EXEC: Switch to project 'project02'.
EXEC: Run 'oc new-app openshift/hello-openshift'
RESULT: There are created a service, an image stream for docker image and a pod where the
image is running.
You could also expose a service to get routing and show application in browser by running
'oc expose service hello-openshift', now you got also routing as you would have in
tooling by checking the checkbox to create a route.
Scenario 2 - how OpenShift tooling works:
EXEC: On project 'project01' open context menu Deploy Docker Image... and search
for image 'openshift/hello-openshift' and click next.
EXEC: Proceed through wizard and check checkbox to create a route for it and finish
wizard.
RESULT: There is a service, a route and an image stream for docker image hello-openshift,
but there is no pod for docker image.
EXPECTED RESULT: There is a service, a route and an image stream for docker image
hello-openshift and also running pod. It is accessible via Show in browser and show
'Hello OpenShift!'
Pod is not created when docker image is deployed to OpenShift
-------------------------------------------------------------
Key: JBIDE-21626
URL:
https://issues.jboss.org/browse/JBIDE-21626
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.3.1.CR1
Reporter: Marián Labuda
Assignee: Jeff Cantrill
Priority: Critical
Labels: openshift_v3
Fix For: 4.3.1.CR1
When deploying a docker image to OpenShift via oc binary, pod where the image is supposed
to run is created, together with service and router. But when deploying a docker image to
OpenShift via OpenShift tools, no pod is created, only service and router. When using cli,
pod is created later (what I noticed, there is different pull policy between creating from
cli with "oc new-app docker-image" and creating from IDE).
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)