-
Notifications
You must be signed in to change notification settings - Fork 164
CONSOLE-5288: Add OpenShift Quickstart for JBoss EAP 8 #932
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
jmesnil
wants to merge
1
commit into
openshift:main
Choose a base branch
from
jmesnil:ODC-7555_quickstart_jboss_eap8
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+215
−0
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,215 @@ | ||
| apiVersion: console.openshift.io/v1 | ||
| kind: ConsoleQuickStart | ||
| metadata: | ||
| name: jboss-eap81-with-helm | ||
| annotations: | ||
| include.release.openshift.io/hypershift: 'true' | ||
| include.release.openshift.io/ibm-cloud-managed: 'true' | ||
| include.release.openshift.io/self-managed-high-availability: 'true' | ||
| include.release.openshift.io/single-node-developer: 'true' | ||
| capability.openshift.io/name: Console | ||
| spec: | ||
| description: 'Deploy a JBoss EAP 8.1 application using a Helm Chart.' | ||
| displayName: Get started with JBoss EAP 8.1 using a Helm Chart | ||
| durationMinutes: 10 | ||
| icon: >- | ||
| data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAxMDAgMTAwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2Q3MWUwMDt9LmNscy0ye2ZpbGw6I2MyMWEwMDt9LmNscy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uMzUsNDguODdsLTQsMy42OEw2My44LDYzLjQ5YTE3LjYsMTcuNiwwLDAsMCwxOC4xNSwzLjIzbDEuNTEtLjU1QTIuNTQsMi41NCwwLDAsMCw4My42NSw2MS40OFoiLz48cGF0aCBjbGFzcz0iY2xzLTYiIGQ9Ik01My41OCw0MS4xN2EzLjcsMy43LDAsMCwxLDUuMjEtLjJsLjA4LjA4aDBsLjU5LS41OWgwYTMuNDEsMy40MSwwLDAsMC00LjI5LTIuOTNjLTIsLjM4LTMuMDcsMi42OC0yLDQuMTFaIi8+PC9nPjwvc3ZnPg== | ||
| introduction: |- | ||
| [Red Hat® JBoss® Enterprise Application Platform (EAP)](https://www.redhat.com/en/technologies/jboss-middleware/application-platform) is an application server. It includes everything needed to build, run, deploy, and manage enterprise Java applications in a variety of environments, including on-premise, virtual environments, and in private, public, and hybrid clouds. | ||
|
|
||
| * **Optimized for OpenShift, Cloud and Containers** | ||
|
|
||
| * **Jakarta EE 10 compatibility** | ||
|
|
||
| * **Lightweight, flexible architecture** | ||
|
|
||
| * **Red Hat Portfolio Integration** | ||
|
|
||
| * **More productive developers with DevOps and Agile Development** | ||
|
|
||
| With this quick start, you can deploy and run a [Jakarta EE application](https://github.com/jboss-eap-up-and-running/eap81-getting-started) with JBoss EAP 8.1 on OpenShift. | ||
|
|
||
| **Note:** The quick start uses a sample [Jakarta EE application](https://github.com/jboss-eap-up-and-running/eap81-getting-started). You can deploy your own Jakarta EE 10 application using the same steps. | ||
| The quick start has instructions where changes would be needed (Task 1). | ||
|
|
||
| tasks: | ||
| - description: >- | ||
| To create a JBoss EAP 8.1 application: | ||
|
|
||
| 1. If present, click on the [perspective switcher]{{highlight qs-perspective-switcher}} and select **Core platform**. | ||
|
|
||
| 1. In the main navigation menu, select [Ecosystem]{{highlight qs-nav-ecosystem}} and select **Software Catalog**. | ||
|
|
||
| 1. In the **Software Catalog** page, click **Helm Charts** in the **Type** filter. | ||
|
|
||
| 1. In the **Helm Charts** catalog, search for **JBoss EAP 8.1**. | ||
|
|
||
| 1. Click the **JBoss EAP 8.1** Helm chart card. | ||
|
|
||
| - The side panel displays information about the JBoss EAP 8.1 Helm chart. | ||
|
|
||
| 1. Click **Create**. | ||
|
|
||
| - Some form sections are collapsed by default. Click **>** to expand and view its content. | ||
| **Note:** No updates are required to these sections to proceed. | ||
|
|
||
| - The details about the [Jakarta EE application](https://github.com/jboss-eap-up-and-running/eap81-getting-started) that you are building and deploying are specified in the `build.uri` field: | ||
|
|
||
| ``` | ||
| build: | ||
| uri: https://github.com/jboss-eap-up-and-running/eap81-getting-started | ||
| ``` | ||
|
|
||
| **Note:** If you are building a different application, you must change this `uri` field to point to the Git repository of that application. | ||
|
|
||
| 1. Click **Create** to create the JBoss EAP 8.1 application using the Helm Chart. | ||
|
|
||
| - The console switches to the [Topology]{{highlight qs-nav-topology}} view and displays a pane with the Helm release notes. | ||
| After you read the notes, you can close the pane. | ||
| review: | ||
| failedTaskHelp: This task isn’t verified yet. Try the task again. | ||
| instructions: |- | ||
| The Helm release is represented by a dashed box that contains the JBoss EAP icon and **eap81** text. This content is placed outside the dashed box. | ||
|
|
||
| The deployment is indicated by a circle inside the dashed box with text **D eap81**. | ||
|
|
||
| Verify the application was successfully created: | ||
|
|
||
| - Do you see an **eap81** Helm Release? | ||
|
|
||
| - Do you see an **eap81** deployment? | ||
|
|
||
| summary: | ||
| failed: Try the steps again. | ||
| success: Your JBoss EAP 8.1 application has been deployed onto OpenShift. | ||
| title: Create a JBoss EAP 8.1 application with Helm | ||
| - description: >- | ||
| To view the Helm release: | ||
|
|
||
| 1. In the main navigation menu, select [Ecosystem]{{highlight qs-nav-ecosystem}} and select [Helm]{{highlight qs-nav-helm}}. | ||
|
|
||
| 1. Click **eap81** Helm release. | ||
| The **Helm Release details** page opens. It shows all the information related to the Helm release that you installed. | ||
|
|
||
| - Click the **Resources** tab. It lists all the resources created by this Helm release. | ||
| review: | ||
| failedTaskHelp: This task isn’t verified yet. Try the task again. | ||
| instructions: >- | ||
| Verify you see the Helm release: | ||
|
|
||
| - Do you see a **Deployed** label next to the Helm Release **eap81**? | ||
| summary: | ||
| failed: Try the steps again. | ||
| success: Your Helm release for JBoss EAP 8.1 is deployed. | ||
| title: View the Helm release | ||
| - description: >- | ||
| To view the associated code: | ||
|
|
||
| 1. In the main navigation menu, select [Workloads]{{highlight qs-nav-workloads}} and select **Topology**. | ||
| In the Topology view, the **eap81** deployment displays a code icon in the bottom right-hand corner. This icon either represents the Git repository | ||
| of the associated code, or if the appropriate operators are installed, it will bring up the associated code in your IDE. | ||
|
|
||
| 1. If the icon shown is CodeReady Workspaces or Eclipse Che, clicking the icon opens the associated code in your IDE. | ||
|
|
||
| 1. If the icon represents a Git repository, clicking the icon opens the associated Git repository. | ||
| review: | ||
| failedTaskHelp: >- | ||
| This task isn’t verified yet. Try the task again. | ||
| instructions: >- | ||
| Verify that you can see the code associated with your application: | ||
|
|
||
| - Did the Git repository or your IDE open in a separate browser window? | ||
| summary: | ||
| failed: Try the steps again. | ||
| success: You viewed the code associated with the **eap81** deployment. | ||
| title: View the associated code | ||
| - description: >- | ||
| To view the build status of the JBoss EAP 8.1 application: | ||
|
|
||
| 1. In the main navigation menu, select [Workloads]{{highlight qs-nav-workloads}} and select **Topology**. | ||
|
|
||
| 1. In the Topology view, click **D eap81**. | ||
| A side panel opens with detailed information about the application. | ||
|
|
||
| 1. In the side panel, click the **Resources** tab. | ||
| The **Builds** section shows all the details related to builds of the application. | ||
|
|
||
| The JBoss EAP 8 application is built in two steps: | ||
|
|
||
| - The first build configuration **eap81-build-artifacts** compiles and packages the Jakarta EE application, and creates a JBoss EAP server. | ||
| The application is run on this JBoss EAP server. | ||
|
|
||
| The build may take a few minutes to complete. The build state is indicated by a relevant message such as **Pending**, **Running**, and **Complete**. | ||
|
|
||
| When the build is complete, a checkmark and the following message is displayed: **Build #1 was complete**. | ||
|
|
||
| When the first build is complete, the second build starts. | ||
|
|
||
| - The second build configuration **eap81** puts the Jakarta EE deployment and the JBoss EAP server in a runtime image that contains only what is required to run the application. | ||
|
|
||
| When the second build is complete, a checkmark and the following message are displayed: **Build #2 was complete**. | ||
| review: | ||
| failedTaskHelp: This task isn't verified yet. Try the task again. | ||
| instructions: >- | ||
| The two builds for **eap81-build-artifacts** and **eap81** may take a few minutes to complete. | ||
|
|
||
| Verify the builds are complete: | ||
|
|
||
| - The message **Build #1 was complete** is displayed for the **eap81-build-artifacts** build configuration. Did this message appear? | ||
|
|
||
| - The message **Build #2 was complete** is displayed for the **eap81** build configuration. Did this message appear? | ||
| summary: | ||
| failed: Try the steps again. | ||
| success: Your build is complete. | ||
| title: View the Build status | ||
| - description: >- | ||
| To view the pod status: | ||
|
|
||
| 1. In the main navigation menu, select [Workloads]{{highlight qs-nav-workloads}} and select **Topology**. | ||
|
|
||
| 1. In the **Topology** view, click **D eap81**. | ||
| A side panel opens with detailed information about the application. | ||
|
|
||
| 1. In the **Details** tab, the pod status is available in a tooltip by hovering over the pod. | ||
|
|
||
| - Inside the pod circle, it displays the number of pods. | ||
| - The color of the pod circle indicates the pod status: | ||
| Light blue = **Pending**, Blue = **Not Ready**, Dark blue = **Running** | ||
|
|
||
| **Note:** In the **Topology** view, the dark outer circle indicates the pod status. | ||
| review: | ||
| failedTaskHelp: >- | ||
| This task isn’t verified yet. Try the task again. | ||
| instructions: |- | ||
| Verify you see the pod status: | ||
|
|
||
| - Does the text inside the pod circle display **1 Pod**? | ||
|
|
||
| - When you hover over the pod circle, does it display **1 Running**? | ||
|
|
||
| summary: | ||
| failed: Try the steps again. | ||
| success: Your deployment has one running pod. | ||
| title: View the Pod status | ||
| - description: >- | ||
|
|
||
| To view the JBoss EAP application: | ||
|
|
||
| 1. In the **Topology** view, click the external link icon in the top right-hand corner to open the URL and run the application in a separate browser window. | ||
| review: | ||
| failedTaskHelp: This task isn't verified yet. Try the task again. | ||
| instructions: >- | ||
| Verify your JBoss EAP 8.1 application is running: | ||
|
|
||
| - Did **JBoss EAP 8.1 on Red Hat OpenShift** open in a separate browser window? | ||
| summary: | ||
| failed: Try the steps again. | ||
| success: Your JBoss EAP 8.1 application is running. | ||
| title: Run the JBoss EAP 8.1 application | ||
| conclusion: >- | ||
| Your JBoss EAP 8.1 application is deployed and ready. | ||
|
|
||
| ## Resources: | ||
|
|
||
| - Learn more about [JBoss EAP](https://access.redhat.com/products/red-hat-jboss-enterprise-application-platform/). | ||
| - Read detailed [JBoss EAP 8.1 documentation](https://docs.redhat.com/en/documentation/red_hat_jboss_enterprise_application_platform/8.1) | ||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.