Skip to content

Commit 6656297

Browse files
committed
edits
1 parent 3a6af68 commit 6656297

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

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

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Deploy a Java application with Open Liberty/WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster
33
recommendations: false
44
description: Deploy a Java application with Open Liberty/WebSphere Liberty on an Azure Kubernetes Service (AKS) cluster
5-
author: zhengchang907
5+
author: KarlErickson
66
ms.author: zhengchang
77
ms.service: container-service
88
ms.topic: how-to
@@ -66,14 +66,14 @@ If you navigated away from the **Deployment is in progress** page, the following
6666
1. Save aside the values for **Login server**, **Registry name**, **Username**, and **password**. You may use the copy icon at the right of each field to copy the value of that field to the system clipboard.
6767
1. Navigate again to the resource group into which you deployed the resources.
6868
1. In the **Settings** section, select **Deployments**.
69-
1. Select the bottom-most deployment in the list. The **Deployment name** will match the publisher ID of the offer. It will contain the string **ibm**.
69+
1. Select the bottom-most deployment in the list. The **Deployment name** will match the publisher ID of the offer. It will contain the string `ibm`.
7070
1. In the left pane, select **Outputs**.
7171
1. Using the same copy technique as with the preceding values, save aside the values for the following outputs:
7272

73-
* **cmdToConnectToCluster**
74-
* **appDeploymentTemplateYaml**
73+
* `cmdToConnectToCluster`
74+
* `appDeploymentTemplateYaml`
7575

76-
1. Paste the value of **appDeploymentTemplateYaml** into a bash shell, append `| grep secretName` and execute. It will output the Ingress TLS secret name, e.g., `- secretName: secret785e2c`. Save aside the value for **secretName** from the output.
76+
1. Paste the value of `appDeploymentTemplateYaml` into a Bash shell, append `| grep secretName`, and execute. This command will output the Ingress TLS secret name, such as `- secretName: secret785e2c`. Save aside the value for `secretName` from the output.
7777

7878
These values will be used later in this article. Note that several other useful commands are listed in the outputs.
7979

@@ -164,7 +164,7 @@ Use your local ide, or `liberty:run` command to run and test the project locally
164164
cd <path-to-your-repo>/java-app
165165
mvn liberty:run
166166
```
167-
167+
168168
1. Verify the application works as expected. You should see a message similar to `[INFO] [AUDIT] CWWKZ0003I: The application javaee-cafe updated in 1.930 seconds.` in the command output if successful. Go to `http://localhost:9080/` in your browser and verify the application is accessible and all functions are working.
169169

170170
1. Press `Ctrl+C` to stop `liberty:run` mode.
@@ -176,10 +176,10 @@ After successfully running the app in the Liberty Docker container, you can run
176176
```bash
177177
cd <path-to-your-repo>/java-app/target
178178

179-
# If you are running with Open Liberty
179+
# If you're running with Open Liberty
180180
docker build -t javaee-cafe:v1 --pull --file=Dockerfile .
181181

182-
# If you are running with WebSphere Liberty
182+
# If you're running with WebSphere Liberty
183183
docker build -t javaee-cafe:v1 --pull --file=Dockerfile-wlp .
184184
```
185185

@@ -199,7 +199,7 @@ The following steps deploy and test the application.
199199

200200
1. Connect to the AKS cluster.
201201

202-
Paste the value of **cmdToConnectToCluster** into a bash shell and execute.
202+
Paste the value of **cmdToConnectToCluster** into a Bash shell and execute.
203203

204204
1. Apply the DB secret.
205205

@@ -244,7 +244,6 @@ The following steps deploy and test the application.
244244
Copy the value of **ADDRESS** from the output, this is the frontend public IP address of the deployed Azure Application Gateway.
245245

246246
1. Go to `https://<ADDRESS>` to test the application.
247-
248247

249248
## Clean up resources
250249

0 commit comments

Comments
 (0)