Controlling resource consumption using ResourceQuotas