Skip to content

Commit bde5b07

Browse files
committed
chore: add blurb about additional AKS annotations required for loadbalancers to work
1 parent e5eb8eb commit bde5b07

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/vendor/testing-ingress.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@ 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+
:::
29+
2630
### Ingress
2731
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.
2832
Ingress is also not perfectly portable; each ingress controller might require different annotations in the ingress resource to work properly.
@@ -32,4 +36,4 @@ CMX supports ingress controllers that are running as a `NodePort` service.
3236
### CMX Tunnels
3337
All VM-based CMX clusters support tunneling traffic into a `NodePort` service.
3438
When this option is used, Replicated is responsible for creating the DNS record and TLS certs.
35-
Replicated will route traffic from `:443` and/or `:80` into the `NodePort` service you defined. For more information about using tunnels, see [Expose Ports Using Tunnels](testing-vm-networking).
39+
Replicated will route traffic from `:443` and/or `:80` into the `NodePort` service you defined. For more information about using tunnels, see [Expose Ports Using Tunnels](testing-vm-networking).

0 commit comments

Comments
 (0)