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
Once the kubectl command is listening, open another terminal (or cloud shell session) and execute curl to 127.0.0.1 to be redirected to the pod.
54
55
55
56
```bash
56
-
curl http://10.1.0.247:8000
57
+
curl http://127.0.0.1:8000
57
58
```
58
59
60
+
# [Access backend health via controller pod directly](#tab/backend-health-direct-access)
61
+
62
+
Run the following kubectl command to identify the IP address of the primary ALB Controller pod. You may return a list of all controller pods or run a single command to obtain the IP address per your preference.
63
+
64
+
```bash
65
+
kubectl get pod <alb controller pod name from previous step> -n azure-alb-system -o jsonpath="{.status.podIP}"
66
+
```
67
+
68
+
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.
69
+
70
+
```bash
71
+
curl http://<your-pod-ip>:8000
72
+
```
73
+
74
+
---
75
+
59
76
Example response:
60
77
61
78
```text
@@ -188,9 +205,9 @@ Example output:
188
205
189
206
## Metrics
190
207
191
-
ALB Controller currently surfaces metrics following [text based format](https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format) to be exposed to Prometheus.
208
+
ALB Controller currently surfaces metrics following [text based format](https://prometheus.io/docs/instrumenting/exposition_formats/#text-based-format) to be exposed to Prometheus. Access to these logs may be found at http://<alb-controller-pod-ip>:8001/metrics
192
209
193
-
The following Application Gateway for Containers specific metrics are currently available today:
0 commit comments