Unable to modify Namespace resource limits via the VCF Automation 9.0 User Interface
search cancel

Unable to modify Namespace resource limits via the VCF Automation 9.0 User Interface

book

Article ID: 449837

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

  • Tenants are unable to increase or modify resource limits (such as memoryLimitMiB and cpuReservationMHz) for a specific namespace directly within the VCF Automation (VCFA) User Interface.

  • The UI options required to edit existing namespace limits are missing or non-functional in the VCFA 9.0 dashboard.

  • Changes made at the vSphere/Supervisor level do not automatically synchronize or override the limits defined within VCFA.

  • Workloads may experience resource starvation or deployment hangs (e.g., MachineHealthCheck failures) if the namespace reaches its predefined limit.

Environment

VCF Automation 9.0.x

vSphere Supervisor Cluster 9.0.x

Cause

The functionality to edit namespace resource limits directly through the VCF Automation User Interface was officially introduced in VCF Automation 9.1. In version 9.0, the front-end UI components necessary to expose and modify the resourceAllocation settings for an existing namespace are not present.

Resolution

Fix: Upgrade to VCF Automation 9.1, which includes native UI support for editing namespace limits.

Workaround: To modify namespace limits in VCF Automation 9.0, you must use the Cloud API.

Prerequisites:

  • Access to the VCF Automation API host.
  • Take a backup of the VCF Automation instance following these steps.
  • Take a backup of the vCenter Server.
  • Valid provider credentials to obtain a session token.

Procedure: Below APIs can be run using Postman or the Swagger API 

  1. Obtain a provider session token:

    POST https://<api_host>/cloudapi/1.0.0/sessions/provider
  2. Retrieve namespace summaries to locate the target URN:

    GET https://<api_host>/cloudapi/vcf/namespaceSummaries
  3. Retrieve specific namespace details using the URN:

    GET https://<api_host>/cloudapi/vcf/namespaces/<namespaceUrn>
  4. Update the namespace limits: Modify the resourceAllocation section of the JSON payload and send a PUT request to the namespace URN.

    Request:

    PUT https://<api_host>/cloudapi/vcf/namespaces/<namespaceUrn>

    Example Payload:

    "resourceAllocation": {
        "memoryLimitMiB": <NEW_VALUE>,
        "memoryReservationMiB": 0,
        "cpuLimitMHz": <NEW_VALUE>,
        "cpuReservationMHz": <NEW_VALUE>,
        "vmClassReservations": []
    }

Additional Information

Edit Namespace Settings in VCF Automation 9.1

VCF API Guide