Skip to main content
This guide walks you through the basic steps to set up SambaStack on-prem, including authentication, namespace creation, secrets configuration, and Helm deployment.

SambaStack on-prem architecture

Diagram of SambaStack on-premises deployment architecture The diagram shows five connection flows: Inference requests
  1. Users and developers send requests through a Load Balancer to the Datacenter Network
  2. The Datacenter Network routes traffic to the SambaRack Cluster over a 100G/400G front-end network
  3. The front-end network delivers requests to the Core Services Rack and the SambaRack SN40L-16 units, which run inference
Administration
  • Administrators reach the cluster over two separate networks: the front-end network for cluster operations, and a dedicated 1Gbps management network for out-of-band hardware access
  • The SMS node and the SambaRack SN40L-16 units both also connect to the management network
Supporting infrastructure
  • Storage and three customer-managed services – AUTH (OIDC), DNS, and NTP – connect into the Datacenter Network
Model and software delivery
  • The SambaNova artifact repository (hosted on GCP) delivers checkpoints and software updates directly to the CP nodes – this bypasses the Datacenter Network entirely, it’s a separate, direct path
Internal cluster communication
  • SambaRack SN40L-16 units communicate with each other over a dedicated SambaRack Cluster Private network

Prerequisites

This section outlines the prerequisites for deploying SambaStack and guides you through obtaining the necessary credentials and configurations.
SambaNova collects hardware prerequisites (such as load balancer configuration) and OS configuration requirements (such as NTP servers) through the SambaNova site survey. Contact your SambaNova representative for details.
SambaRack SN40L-16 systems may be deployed with either 12TB or 4TB of DDR memory, and mixed-memory clusters are supported when the cluster is configured to use the lower memory limit across all nodes. All newly shipped SN40L-16 hardware is configured with 4TB of DDR memory, while existing 12TB systems can continue operating at their full capacity when deployed in uniform clusters. SambaNova-provided bundles are validated for 4TB systems, and SambaStack also supports cluster-level memory limit enforcement to ensure bundle configurations stay within the declared node capacity.
  1. This guide assumes you have a kubernetes cluster already in place.
  2. You must provide two TLS certificates and DNS names for the API and UI endpoints:
    • api.<your-domain> – certificate and private key
    • ui.<your-domain> – certificate and private key
  3. You must provide certificates as either:
    • Two individual certificates (one for each hostname), or
    • A single wildcard certificate (e.g., *.example.com) covering both
    Self-signed certificates are not supported for production environments
    Certificates must be issued by a trusted Certificate Authority (CA) such as Let’s Encrypt, DigiCert, or your organization’s internal CA
  4. Ensure the following tools are installed/present:
    RequirementSpecification
    Kubernetes versionv1.30+ (recommended)
    Helm versionv3.19+ (recommended)
    Control planesCore Services Rack (CSR) includes 3 control planes for SambaStack
    Data planesSambaRack worker nodes serve as data planes
  5. Make sure you have received the following from SambaNova
    1. Helm chart OCI registry URLs
      ChartRegistry URL
      SambaStack Baseoci://<REGISTRY_URL>/sambastack/sambastack-base
      SambaStackoci://<REGISTRY_URL>/sambastack/sambastack
      SambaNova provides the full registry URL, service-account-key file, and version number during handover. Contact your SambaNova representative for access credentials.
      Version numbers change with new chart releases. Check with your SambaNova representative for the current installation version.
    2. Configuration files
      • Sample sambastack.yaml file for your deployment - this guide also shows how to build this from scratch.
    3. Google Cloud service account key file. This file is used to create:
      • Image Pull Secret
      • Artifact reader secret

Setup

1

Authenticate and Configure Cluster

  1. Create sambastack namespace
  2. Create a Docker registry secret for pulling images from Artifact Registry using your Google Cloud service account JSON key:
  3. Create a secret for reading model artifacts from Google Cloud Storage:
  4. Label each RDU node for scheduling. Add --overwrite for idempotency:
    Repeat this command for each node in your cluster.
2

Configure `sambastack.yaml`

  1. Configure a minimum viable sambastack.yaml file:
    This default file deploys a bundle that you will be able to query by including entries under the bundles.bundleSpecs and bundles.bundleDeploymentSpecs sections.
    SambaRack SN40L-16 systems may have either 12TB or 4TB of DDR memory, but all newly shipped systems are 4TB, so configure the cluster memory limit accordingly and use the lower limit when mixing node types.
    See the SambaStack.yaml Reference for a full example.
3

Helm Login and Install

  1. Use your Google Cloud service account to authenticate with the Helm registry:
  2. Install the base chart and main SambaStack chart:
SambaNova provides the full registry URL and version number during handover. Contact your SambaNova representative for access credentials.
Version numbers change with new chart releases. Use the version number provided by your SambaNova representative.
Refer to the Pods reference table for details on the pods created after installation.
4

Ensure Pods are Running

  1. Run the following command to see all the pods running in your cluster:
  2. Make sure all pods are Running. Your response should resemble the following:
    It usually takes about 5-10 minutes for all the pods to reach their desired Running state.
    See the Pods reference table for more details.
5

Create User and API Key

This quickstart guide uses the default keycloak auth setup to get started. To configure custom authentication, check out the authentication page.
  1. Retrieve keycloak temp-admin credentials:
  2. Port forward keycloak
  3. Log into keycloak at http://localhost:8080/ with temp-admin credentials above. Keycloak Login
  4. Create admin user Keycloak Create User
  5. Assign admin role Keycloak Assign Roles Keycloak Assign Admin Role
  6. Set admin credentials Keycloak Set Password
  7. Add admin user email to the db-admin section of sambastack.yaml:
    See the SambaStack.yaml Reference for a full example.
  8. Visit ui.<your-domain> and log in with user credentials retrieved above. Installguide 1
  9. Create API key and save securely: Installguide 2
6

Query Deployed Model Bundle

  1. Set your API key:
  2. Run a test query against the deployed model bundle with either cURL or a python script:
Run the following cURL command
Your response should resemble the following:

Next steps

Congrats! You’ve set up your SambaStack cluster to a baseline running state. At this point, what you configure next depends on your goals. The following is a list of common configurations you can set up next: