diff --git a/pkg/infrastructure/azure/network.go b/pkg/infrastructure/azure/network.go index 6036a87c76..d7aed2a883 100644 --- a/pkg/infrastructure/azure/network.go +++ b/pkg/infrastructure/azure/network.go @@ -137,7 +137,7 @@ func createAPILoadBalancer(ctx context.Context, pip *armnetwork.PublicIPAddress, Protocol: to.Ptr(armnetwork.ProbeProtocolHTTPS), Port: to.Ptr[int32](6443), IntervalInSeconds: to.Ptr[int32](5), - NumberOfProbes: to.Ptr[int32](2), + ProbeThreshold: to.Ptr[int32](2), RequestPath: to.Ptr("/readyz"), }, }, @@ -225,7 +225,7 @@ func updateOutboundLoadBalancerToAPILoadBalancer(ctx context.Context, pip *armne Protocol: to.Ptr(armnetwork.ProbeProtocolHTTPS), Port: to.Ptr[int32](6443), IntervalInSeconds: to.Ptr[int32](5), - NumberOfProbes: to.Ptr[int32](2), + ProbeThreshold: to.Ptr[int32](2), RequestPath: to.Ptr("/readyz"), }, }, @@ -284,7 +284,7 @@ func updateInternalLoadBalancer(ctx context.Context, in *lbInput) (*armnetwork.L Protocol: to.Ptr(armnetwork.ProbeProtocolHTTPS), Port: to.Ptr[int32](22623), IntervalInSeconds: to.Ptr[int32](5), - NumberOfProbes: to.Ptr[int32](2), + ProbeThreshold: to.Ptr[int32](2), RequestPath: to.Ptr("/healthz"), }, }