An Azure service that delivers high availability and network performance to applications.
Hi Azim Sobitov,
BadRequest) Failed to find metric configuration for provider: Microsoft.Network, resource Type: loadBalancers, metric: VipAvailability, Valid metrics: DipAvailability,ByteCount,PacketCount,SYNCount,SnatConnectionCount,AllocatedSnatPorts,UsedSnatPorts Your AKS cluster uses an internal Standard Load Balancer (named
kubernetes-internal) that is managed by AKS, not created manually. For AKS-managed load balancers with thenodeIPbackend pool type, VIP Availability is not an available metric.
When we queried the supported metrics for your load balancer, Azure returned:
- DipAvailability
- ByteCount
- PacketCount
- SYNCount
- SnatConnectionCount
- AllocatedSnatPorts
- UsedSnatPorts
VIP Availability is not in this list, which is why the alert creation fails both in the Portal and via Bicep/CLI. This is a platform limitation, not a configuration error or bug.
You can monitor your AKS load balancer’s health using these supported metrics:
- DipAvailability – Monitors backend node availability based on health probes. Alert if it drops below 90%. This is the closest alternative to VIP Availability for your internal AKS load balancer.
- ByteCount and PacketCount – Track traffic volume. Use these to monitor for sudden drops or anomalies.
- SYNCount – Shows new TCP connections received. Good for detecting connection spikes.
- SnatConnectionCount – Tracks outbound SNAT connections. Useful for monitoring outbound capacity.
- UsedSnatPorts and AllocatedSnatPorts – Show SNAT port utilization. Alert if usage exceeds 80%.
For availability monitoring, DipAvailability is the best replacement for VIP Availability in your case.
- Create an alert using DipAvailability less than 90% instead of VIP Availability.
- This will effectively monitor backend node health through the load balancer.
- If you need VIP-level monitoring in the future, consider using a public load balancer with manually configured frontend IPs and health probes (not AKS-managed).
Update:
As discussed, offline, the issue was intermittent and has now been automatically resolved. You are currently able to create the alert rule with the Data Path Availability metric in the Australia East region.
If you face the same issue again in the future, please feel free to contact us through private message or offline, as previously communicated.
Kindly let us know if the above helps or you need further assistance on this issue.
Please do not forget to
and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.