Unable to deploy containers due to missing CPU and Memory reservations in VCFA Region Quota
search cancel

Unable to deploy containers due to missing CPU and Memory reservations in VCFA Region Quota

book

Article ID: 456567

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

  • When deploying container instances or setting up namespace resource allocations, the deployment fails to complete.
  • When attempting to deploy a container, the following error is displayed:
  •  
    This namespace has insufficient resource reservation. Each container instance requires a baseline reservation of 256MB Memory, plus any additional CPU and Memory resources requested for your containers. Please contact your admin to adjust the namespace CPU and Memory reservation and try again.
    
  • When attempting to adjust or allocate memory reservations at the namespace level, another error occurs:

  • Requested memory reservation of 51200MiB exceeds the available 0MiB. Override limits to reduce the requested value or change the namespace class selected.
    

Environment

  • VCF Automation 9.x

Cause

  • This issue occurs when CPU and Memory reservations have not been defined under the parent Region Quota reservations. Even if container instances require baseline reservations, the namespace cannot draw from available resources if the parent Region Quota has 0MiB memory/CPU allocated.

Resolution

To resolve this issue, you must configure and define CPU and Memory reservations at the Region Quota level:

  1. Log in to the VCFA provider as an admin. 

  2. Navigate to the Region Quota settings associated with the affected namespace/region.

  3. Edit the Region Quota configuration.

  4. Assign non-zero CPU and Memory Reservation values under the region quota reservations to ensure sufficient resources are available for downstream namespaces.

  5. Save the configuration changes.

  6. Re-attempt the container deployment or namespace creation/allocation.