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
+6-5Lines changed: 6 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -125,6 +125,9 @@ java-app
125
125
│ ├─ aks/
126
126
│ │ ├─ db-secret.yaml
127
127
│ │ ├─ openlibertyapplication-agic.yaml
128
+
│ │ ├─ openlibertyapplication.yaml
129
+
│ │ ├─ webspherelibertyapplication-agic.yaml
130
+
│ │ ├─ webspherelibertyapplication.yaml
128
131
│ ├─ docker/
129
132
│ │ ├─ Dockerfile
130
133
│ │ ├─ Dockerfile-wlp
@@ -138,7 +141,9 @@ java-app
138
141
139
142
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`.
140
143
141
-
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.
144
+
In the *aks* directory, there are five 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 in this quickstart to deploy the Open Liberty Application with AGIC. You can try to deploy the application without AGIC using the file *openlibertyapplication.yaml*. Besides, use the file *webspherelibertyapplication-agic.yaml* or *webspherelibertyapplication.yaml* to deploy the WebSphere Liberty Application with or without AGIC if you deployed WebSphere Liberty Operator in section [Create a Liberty on AKS deployment using the portal](#create-a-liberty-on-aks-deployment-using-the-portal).
145
+
146
+
In the *docker* directory, there are two files to create the application image with either Open Liberty (*Dockerfile*) or WebSphere Liberty (*Dockerfile-wlp*). You use the file *Dockerfile* to build the application image with Open Liberty in this quickstart. Similarily, use the file *Dockerfile-wlp* to build the application image with WebSphere Liberty if you deployed WebSphere Liberty Operator in section [Create a Liberty on AKS deployment using the portal](#create-a-liberty-on-aks-deployment-using-the-portal).
142
147
143
148
In directory *liberty/config*, the *server.xml* file is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
144
149
@@ -185,11 +190,7 @@ You can now run the `docker build` command to build the image.
0 commit comments