Skip to content

Fix invalid GPU resource value in values.yaml #136

Closed

Description

@wgalanciak

Description

During deployment of the intel Helm chart with ai.enabled: true, the installation fails due to an invalid value provided under resources.requests.gpu and resources.limits.gpu. The value false does not match the expected format for Kubernetes quantity strings.

Error:

Deployment in version "v1" cannot be handled as a Deployment: quantities must match the regular expression '^([+-]?[0-9.]+)([eEinumkKMGTP]*[-+]?[0-9]*)$'

Root Cause
The field gpu: false was incorrectly defined. Kubernetes expects quantity-style values (e.g., "1"), not booleans.

Fix
Update the values.yaml file to either:

Remove the gpu fields entirely if GPU is not required.

Or set valid quantity strings for GPU if needed, e.g., gpu: "1".

Example:

ai:
  enabled: true
  mode: "bundled"
  image:
    repository: hub.edge.codetogether.com/releases/codetogether-llm
    tag: latest
  resources:
    requests:
      cpu: "2"
      memory: "4Gi"
      # gpu: "1"   # Uncomment and set only if GPU is needed
    limits:
      cpu: "4"
      memory: "4Gi"
      # gpu: "1"

Next Steps

  • Validate that the Helm chart does not expect a gpu key unless explicitly supported.

Activity

  1. added this to the NEXT milestone on Jun 30, 2025
  2. added theissue type on Jun 30, 2025
  3. added
    area: helm
    on Jun 30, 2025
  4. modified the milestones: NEXT, AFTER on Jun 30, 2025
  5. DavidRS13 commented on Jul 1, 2025

    @DavidRS13

    GPU was removed, it is not needed to add graphics to the LLM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: helm

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions