]
Eduardo Martins moved JBEAP-20720 to WFLY-14228:
------------------------------------------------
Project: WildFly (was: JBoss Enterprise Application Platform)
Key: WFLY-14228 (was: JBEAP-20720)
Workflow: GIT Pull Request workflow (was: CDW with loose statuses v1)
Component/s: Quickstarts
(was: OpenShift)
xp-2.0.0.GA-CR1 documentation within the quickstarts refer XP1
images/templates instead of XP2
----------------------------------------------------------------------------------------------
Key: WFLY-14228
URL:
https://issues.redhat.com/browse/WFLY-14228
Project: WildFly
Issue Type: Bug
Components: Quickstarts
Reporter: Eduardo Martins
Assignee: Eduardo Martins
Priority: Blocker
There is an issue with the current
[
https://code.engineering.redhat.com/gerrit/gitweb?p=jboss-eap/quickstarts...]
release, all documentation within the quickstarts refer XP1 images/templates instead of
XP2.
[
attributes.adoc|https://code.engineering.redhat.com/gerrit/gitweb?p=jboss...]
{noformat}
:ImagePrefixVersion: eap-xp1
:ImageandTemplateImportURL:
https://raw.githubusercontent.com/jboss-container-images/jboss-eap-opensh...
{noformat}
[
xp-deploy-project.adoc|https://code.engineering.redhat.com/gerrit/gitweb?...]
{noformat}
$ oc new-app --template={ImagePrefixVersion}-basic-s2i {backslash}
-p EAP_IMAGE_NAME=jboss-eap-xp1-openjdk8-openshift:1.0 {backslash}
-p EAP_RUNTIME_IMAGE_NAME=jboss-eap-xp1-openjdk8-runtime-openshift:1.0 {backslash}
...
{noformat}
[
xp-import-imagestreams-templates.adoc|https://code.engineering.redhat.com...]
{noformat}
oc replace --force -f {ImageandTemplateImportURL}jboss-eap-xp1-openjdk8-openshift.json
----
+
This command imports the following imagestreams and templates:
* The JDK 8 builder imagestream: jboss-eap-xp1-openjdk8-openshift
* The JDK 8 runtime imagestream: jboss-eap-xp1-openjdk8-runtime-openshift
...
{noformat}
These are the least important, but since we have an variable for ImagePrefixVersion, we
could use it also here
[
xp-post-deployment-tasks.adoc|https://code.engineering.redhat.com/gerrit/...]
{noformat}
- terminal - you can get the name of your running pod with `oc get pods` (it will be
something \
like `eap-xp1-basic-app-1-vpfdn`) and by executing `oc rsh {pod-name}` (oc rsh
eap-xp1-basic-app-1-vpfdn) \
- UI - In the Openshift console navigate to the `Topology` tab and click your
application
(`eap-xp1-basic-app`). Open the `Resources` tab and click the pod name under the `Pods`
tab
(it will be something like `eap-xp1-basic-app-1-vpfdn`). Now just click the `Terminal`
tab and
you will get a terminal into the pod.
{noformat}