You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/aks/howto-deploy-java-liberty-app.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,9 @@ If you navigated away from the **Deployment is in progress** page, the following
71
71
1. Using the same copy technique as with the preceding values, save aside the values for the following outputs:
72
72
73
73
***cmdToConnectToCluster**
74
-
74
+
***appDeploymentTemplateYaml**
75
+
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.
75
77
76
78
These values will be used later in this article. Note that several other useful commands are listed in the outputs.
77
79
@@ -109,7 +111,7 @@ java-app
109
111
├─ src/main/
110
112
│ ├─ aks/
111
113
│ │ ├─ db-secret.yaml
112
-
│ │ ├─ openlibertyapplication.yaml
114
+
│ │ ├─ openlibertyapplication-agic.yaml
113
115
│ ├─ docker/
114
116
│ │ ├─ Dockerfile
115
117
│ │ ├─ Dockerfile-local
@@ -125,7 +127,7 @@ java-app
125
127
126
128
The directories *java*, *resources*, and *webapp* contain the source code of the sample application. The code declares and uses a data source named `jdbc/JavaEECafeDB`.
127
129
128
-
In the *aks* directory, we placed two 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.yaml* is used to deploy the application image.
130
+
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.
129
131
130
132
In directory *liberty/config*, the *server.xml* FILE is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
0 commit comments