Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-9546

Enable Cluster - Level Override of Devfile Resource Requests and Limits in CheCluster

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

        • What is the nature and description of the request ?*

      This feature request proposes an enhancement to Red Hat Dev Spaces that allows Dev Spaces administrators to configure the CheCluster to ignore resource requests and limits specified in devfiles. Instead, the cluster should enforce standardized resource values for all workspaces at the cluster level. Currently, resource specifications in devfiles are provided by the DevWorkspace operator, which leads to inconsistent and excessive resource allocation. We attempted to enforce standardized values using external policies (e.g., Kyverno) but failed, likely due to the DevWorkspace operator overriding these policies. ** 

        • Why does the customer need this? (List the business requirements here)*
      • Prevent Workspace Failures: Users are experiencing workspace startup failures due to resource scheduling conflicts.
      • Optimize Cluster Resource Utilization: Excessive resource requests lead to underutilized nodes and unnecessary autoscaling.
      • Cost Efficiency: Avoiding unnecessary node scaling helps reduce infrastructure costs
        • How would the customer like to achieve this? (List the functional requirements here)*

      Functional Requirement :
      CheCluster should provide a configuration option to override devfile-specified resource requests/limits.

       

        • For each functional requirement listed in question above, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.*

      For testing deploy a workspace with a devfile specifying high resource requests(eg, memoryRequest: 5Gi) and verify that the workspace starts with the standardized resource values defined at the CheCluster level, not the devfile.

              dakwon@redhat.com David Kwon
              rhn-support-dtambat Darshan Tambat
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: