Skip to content

Commit ba5d554

Browse files
Merge pull request #245945 from edburns/edburns-msft-ibm-383-direct-reader-to-use-tag
On branch edburns-msft-ibm-383-direct-reader-to-use-tag
2 parents 606756a + 1b16cb2 commit ba5d554

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

articles/aks/howto-deploy-java-liberty-app.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ This article uses the Azure Marketplace offer for Open/WebSphere Liberty to acce
3333
3434
* If running the commands in this guide locally (instead of Azure Cloud Shell):
3535
* Prepare a local machine with Unix-like operating system installed (for example, Ubuntu, Azure Linux, macOS, Windows Subsystem for Linux).
36-
* Install a Java SE implementation (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
36+
* Install a Java SE implementation, version 17 or later. (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
3737
* Install [Maven](https://maven.apache.org/download.cgi) 3.5.0 or higher.
3838
* Install [Docker](https://docs.docker.com/get-docker/) for your OS.
3939
* Make sure you've been assigned either the `Owner` role or the `Contributor` and `User Access Administrator` roles in the subscription. You can verify it by following steps in [List role assignments for a user or group](../role-based-access-control/role-assignments-list-portal.md#list-role-assignments-for-a-user-or-group).
@@ -107,6 +107,14 @@ Clone the sample code for this guide. The sample is on [GitHub](https://github.c
107107

108108
There are a few samples in the repository. We'll use *java-app/*. Here's the file structure of the application.
109109

110+
```azurecli-interactive
111+
git clone https://github.com/Azure-Samples/open-liberty-on-aks.git
112+
cd open-liberty-on-aks
113+
git checkout 20230723
114+
```
115+
116+
If you see a message about being in "detached HEAD" state, this message is safe to ignore. It just means you have checked out a tag.
117+
110118
```
111119
java-app
112120
├─ src/main/
@@ -128,7 +136,7 @@ The directories *java*, *resources*, and *webapp* contain the source code of the
128136

129137
In the *aks* directory, we placed three deployment files. *db-secret.xml* is used to create [Kubernetes Secrets](https://kubernetes.io/docs/concepts/configuration/secret/) with DB connection credentials. The file *openlibertyapplication-agic.yaml* is used to deploy the application image. In the *docker* directory, there are two files to create the application image with either Open Liberty or WebSphere Liberty.
130138

131-
In directory *liberty/config*, the *server.xml* FILE is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
139+
In directory *liberty/config*, the *server.xml* file is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
132140

133141
### Build the project
134142

0 commit comments

Comments
 (0)