[
https://issues.jboss.org/browse/JBIDE-21626?page=com.atlassian.jira.plugi...
]
Jeff Cantrill commented on JBIDE-21626:
---------------------------------------
Based on my conversations with [~fbricon]. Could probably use confirmation from
[~burrsutter], 'Deploy to Openshift' from our docker explorer (or Openshift plugin
side equivalent) should more or less accomplish 'oc new-app
--docker-image=<repo>/foo/swarm.
w/o image on dockerhub:
https://gist.github.com/jcantrill/98480470a8f5fa2b10d9
w/o image on dockerhub but existing IS:
https://gist.github.com/jcantrill/fef3a2e0757cfbf6d50b
w/ image and existing IS
https://gist.github.com/jcantrill/6137d6ba3b1a73c87bf8
Code needs to be modified to:
* conditionally create an image stream that points to the image if it can access the
image.
* DC points to either the IS (if we are going to create one) or directly to the image.
* service
* Warning message about making the image available to the server if it can't be
found.
Caveat here is this command tries to get info from dockerhub where 'eclipse
new-app' is able to access image info from the docker daemon. Regardless, for any of
this to work, OpenShift will need access to the image which might require the user to tag
and push the image to the OpenShift registry. I don't think there is a good story on
how to do that easily at the moment
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)