Compute Requirements

Resource TierExpected RPSCPUMemoryMin. NodesDiskBlob Storage
small202 vCPU8GB260GB*50GB*
medium20012 vCPU48GB3280GB*200GB*
large50024 vCPU64GB3600GB*500GB*

(*) The disk and blob storage are used to store the request logs and metrics. The size of the disk and blob storage are dependent on the size and number of requests and should be set as per the expected usage.

Prerequisites for Installation

  1. Egress access to auth.truefoundry.com and analytics.truefoundry.com
  2. Domain to map the ingress of the frontend and gateway
  3. Tenant, Licence key, and image pull secret from TrueFoundry team

Installation Instructions

  1. Create a values file as given below and replace relevant values:
    global:
      # Ask TrueFoundry team to provide these
      tenantName: <TENANT_NAME>
      tfyApiKey: <LICENCE_KEY>
      # Pass the secret name containing the tfy api key. Use the key 'TFY_API_KEY' for the key name
      # existingTruefoundryCredsSecret: ""
      truefoundryImagePullConfigJSON: <TRUEFOUNDRY_IMAGE_PULL_SECRET>
      # If you are using an existing image pull secret, set the name here
      # existingTruefoundryImagePullSecretName: ""
      
      # Domain to map the platform to
      controlPlaneURL: https://example.com
      resourceTier: small # or medium or large
    
    truefoundryFrontendApp:
      # Choose the service mesh: we support both istio and k8s ingress, enable as per your setting
      # Replace `example.com` with your Domain
      istio:
        virtualservice:
          hosts:
            - example.com
          enabled: false
          gateways:
            - istio-system/tfy-wildcard
      ingress:
        hosts:
          - example.com
        enabled: false
        annotations: {}
        ingressClassName: nginx
    tags:
      llmGateway: true
      llmGatewayRequestLogging: true
    # Enable if you want to use devMode
    devMode:
      enabled: false
    # Disable few depenencies for only LLM Gateway setup
    tfyBuild:
      enabled: false
    tfyController:
      enabled: false
    mlfoundryServer:
      enabled: false
    tfy-buildkitd-service:
      enabled: false
    
  2. Add helm repo
    helm repo add truefoundry https://truefoundry.github.io/infra-charts
    helm repo update truefoundry
    
  3. Install the helm chart with your values file
    helm upgrade --install truefoundry truefoundry/truefoundry -n truefoundry --create-namespace -f truefoundry-values.yaml