diff --git a/ecs/convert.go b/ecs/convert.go index 865ffff25..84e51e258 100644 --- a/ecs/convert.go +++ b/ecs/convert.go @@ -389,6 +389,9 @@ func getConfiguredLimits(service types.ServiceConfig) (types.UnitBytes, int64, e } limits := service.Deploy.Resources.Limits + if limits == nil { + limits = service.Deploy.Resources.Reservations + } if limits == nil { return 0, 0, nil }