Skip to content

Commit 1d56c33

Browse files
committed
Updates from build
1 parent e4dd45f commit 1d56c33

File tree

1 file changed

+21
-27
lines changed

1 file changed

+21
-27
lines changed

articles/mysql/flexible-server/tutorial-deploy-wordpress-on-aks.md

Lines changed: 21 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -24,19 +24,12 @@ In this tutorial, you deploy a scalable and secure WordPress application on an A
2424
2525
[!INCLUDE [flexible-server-free-trial-note](../includes/flexible-server-free-trial-note.md)]
2626

27-
[!INCLUDE [azure-cli-prepare-your-environment.md](~/articles/reusable-content/azure-cli/azure-cli-prepare-your-environment.md)]
28-
29-
##Prerequisites
30-
31-
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
3628

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/).
3730

3831
> [!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.
4033
4134
## Define Environment Variables
4235

@@ -63,6 +56,7 @@ export MY_MYSQL_HOSTNAME="$MY_MYSQL_DB_NAME.mysql.database.azure.com"
6356
export MY_WP_ADMIN_PW="$(openssl rand -base64 32)"
6457
export MY_WP_ADMIN_USER="wpcliadmin"
6558
export FQDN="${MY_DNS_LABEL}.${REGION}.cloudapp.azure.com"
59+
```
6660

6761
## Create a resource group
6862

@@ -199,9 +193,9 @@ The server created has the following attributes:
199193
- The default connectivity method is Private access (virtual network integration) with a linked virtual network and an auto generated subnet.
200194

201195
> [!NOTE]
202-
> The connectivity method cannot be changed after creating the server. For example, if you selected `Private access (VNet Integration)` during create then 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).
203197
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.
205199

206200
## Check the Azure Database for MySQL - Flexible Server status
207201

@@ -215,11 +209,11 @@ runtime="10 minute"; endtime=$(date -ud "$runtime" +%s); while [[ $(date -u +%s)
215209

216210
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.
217211

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.
219213

220214
### Disable Azure Database for MySQL - Flexible Server SSL connection parameter for WordPress integration
221215

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.
223217

224218
```bash
225219
az mysql flexible-server parameter set \
@@ -286,22 +280,22 @@ az aks create \
286280
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.
287281
```bash
288282
if ! [ -x "$(command -v kubectl)" ]; then az aks install-cli; fi
289-
```
283+
```
290284

291285
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.
292286

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.
295289
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+
```
299293

300294
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.
301295

302-
```bash
303-
kubectl get nodes
304-
```
296+
```bash
297+
kubectl get nodes
298+
```
305299

306300
## Install NGINX ingress controller
307301

@@ -380,7 +374,7 @@ Cert-manager provides Helm charts as a first-class method of installation on Kub
380374
cert-manager jetstack/cert-manager
381375
```
382376

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 found in 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`.
384378
385379
```bash
386380
cluster_issuer_variables=$(<cluster-issuer-prod.yaml)
@@ -389,8 +383,8 @@ Cert-manager provides Helm charts as a first-class method of installation on Kub
389383
390384
## Create a custom storage class
391385
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.
394388
395389
```bash
396390
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
537531
- Learn how to [access the Kubernetes web dashboard](../../aks/kubernetes-dashboard.md) for your AKS cluster
538532
- Learn how to [scale your cluster](../../aks/tutorial-kubernetes-scale.md)
539533
- 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

Comments
 (0)