Skip to content

Commit 6dbfab6

Browse files
committed
acrolinx fixes
1 parent 133eeae commit 6dbfab6

8 files changed

+61
-61
lines changed

articles/application-gateway/for-containers/how-to-backend-mtls-gateway-api.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ See the following figure:
2828

2929
## Prerequisites
3030

31-
1. If following the BYO deployment strategy, ensure you have set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md)
32-
2. If following the ALB managed deployment strategy, ensure you have provisioned your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provisioned the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
33-
3. Deploy sample HTTP application
31+
1. If following the BYO deployment strategy, ensure you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md).
32+
2. If following the ALB managed deployment strategy, ensure you provision your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provision the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
33+
3. Deploy sample HTTP application:
3434

3535
Apply the following deployment.yaml file on your cluster to create a sample web application and deploy sample secrets to demonstrate backend mutual authentication (mTLS).
3636

@@ -40,17 +40,17 @@ See the following figure:
4040

4141
This command creates the following on your cluster:
4242

43-
- a namespace called `test-infra`
44-
- one service called `mtls-app` in the `test-infra` namespace
45-
- one deployment called `mtls-app` in the `test-infra` namespace
46-
- one config map called `mtls-app-nginx-cm` in the `test-infra` namespace
47-
- four secrets called `backend.com`, `frontend.com`, `gateway-client-cert`, and `ca.bundle` in the `test-infra` namespace
43+
- A namespace called `test-infra`
44+
- One service called `mtls-app` in the `test-infra` namespace
45+
- One deployment called `mtls-app` in the `test-infra` namespace
46+
- One config map called `mtls-app-nginx-cm` in the `test-infra` namespace
47+
- Four secrets called `backend.com`, `frontend.com`, `gateway-client-cert`, and `ca.bundle` in the `test-infra` namespace
4848

4949
## Deploy the required Gateway API resources
5050

5151
# [ALB managed deployment](#tab/alb-managed)
5252

53-
Create a gateway:
53+
Create a gateway
5454

5555
```bash
5656
kubectl apply -f - <<EOF
@@ -129,13 +129,13 @@ EOF
129129
130130
---
131131
132-
Once the gateway resource has been created, ensure the status is valid, the listener is _Programmed_, and an address is assigned to the gateway.
132+
Once the gateway resource is created, ensure the status is valid, the listener is _Programmed_, and an address is assigned to the gateway.
133133
134134
```bash
135135
kubectl get gateway gateway-01 -n test-infra -o yaml
136136
```
137137
138-
Example output of successful gateway creation.
138+
Example output of successful gateway creation:
139139
140140
```yaml
141141
status:
@@ -182,7 +182,7 @@ status:
182182
kind: HTTPRoute
183183
```
184184
185-
Once the gateway has been created, create an HTTPRoute resource.
185+
Once the gateway is created, create an HTTPRoute resource.
186186
187187
```bash
188188
kubectl apply -f - <<EOF
@@ -201,13 +201,13 @@ spec:
201201
EOF
202202
```
203203

204-
Once the HTTPRoute resource has been created, ensure the route has been _Accepted_ and the Application Gateway for Containers resource has been _Programmed_.
204+
Once the HTTPRoute resource is created, ensure the route is _Accepted_ and the Application Gateway for Containers resource is _Programmed_.
205205

206206
```bash
207207
kubectl get httproute https-route -n test-infra -o yaml
208208
```
209209

210-
Verify the status of the Application Gateway for Containers resource has been successfully updated.
210+
Verify the status of the Application Gateway for Containers resource is successfully updated.
211211

212212
```yaml
213213
status:
@@ -271,13 +271,13 @@ spec:
271271
EOF
272272
```
273273

274-
Once the BackendTLSPolicy object has been created check the status on the object to ensure that the policy is valid.
274+
Once the BackendTLSPolicy object is created, check the status on the object to ensure that the policy is valid:
275275

276276
```bash
277277
kubectl get backendtlspolicy -n test-infra mtls-app-tls-policy -o yaml
278278
```
279279

280-
Example output of valid BackendTLSPolicy object creation.
280+
Example output of valid BackendTLSPolicy object creation:
281281

282282
```yaml
283283
status:
@@ -292,7 +292,7 @@ status:
292292

293293
## Test access to the application
294294

295-
Now we're ready to send some traffic to our sample application, via the FQDN assigned to the frontend. Use the following command to get the FQDN.
295+
Now we're ready to send some traffic to our sample application, via the FQDN assigned to the frontend. Use the following command to get the FQDN:
296296
297297
```bash
298298
fqdn=$(kubectl get gateway gateway-01 -n test-infra -o jsonpath='{.status.addresses[0].value}')

articles/application-gateway/for-containers/how-to-multiple-site-hosting-gateway-api.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Multiple site hosting with Application Gateway for Containers - Gateway API
2+
title: Multi-site hosting with Application Gateway for Containers - Gateway API
33
description: Learn how to host multiple sites with Application Gateway for Containers using the Gateway API.
44
services: application-gateway
55
author: greglin
@@ -10,7 +10,7 @@ ms.date: 02/27/2024
1010
ms.author: greglin
1111
---
1212

13-
# Multiple site hosting with Application Gateway for Containers - Gateway API
13+
# Multi-site hosting with Application Gateway for Containers - Gateway API
1414

1515
This document helps you set up an example application that uses the resources from Gateway API to demonstrate hosting multiple sites on the same Kubernetes Gateway resource / Application Gateway for Containers frontend. Steps are provided to:
1616

@@ -25,9 +25,9 @@ Application Gateway for Containers enables multi-site hosting by allowing you to
2525

2626
## Prerequisites
2727

28-
1. If you follow the BYO deployment strategy, ensure you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md)
28+
1. If you follow the BYO deployment strategy, ensure you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md).
2929
2. If you follow the ALB managed deployment strategy, ensure provisioning of your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
30-
3. Deploy sample HTTP application
30+
3. Deploy sample HTTP application:<br>
3131
Apply the following deployment.yaml file on your cluster to create a sample web application to demonstrate path, query, and header based routing.
3232

3333
```bash
@@ -36,9 +36,9 @@ Application Gateway for Containers enables multi-site hosting by allowing you to
3636

3737
This command creates the following on your cluster:
3838

39-
- a namespace called `test-infra`
40-
- two services called `backend-v1` and `backend-v2` in the `test-infra` namespace
41-
- two deployments called `backend-v1` and `backend-v2` in the `test-infra` namespace
39+
- A namespace called `test-infra`
40+
- Two services called `backend-v1` and `backend-v2` in the `test-infra` namespace
41+
- Two deployments called `backend-v1` and `backend-v2` in the `test-infra` namespace
4242

4343
## Deploy the required Gateway API resources
4444

articles/application-gateway/for-containers/how-to-multiple-site-hosting-ingress-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Application Gateway for Containers enables multi-site hosting by allowing you to
2424

2525
## Prerequisites
2626

27-
1. If you follow the BYO deployment strategy, ensure that you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md)
27+
1. If you use the BYO deployment strategy, ensure that you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md).
2828
2. If you follow the ALB managed deployment strategy, ensure provisioning of your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
29-
3. Deploy sample HTTP application
29+
3. Deploy sample HTTP application:<br>
3030
Apply the following deployment.yaml file on your cluster to create a sample web application to demonstrate path, query, and header based routing.
3131

3232
```bash
@@ -35,9 +35,9 @@ Application Gateway for Containers enables multi-site hosting by allowing you to
3535

3636
This command creates the following on your cluster:
3737

38-
- a namespace called `test-infra`
39-
- two services called `backend-v1` and `backend-v2` in the `test-infra` namespace
40-
- two deployments called `backend-v1` and `backend-v2` in the `test-infra` namespace
38+
- A namespace called `test-infra`
39+
- Two services called `backend-v1` and `backend-v2` in the `test-infra` namespace
40+
- Two deployments called `backend-v1` and `backend-v2` in the `test-infra` namespace
4141

4242
## Deploy the required Ingress resource
4343

articles/application-gateway/for-containers/how-to-traffic-splitting-gateway-api.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ Application Gateway for Containers enables you to set weights and shift traffic
2424

2525
## Prerequisites
2626

27-
1. If following the BYO deployment strategy, ensure you have set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md)
27+
1. If following the BYO deployment strategy, ensure you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md).
2828
2. If following the ALB managed deployment strategy, ensure you have provisioned your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provisioned the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
29-
3. Deploy sample HTTP application
29+
3. Deploy sample HTTP application:<br>
3030
Apply the following deployment.yaml file on your cluster to create a sample web application to demonstrate traffic splitting / weighted round robin support.
3131

3232
```bash
@@ -35,9 +35,9 @@ Application Gateway for Containers enables you to set weights and shift traffic
3535

3636
This command creates the following on your cluster:
3737

38-
- a namespace called `test-infra`
39-
- two services called `backend-v1` and `backend-v2` in the `test-infra` namespace
40-
- two deployments called `backend-v1` and `backend-v2` in the `test-infra` namespace
38+
- A namespace called `test-infra`
39+
- Two services called `backend-v1` and `backend-v2` in the `test-infra` namespace
40+
- Two deployments called `backend-v1` and `backend-v2` in the `test-infra` namespace
4141

4242
## Deploy the required Gateway API resources
4343

@@ -109,7 +109,7 @@ EOF
109109
110110
---
111111
112-
Once the gateway resource has been created, ensure the status is valid, the listener is _Programmed_, and an address is assigned to the gateway.
112+
Once the gateway resource is created, ensure the status is valid, the listener is _Programmed_, and an address is assigned to the gateway.
113113
114114
```bash
115115
kubectl get gateway gateway-01 -n test-infra -o yaml
@@ -162,7 +162,7 @@ status:
162162
kind: HTTPRoute
163163
```
164164
165-
Once the gateway has been created, create an HTTPRoute
165+
Once the gateway is created, create an HTTPRoute
166166
167167
```bash
168168
kubectl apply -f - <<EOF
@@ -185,7 +185,7 @@ spec:
185185
EOF
186186
```
187187

188-
Once the HTTPRoute resource has been created, ensure the route has been _Accepted_ and the Application Gateway for Containers resource has been _Programmed_.
188+
Once the HTTPRoute resource is created, ensure the route is _Accepted_ and the Application Gateway for Containers resource is _Programmed_.
189189

190190
```bash
191191
kubectl get httproute traffic-split-route -n test-infra -o yaml
@@ -225,7 +225,7 @@ status:
225225

226226
## Test Access to the Application
227227

228-
Now we're ready to send some traffic to our sample application, via the FQDN assigned to the frontend. Use the command below to get the FQDN.
228+
Now we're ready to send some traffic to our sample application, via the FQDN assigned to the frontend. Use the following command to get the FQDN:
229229
230230
```bash
231231
fqdn=$(kubectl get gateway gateway-01 -n test-infra -o jsonpath='{.status.addresses[0].value}')

articles/application-gateway/for-containers/how-to-url-redirect-gateway-api.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ URL redirects take advantage of the [RequestRedirect rule filter](https://gatewa
2222

2323
A redirect sets the response status code returned to clients to understand the purpose of the redirect. The following types of redirection are supported:
2424

25-
- 301 (Moved permanently): Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource uses one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
25+
- 301 (Moved permanently): Indicates that the target resource is assigned a new permanent URI. Future references to this resource use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
2626
- 302 (Found): Indicates that the target resource is temporarily under a different URI. Since the redirection can change on occasion, the client should continue to use the effective request URI for future requests.
2727

2828
## Redirection capabilities
@@ -32,18 +32,18 @@ A redirect sets the response status code returned to clients to understand the p
3232
- Hostname redirection matches the fully qualified domain name (fqdn) of the request. This is commonly observed in redirecting an old domain name to a new domain name; such as `contoso.com` to `fabrikam.com`.
3333

3434
- Path redirection has two different variants: `prefix` and `full`.
35-
- `Prefix` redirection type will redirect all requests starting with a defined value. For example, a prefix of /shop would match /shop and any text after. For example, /shop, /shop/checkout, and /shop/item-a would all redirect to /shop as well.
36-
- `Full` redirection type matches an exact value. For example, /shop could redirect to /store, but /shop/checkout wouldn't redirect to /store.
35+
- `Prefix` redirection type will redirect all requests starting with a defined value. For example: a prefix of /shop would match /shop and any text after. For example, /shop, /shop/checkout, and /shop/item-a would all redirect to /shop as well.
36+
- `Full` redirection type matches an exact value. For example: /shop could redirect to /store, but /shop/checkout wouldn't redirect to /store.
3737

3838
The following figure illustrates an example of a request destined for _contoso.com/summer-promotion_ being redirected to _contoso.com/shop/category/5_. In addition, a second request initiated to contoso.com via http protocol is returned a redirect to initiate a new connection to its https variant.
3939

4040
[![A diagram showing the Application Gateway for Containers returning a redirect URL to a client.](./media/how-to-url-redirect-gateway-api/url-redirect.png)](./media/how-to-url-redirect-gateway-api/url-redirect.png#lightbox)
4141

4242
## Prerequisites
4343

44-
1. If following the BYO deployment strategy, ensure you have set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md)
45-
2. If following the ALB managed deployment strategy, ensure you have provisioned your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provisioned the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
46-
3. Deploy sample HTTP application
44+
1. If following the BYO deployment strategy, ensure you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md).
45+
2. If following the ALB managed deployment strategy, ensure you provision your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provision the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
46+
3. Deploy sample HTTP application:
4747

4848
Apply the following deployment.yaml file on your cluster to deploy a sample TLS certificate to demonstrate redirect capabilities.
4949

articles/application-gateway/for-containers/how-to-url-redirect-ingress-api.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ URL redirects take advantage of the [RequestRedirect rule filter](https://gatewa
2222

2323
A redirect sets the response status code returned to clients to understand the purpose of the redirect. The following types of redirection are supported:
2424

25-
- 301 (Moved permanently): Indicates that the target resource has been assigned a new permanent URI. Any future references to this resource use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
25+
- 301 (Moved permanently): Indicates that the target resource is assigned a new permanent URI. Any future references to this resource use one of the enclosed URIs. Use 301 status code for HTTP to HTTPS redirection.
2626
- 302 (Found): Indicates that the target resource is temporarily under a different URI. Since the redirection can change on occasion, the client should continue to use the effective request URI for future requests.
2727

2828
## Redirection capabilities
@@ -32,7 +32,7 @@ A redirect sets the response status code returned to clients to understand the p
3232
- Hostname redirection matches the fully qualified domain name (fqdn) of the request. This is commonly observed in redirecting an old domain name to a new domain name; such as `contoso.com` to `fabrikam.com`.
3333

3434
- Path redirection has two different variants: `prefix` and `full`.
35-
- `Prefix` redirection type will redirect all requests starting with a defined value. For example, a prefix of /shop would match /shop and any text after. For example, /shop, /shop/checkout, and /shop/item-a would all redirect to /shop as well.
35+
- `Prefix` redirection type will redirect all requests starting with a defined value. For example, a prefix of /shop would match /shop and any text after. For example, /shop, /shop/checkout, and /shop/item-a would all redirect to /shop as well.
3636
- `Full` redirection type matches an exact value. For example, /shop could redirect to /store, but /shop/checkout wouldn't redirect to /store.
3737

3838
The following figure illustrates an example of a request destined for _contoso.com/summer-promotion_ being redirected to _contoso.com/shop/category/5_. In addition, a second request initiated to contoso.com via http protocol is returned a redirect to initiate a new connection to its https variant.
@@ -41,9 +41,9 @@ The following figure illustrates an example of a request destined for _contoso.c
4141

4242
## Prerequisites
4343

44-
1. If following the BYO deployment strategy, ensure you have set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md)
45-
2. If following the ALB managed deployment strategy, ensure you have provisioned your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provisioned the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
46-
3. Deploy sample HTTP application
44+
1. If following the BYO deployment strategy, ensure you set up your Application Gateway for Containers resources and [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md).
45+
2. If following the ALB managed deployment strategy, ensure you provision your [ALB Controller](quickstart-deploy-application-gateway-for-containers-alb-controller.md) and provision the Application Gateway for Containers resources via the [ApplicationLoadBalancer custom resource](quickstart-create-application-gateway-for-containers-managed-by-alb-controller.md).
46+
3. Deploy sample HTTP application:
4747

4848
Apply the following deployment.yaml file on your cluster to deploy a sample TLS certificate to demonstrate redirect capabilities.
4949

0 commit comments

Comments
 (0)