diff --git a/pkg/quota/evaluator/core/services.go b/pkg/quota/evaluator/core/services.go index 0b60897a1675b..e4249824a15db 100644 --- a/pkg/quota/evaluator/core/services.go +++ b/pkg/quota/evaluator/core/services.go @@ -141,7 +141,9 @@ func (p *serviceEvaluator) Usage(item runtime.Object) (api.ResourceList, error) value := resource.NewQuantity(int64(ports), resource.DecimalSI) result[api.ResourceServicesNodePorts] = *value case api.ServiceTypeLoadBalancer: - // load balancer services need to count load balancers + // load balancer services need to count node ports and load balancers + value := resource.NewQuantity(int64(ports), resource.DecimalSI) + result[api.ResourceServicesNodePorts] = *value result[api.ResourceServicesLoadBalancers] = *(resource.NewQuantity(1, resource.DecimalSI)) } return result, nil