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
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,23 +38,24 @@ This article is intended to help you quickly get to deployment. Before going to
38
38
* Install a Java SE implementation, version 17 or later. (for example, [Eclipse Open J9](https://www.eclipse.org/openj9/)).
39
39
* Install [Maven](https://maven.apache.org/download.cgi) 3.5.0 or higher.
40
40
* Install [Docker](https://docs.docker.com/get-docker/) for your OS.
41
-
* 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).
41
+
* Make sure you're 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).
42
42
43
43
## Create a Liberty on AKS deployment using the portal
44
44
45
-
The following steps guide you to create a Liberty runtime on AKS. After completing these steps, you'll have an Azure Container Registry and an Azure Kubernetes Service cluster for the sample application.
45
+
The following steps guide you to create a Liberty runtime on AKS. After completing these steps, you have an Azure Container Registry and an Azure Kubernetes Service cluster for deploying your containerized application.
46
46
47
47
1. Visit the [Azure portal](https://portal.azure.com/). In the search box at the top of the page, type *IBM WebSphere Liberty and Open Liberty on Azure Kubernetes Service*. When the suggestions start appearing, select the one and only match that appears in the **Marketplace** section. If you prefer, you can go directly to the offer with this shortcut link: [https://aka.ms/liberty-aks](https://aka.ms/liberty-aks).
48
48
1. Select **Create**.
49
-
1. In the **Basics** pane, create a new resource group. Because resource groups must be unique within a subscription, pick a unique name. An easy way to have unique names is to use a combination of your initials, today's date, and some identifier. For example, `ejb0913-java-liberty-project-rg`.
50
-
1. Select *East US* as **Region**.
51
-
1. Select **Next: Configure cluster**.
52
-
1. This section allows you to select an existing AKS cluster and Azure Container Registry (ACR), instead of causing the deployment to create a new one, if desired. This capability enables you to use the sidecar pattern, as shown in the [Azure architecture center](/azure/architecture/patterns/sidecar). You can also adjust the settings for the size and number of the virtual machines in the AKS node pool. Leave all other values at the defaults and select **Next: Networking**.
53
-
1. Next to **Connect to Azure Application Gateway?** select **Yes**. This pane lets you customize the following deployment options.
49
+
1. In the **Basics** pane, create a new resource group. Because resource groups must be unique within a subscription, pick a unique name. An easy way to have unique names is to use a combination of your initials, today's date, and some identifier. For example, `ejb0913-java-liberty-project-rg`. Select *East US* as **Region**. Select **Next** to **AKS** pane.
50
+
1. This pane allows you to select an existing AKS cluster and Azure Container Registry (ACR), instead of causing the deployment to create a new one, if desired. This capability enables you to use the sidecar pattern, as shown in the [Azure architecture center](/azure/architecture/patterns/sidecar). You can also adjust the settings for the size and number of the virtual machines in the AKS node pool. Leave all other values at the defaults and select **Next** to **Load balancing** pane.
51
+
1. Next to **Connect to Azure Application Gateway?** select **Yes**. This section lets you customize the following deployment options.
54
52
1. You can customize the virtual network and subnet into which the deployment will place the resources. Leave these values at their defaults.
55
53
1. You can provide the TLS/SSL certificate presented by the Azure Application Gateway. Leave the values at the default to cause the offer to generate a self-signed certificate. Don't go to production using a self-signed certificate. For more information about self-signed certificates, see [Create a self-signed public certificate to authenticate your application](../active-directory/develop/howto-create-self-signed-certificate.md).
56
54
1. You can enable cookie based affinity, also known as sticky sessions. We want sticky sessions enabled for this article, so ensure this option is selected.
57
55

56
+
1. Select **Next** to **Operator and application** pane. This quickstart uses all defaults in this pane. However, it lets you customize the following deployment options.
57
+
1. You can deploy WebSphere Liberty Operator by selecting **Yes** for option **IBM supported?**. Leaving the default **No** deploys Open Liberty Operator.
58
+
1. You can deploy an application for your selected Operator by selecting **Yes** for option **Deploy an application?**. Leaving the default **No** doesn't deploy any application.
58
59
1. Select **Review + create** to validate your selected options.
59
60
1. When you see the message **Validation Passed**, select **Create**. The deployment may take up to 20 minutes.
60
61
@@ -80,6 +81,11 @@ If you navigated away from the **Deployment is in progress** page, the following
80
81
81
82
These values will be used later in this article. Note that several other useful commands are listed in the outputs.
82
83
84
+
> [!NOTE]
85
+
> You may notice a similar output named **appDeploymentYaml**. The difference between output *appDeploymentTemplateYaml* and *appDeploymentYaml* is:
86
+
> **appDeploymentTemplateYaml* is populated if and only if the deployment **does not include** an application.
87
+
> **appDeploymentYaml* is populated if and only if the deployment **does include** an application.
88
+
83
89
## Create an Azure SQL Database
84
90
85
91
The following steps guide you through creating an Azure SQL Database single database for use with your app.
@@ -92,10 +98,6 @@ The following steps guide you through creating an Azure SQL Database single data
92
98
> At the **Networking** step, set **Connectivity method** to **Public endpoint**, **Allow Azure services and resources to access this server** to **Yes**, and **Add current client IP address** to **Yes**.
93
99
>
94
100
> 
95
-
>
96
-
> Also at the **Networking** step, under **Encrypted connections**, set the **Minimum TLS version** to **TLS 1.0**.
97
-
>
98
-
> 
99
101
100
102
Now that the database and AKS cluster have been created, we can proceed to preparing AKS to host your Open Liberty application.
101
103
@@ -112,7 +114,7 @@ There are a few samples in the repository. We'll use *java-app/*. Here's the fil
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.
@@ -123,6 +125,9 @@ java-app
123
125
│ ├─ aks/
124
126
│ │ ├─ db-secret.yaml
125
127
│ │ ├─ openlibertyapplication-agic.yaml
128
+
│ │ ├─ openlibertyapplication.yaml
129
+
│ │ ├─ webspherelibertyapplication-agic.yaml
130
+
│ │ ├─ webspherelibertyapplication.yaml
126
131
│ ├─ docker/
127
132
│ │ ├─ Dockerfile
128
133
│ │ ├─ Dockerfile-wlp
@@ -136,7 +141,9 @@ java-app
136
141
137
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`.
138
143
139
-
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. If desired, you can deploy the application without AGIC using the file *openlibertyapplication.yaml*. 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 or WebSphere Liberty. These files are *Dockerfile* and *Dockerfile-wlp*, respectively. You use the file *Dockerfile* to build the application image with Open Liberty in this quickstart. Similarly, 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).
140
147
141
148
In directory *liberty/config*, the *server.xml* file is used to configure the DB connection for the Open Liberty and WebSphere Liberty cluster.
142
149
@@ -183,11 +190,7 @@ You can now run the `docker build` command to build the image.
Copy file name to clipboardExpand all lines: articles/azure-web-pubsub/howto-enable-geo-replication.md
-6Lines changed: 0 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -197,10 +197,4 @@ To ensure effective failover management, it is recommended to set each replica's
197
197
198
198
For more performance evaluation, refer to [Performance](concept-performance.md).
199
199
200
-
## Breaking issues
201
-
***Using replica and event handler together**
202
-
203
-
If you use the Web PubSub event handler with Web PubSub C# server SDK or an Azure Function that utilizes the Web PubSub extension, you might encounter issues with the abuse protection once replicas are enabled. To address this, you can either **disable the abuse protection** or **upgrade to the latest SDK/extension versions**.
204
-
205
-
For a detailed explanation and potential solutions, please refer to this [issue](https://github.com/Azure/azure-webpubsub/issues/598).
| type | Resource type of input file | 1..1 | A valid [FHIR resource type](https://www.hl7.org/fhir/resourcelist.html) that matches the input file. |
71
71
|URL | Azure storage url of input file | 1..1 | URL value of the input file that can't be modified. |
72
-
| etag | Etag of the input file on Azure storage used to verify the file content hasn't changed. | 0..1 | Etag value of the input file that can't be modified. |
72
+
| etag | Etag of the input file on Azure storage; used to verify the file content has not changed after $import registration. | 0..1 | Etag value of the input file. |
0 commit comments