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
Consider the following prerequisites for deploying a Web application:
32
-
33
-
- Use the latest version of Azure CLI. If using Azure Cloud Shell, the latest version is already installed.
34
-
- Log into Azure CLI and select a subscription to use with the CLI.
35
-
- Ensure you have [Helm installed](https://helm.sh/docs/intro/install/).
27
+
## Prerequisites
36
28
29
+
Before you get started, make sure you're logged into Azure CLI and have selected a subscription to use with the CLI. Ensure you have [Helm installed](https://helm.sh/docs/intro/install/).
37
30
38
31
> [!NOTE]
39
-
> If running the commands in this tutorial locally (instead of Azure Cloud Shell), ensure you run the commands as administrator.
32
+
> If you're running the commands in this tutorial locally instead of Azure Cloud Shell, run the commands as administrator.
@@ -199,9 +193,9 @@ The server created has the following attributes:
199
193
- The default connectivity method is Private access (virtual network integration) with a linked virtual network and an auto generated subnet.
200
194
201
195
> [!NOTE]
202
-
> The connectivity method cannot be changed after creating the server. For example, if you selected `Private access (VNet Integration)` during createthen you cannot change to `Public access (allowed IP addresses)` after create. We highly recommend creating a server with Private access to securely access your server using VNet Integration. Learn more about Private access in the [concepts article](https://learn.microsoft.com/azure/mysql/flexible-server/concepts-networking-vnet).
196
+
> The connectivity method cannot be changed after creating the server. For example, if you selected `Private access (VNet Integration)` during creation, then you cannot change to `Public access (allowed IP addresses)` after creation. We highly recommend creating a server with Private access to securely access your server using VNet Integration. Learn more about Private access in the [concepts article](concepts-networking-vnet).
203
197
204
-
If you'd like to change any defaults, refer to the Azure CLI [reference documentation](https://learn.microsoft.com/cli/azure//mysql/flexible-server) for the complete list of configurable CLI parameters.
198
+
If you'd like to change any defaults, refer to the Azure CLI [reference documentation](/cli/azure//mysql/flexible-server) for the complete list of configurable CLI parameters.
205
199
206
200
## Check the Azure Database for MySQL - Flexible Server status
You can manage Azure Database for MySQL - Flexible Server configuration using server parameters. The server parameters are configured with the default and recommended value when you create the server.
217
211
218
-
To show details about a particular parameter for a server, run the [az mysql flexible-server parameter show](https://learn.microsoft.com/cli/azure/mysql/flexible-server/parameter) command.
212
+
To show details about a particular parameter for a server, run the [az mysql flexible-server parameter show](/cli/azure/mysql/flexible-server/parameter) command.
219
213
220
214
### Disable Azure Database for MySQL - Flexible Server SSL connection parameter for WordPress integration
221
215
222
-
You can also modify the value of certain server parameters to update the underlying configuration values for the MySQL server engine. To update the server parameter, use the [az mysql flexible-server parameter set](https://learn.microsoft.com/cli/azure/mysql/flexible-server/parameter#az-mysql-flexible-server-parameter-set) command.
216
+
You can also modify the value of certain server parameters to update the underlying configuration values for the MySQL server engine. To update the server parameter, use the [az mysql flexible-server parameter set](/cli/azure/mysql/flexible-server/parameter#az-mysql-flexible-server-parameter-set) command.
223
217
224
218
```bash
225
219
az mysql flexible-server parameter set \
@@ -286,22 +280,22 @@ az aks create \
286
280
To manage a Kubernetes cluster, use [kubectl](https://kubernetes.io/docs/reference/kubectl/overview/), the Kubernetes command-line client. If you use Azure Cloud Shell, `kubectl` is already installed. The following example installs `kubectl` locally using the [az aks install-cli](/cli/azure/aks#az-aks-install-cli) command.
287
281
```bash
288
282
if! [ -x"$(command -v kubectl)" ];then az aks install-cli;fi
289
-
```
283
+
```
290
284
291
285
Next, configure `kubectl` to connect to your Kubernetes cluster using the [az aks get-credentials](/cli/azure/aks#az-aks-get-credentials) command. This command downloads credentials and configures the Kubernetes CLI to use them. The command uses `~/.kube/config`, the default location for the [Kubernetes configuration file](https://kubernetes.io/docs/concepts/configuration/organize-cluster-access-kubeconfig/). You can specify a different location for your Kubernetes configuration file using the **--file** argument.
292
286
293
-
> [!WARNING]
294
-
> This command will overwrite any existing credentials with the same entry.
287
+
> [!WARNING]
288
+
> This command will overwrite any existing credentials with the same entry.
295
289
296
-
```bash
297
-
az aks get-credentials --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_AKS_CLUSTER_NAME --overwrite-existing
298
-
```
290
+
```bash
291
+
az aks get-credentials --resource-group $MY_RESOURCE_GROUP_NAME --name $MY_AKS_CLUSTER_NAME --overwrite-existing
292
+
```
299
293
300
294
To verify the connection to your cluster, use the [kubectl get](https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#get) command to return a list of the cluster nodes.
301
295
302
-
```bash
303
-
kubectl get nodes
304
-
```
296
+
```bash
297
+
kubectl get nodes
298
+
```
305
299
306
300
## Install NGINX ingress controller
307
301
@@ -380,7 +374,7 @@ Cert-manager provides Helm charts as a first-class method of installation on Kub
380
374
cert-manager jetstack/cert-manager
381
375
```
382
376
383
-
4. Apply the certificate issuer YAML file. ClusterIssuers are Kubernetes resources that represent certificate authorities (CAs) that can generate signed certificates by honoring certificate signing requests. All cert-manager certificates require a referenced issuer that is in a ready condition to attempt to honor the request. The issuer we're using can be foundin the `cluster-issuer-prod.yml file`.
377
+
4. Apply the certificate issuer YAML file. ClusterIssuers are Kubernetes resources that represent certificate authorities (CAs) that can generate signed certificates by honoring certificate signing requests. All cert-manager certificates require a referenced issuer that is in a ready condition to attempt to honor the request. You can find the issuer we're in the `cluster-issuer-prod.yml file`.
@@ -389,8 +383,8 @@ Cert-manager provides Helm charts as a first-class method of installation on Kub
389
383
390
384
## Create a custom storage class
391
385
392
-
The default storage classes suit the most common scenarios, but not all. For some cases, you might want to have your own storage class customized with your own parameters. For example, use the following manifest to configure the mountOptions of the file share.
393
-
The default value for fileMode and dirMode is 0755 for Kubernetes mounted file shares. You can specify the different mount options on the storage class object.
386
+
The default storage classes suit the most common scenarios, but not all. For some cases, you might want to have your own storage class customized with your own parameters. For example, use the following manifest to configure the **mountOptions** of the file share.
387
+
The default value for **fileMode** and **dirMode** is **0755** for Kubernetes mounted file shares. You can specify the different mount options on the storage class object.
394
388
395
389
```bash
396
390
kubectl apply -f wp-azurefiles-sc.yaml
@@ -537,4 +531,4 @@ To avoid Azure charges, you should clean up unneeded resources. When you no long
537
531
- Learn how to [access the Kubernetes web dashboard](../../aks/kubernetes-dashboard.md) for your AKS cluster
538
532
- Learn how to [scale your cluster](../../aks/tutorial-kubernetes-scale.md)
539
533
- Learn how to manage your [Azure Database for MySQL flexible server instance](./quickstart-create-server-cli.md)
540
-
- Learn how to [configure server parameters](./how-to-configure-server-parameters-cli.md) for your database server.
534
+
- Learn how to [configure server parameters](./how-to-configure-server-parameters-cli.md) for your database server
0 commit comments