Custom domain and TLS certificate configuration
To use a custom domain with TLS on your SambaStack deployment, follow these steps:1. Obtain TLS certificates
Acquire the TLS certificate and private key for your domain from a trusted certificate authority.2. Create Kubernetes TLS secret
Follow the official Kubernetes documentation to create a Kubernetes secret for your TLS certificate and key. Example command:3. Configure DNS records
Create DNS records to map your custom domains to the SambaStack servers as follows:| Domain | Record Type | Value |
|---|---|---|
api.example.com | CNAME | api.sambanova.ai |
api.example.com | TXT | <From installer log> |
ui.example.com | CNAME | cloud.sambanova.ai |
ui.example.com | TXT | <From installer log> |
4. Update sambastack.yaml
Edit the sambastack.yaml configuration file under data → sambastack.yaml to include your domain and TLS secret information with correct indentation:
5. Apply configuration
Apply your changes:6. Sanity check
Monitor the installer logs to verify TLS certificate processing and domain verification:Using external Postgres database
By default, SambaNova provisions a Postgres instance within your cluster. To use an external Postgres database, complete the following steps:1. Provision external database
Set up an external Postgres instance and collect these credentials:DB_HOSTDB_DATABASEDB_USERDB_PASSWD
2. Create Kubernetes secret for Postgres credentials
Create a secret namedpg-credentials with your database credentials:
Ensure all credential values are base64 encoded.
3. Sample sambastack.yaml update
Modify sambastack.yaml (data → sambastack.yaml) to reference your external Postgres secret and disable the in-cluster database:
