Skip to content

Commit 5737813

Browse files
paigecalvertmikhailswift
authored andcommitted
minor formatting edit
1 parent bde5b07 commit 5737813

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

docs/vendor/testing-ingress.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,18 @@ If you have a single service or pod and are not worried about complex routing, t
1818
The basic steps are to connect the port-forward, execute your tests against localhost, and then shut down the port-forward.
1919

2020
### LoadBalancer
21-
If your application is only running on cloud services (EKS, GKE, AKS) you can create a service of type `LoadBalancer`.
21+
If your application is only running on cloud services (EKS, GKE, AKS), you can create a service of type `LoadBalancer`.
2222
This will provision the cloud-provider specific load balancer.
2323
The `LoadBalancer` service will be filled by the in-tree Kubernetes functionality that's integrated with the underlying cloud provider.
2424
You can then query the service definition using `kubectl` and connect to and execute your tests over the `LoadBalancer` IP address.
2525

26-
:::note
27-
AKS clusters require additional annotations to be set on LoadBalancer services for traffic to be routed. `controller.service.externalTrafficPolicy` should be set to `Local`, and `service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path` must be set to a health check endpoint that returns a successful HTTP response when your service is ready. See the [AKS documentation](https://learn.microsoft.com/en-us/azure/aks/load-balancer-standard) for more details and values for these annotations.
28-
:::
26+
:::note
27+
AKS clusters require the following additional annotations to be set on LoadBalancer services for traffic to be routed:
28+
* `controller.service.externalTrafficPolicy` must be set to `Local`
29+
* `service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path` must be set to a health check endpoint that returns a successful HTTP response when your service is ready
30+
31+
For more information about these annotations, see the [Use a public standard load balancer in Azure Kubernetes Service (AKS)](https://learn.microsoft.com/en-us/azure/aks/load-balancer-standard) in the Azure documentation.
32+
:::
2933

3034
### Ingress
3135
Ingress is a good way to recreate customer-representative environments, but the problem still remains on how to get inbound access to the IP address that the ingress controller allocates.

0 commit comments

Comments
 (0)