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
Copy file name to clipboardExpand all lines: articles/application-gateway/for-containers/alb-controller-backend-health-metrics.md
+15-5Lines changed: 15 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@ author: greglin
6
6
ms.service: application-gateway
7
7
ms.subservice: appgw-for-containers
8
8
ms.topic: article
9
-
ms.date: 07/24/2023
9
+
ms.date: 02/27/2024
10
10
ms.author: greglin
11
11
---
12
12
@@ -15,17 +15,19 @@ ms.author: greglin
15
15
Understanding backend health of your Kubernetes services and pods is crucial in identifying issues and assistance in troubleshooting. To help facilitate visibility into backend health, ALB Controller exposes backend health and metrics endpoints in all ALB Controller deployments.
16
16
17
17
ALB Controller's backend health exposes three different experiences:
18
+
18
19
1. Summarized backend health by Application Gateway for Containers resource
19
20
2. Summarized backend health by Kubernetes service
20
21
3. Detailed backend health for a specified Kubernetes service
21
22
22
23
ALB Controller's metric endpoint exposes both metrics and summary of backend health. This endpoint enables exposure to Prometheus.
23
24
24
25
Access to these endpoints can be reached via the following URLs:
26
+
25
27
- Backend Health - http://\<alb-controller-pod-ip\>:8000/backendHealth
Any clients or pods that have connectivity to this pod and port may access these endpoints. To restrict access, we recommend using [Kubernetes network policies](https://kubernetes.io/docs/concepts/services-networking/network-policies/) to restrict access to certain clients.
31
33
@@ -49,12 +51,14 @@ Example output:
49
51
Once you have the IP address of your alb-controller pod, you may validate the backend health service is running by browsing to http://\<pod-ip\>:8000.
50
52
51
53
For example, the following command may be run:
54
+
52
55
```bash
53
56
curl http://10.1.0.247:8000
54
57
```
55
58
56
59
Example response:
57
-
```
60
+
61
+
```text
58
62
Available paths:
59
63
Path: /backendHealth
60
64
Description: Prints the backend health of the ALB.
@@ -74,11 +78,13 @@ This experience summarizes of all Kubernetes services with references to Applica
74
78
This experience may be accessed by specifying the Application Gateway for Containers resource ID in the query of the request to the alb-controller pod.
75
79
76
80
The following command can be used to probe backend health for the specified Application Gateway for Containers resource.
@@ -115,11 +121,13 @@ This experience searches for the health summary status of a given service.
115
121
This experience may be accessed by specifying the name of the namespace, service, and port number of the service in the following format of the query string to the alb-controller pod: _\<namespace\>/\<service\>/\<service-port-number\>_
116
122
117
123
The following command can be used to probe backend health for the specified Kubernetes service.
| 1.0.0| v1 | v1.26, v1.27, v1.28 | URL redirect for both Gateway and Ingress API, v1beta1 -> v1 of Gateway API, quality improvements<br/>Breaking Changes: TLS Policy for Gateway API [PolicyTargetReference](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io%2fv1alpha2.PolicyTargetReferenceWithSectionName)<br/>Listener is now referred to as [SectionName](https://gateway-api.sigs.k8s.io/reference/spec/#gateway.networking.k8s.io/v1.SectionName)<br/>Fixes: Request timeout of 3 seconds, [HealthCheckPolicy interval](https://github.com/Azure/AKS/issues/4086), [pod crash for missing API fields](https://github.com/Azure/AKS/issues/4087)|
27
31
28
32
## Release history
33
+
34
+
0.6.3 - Hotfix to address handling of AGC frontends during controller restart in managed scenario
35
+
29
36
0.6.2 - Skipped
30
37
31
38
November 6, 2023 - 0.6.1 - Gateway / Ingress API - Header rewrite support, Ingress API - URL rewrite support, Ingress multiple-TLS listener bug fix,
0 commit comments