Install on-premises - Poolside
Overview
Use this guide to deploy Poolside model inference on a dedicated GPU workstation or server host. The on-premises installation bundle can be used in internet-connected or air-gapped environments. When the bundle is already cached on the host, installation typically takes about one hour. The installation process has the following phases:
- Prepare the host and install operating-system-specific prerequisites.
- Install RKE2 infrastructure.
- Install supporting infrastructure services.
- Upload model checkpoints.
- Deploy model inference and ingress.
The installation includes:
- RKE2 Kubernetes
- S3-compatible object storage for model checkpoints
- A local container registry
cert-managerfor self-signed certificates- NVIDIA GPU Operator for GPU access in RKE2 workloads
- Model inference workloads for the model checkpoints you provide
Model checkpoint files are provided separately based on your deployment. Upload the model checkpoint files during the model upload step.
Prerequisites
Before you begin, ensure that the host meets the following prerequisites:
- A supported operating system:
- Ubuntu 22.04 LTS
- Ubuntu 24.04 LTS
- Red Hat Enterprise Linux (RHEL) 9.6
- SUSE Linux Enterprise Server (SLES) 16
- A supported host CPU architecture:
amd64(x86_64)arm64(aarch64)
sudoaccess on the host- The Poolside installation bundle for your host CPU architecture
- Poolside model checkpoint files available on the host
- The ingress hostnames you plan to expose for model inference
- If you use custom TLS certificates, CA and server certificate files with SANs that cover the hostnames described in Step 2
Prepare the host
Complete the preparation steps for the host operating system before you run the installation steps. Some prerequisite tools provide architecture-specific Linux binaries. Use amd64 downloads for x86_64 hosts and arm64 downloads for aarch64 hosts. To check the host architecture, run:
uname -m
Prepare Ubuntu
These steps apply to both Ubuntu 22.04 LTS and Ubuntu 24.04 LTS.
- Install required tools - Install
kubectlusingsudo snap install kubectl --classic- Install
jqusingsudo apt install -y jq - Install
yq(versionv4.49.2or later) from the yq releases page- Download
yq_linux_amd64.tar.gzoryq_linux_arm64.tar.gzand install it to/usr/local/bin/yq
- Download
- Install
terraform(version1.8.5) from the Terraform 1.8.5 releases page- Download
terraform_1.8.5_linux_amd64.ziporterraform_1.8.5_linux_arm64.zipand install the binary to/usr/local/bin/terraform unzipis required to extract the Terraform binary
- Download
- Install
skopeo(versionv1.18or later) from the skopeo-binary releases page- Download
skopeo-linux-amd64orskopeo-linux-arm64and install it to/usr/local/bin/skopeo
- Download
- Install
- Configure the containers trust policy Ensure the containers trust policy at
/etc/containers/policy.jsonallowsskopeoto access the RKE2 registry with the minimum required permissions to load container images into the registry during installation.
{
"default": [
{
"type": "insecureAcceptAnything"
}
]
}
- Disable the
nouveaudriver if loaded Confirm that thenouveaugraphics driver is not loaded. For instructions, see Disable the nouveau driver in the NVIDIA documentation. Run the following command to check whether thenouveaudriver is loaded. If the command returns output, follow the next steps to turn off the driver and reboot.
lsmod | grep nouveau
If the nouveau driver is loaded:
cat <<EOF | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
EOF
# Regenerate the kernel initramfs.
sudo update-initramfs -u
# Reboot your system:
sudo reboot
# After reboot, confirm that nouveau is not loaded.
lsmod | grep nouveau
- Configure Ubuntu kernel parameters Poolside file watchers can exceed the Ubuntu default for inotify instances. Set the following parameter to
65535or higher:
fs.inotify.max_user_instances = 65535
To apply the setting, add the parameter under /etc/sysctl.d/ and reload:
echo "fs.inotify.max_user_instances = 65535" | sudo tee /etc/sysctl.d/99-poolside.conf
sudo sysctl --system
Prepare RHEL 9.6
- Lock the RHEL release RHEL can upgrade the host to a newer minor release when new updates become available through
dnf updateoryum update. Before you install packages, lock the release to RHEL 9.6 to prevent automatic minor version upgrades.
# List available versions
sudo subscription-manager release --list
# Lock the release to version 9.6
sudo subscription-manager release --set=9.6
sudo yum clean all
- Install required tools - Install
iptables-nftusingyum(version1.8.10-11.el9)- Install
container-selinuxusingyum - Install
jqusingyum(version1.6or later) - Install
yq(versionv4.49.2or later) from the yq releases page- Download
yq_linux_amd64.tar.gzoryq_linux_arm64.tar.gzand install it to/usr/local/bin/yq
- Download
- Install
unzipusingyum(version6.00or later) - Install
skopeousingyum(package version1.18.1-2.el9_6or later for your host architecture) - Install
kubectlby adding the Kubernetes repository (ensure that thekubectlversion is the same as or newer than the RKE2 Kubernetes version):
- Install
cat <<EOF | sudo tee /etc/yum.repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.33/rpm/repodata/repomd.xml.key
EOF
Then run:
sudo yum install -y kubectl
- Install
terraform(version1.8.5) from the Terraform 1.8.5 releases page- Download
terraform_1.8.5_linux_amd64.ziporterraform_1.8.5_linux_arm64.zipand install the binary to/usr/local/bin/terraform unzipis required to extract the Terraform binary
- Download
Configure the Terraform command path In RHEL 9.x,
/usr/local/binis not included in thesecure_pathsetting in/etc/sudoersby default. As a result,sudo terraformcan return acommand not founderror. Run Terraform with the absolute path:/usr/local/bin/terraform.Disable the
nouveaudriver if loaded Confirm that thenouveaugraphics driver is not loaded. For instructions, see Disable the nouveau driver in the NVIDIA documentation. Run the following command to check whether thenouveaudriver is loaded. If the command returns output, follow the next steps to turn off the driver and reboot.
lsmod | grep nouveau
If the nouveau driver is loaded:
# Check for nouveau in the GRUB configuration.
grep GRUB_CMDLINE_LINUX /etc/default/grub
# If this command does not show that nouveau is blocked, ensure that the
# GRUB_CMDLINE_LINUX line in /etc/default/grub contains "modprobe.blacklist=nouveau",
# for example, at the end of the line.
cat <<EOF | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
EOF
# Regenerate the grub config file and add a boot menu entry for EFI firmware configuration.
sudo dracut --force
sudo grub2-mkconfig -o /boot/efi/EFI/redhat/grub.cfg
# Reboot the system.
sudo systemctl reboot
# After reboot, confirm that nouveau is not loaded.
lsmod | grep nouveau
Prepare SLES 16
These steps apply to SUSE Linux Enterprise Server (SLES) 16.
- Install required tools Ensure that
sudois present and operating correctly on the host. Usesuto become the root user, then runzypper install sudo. After you installsudo, open thesudoersfile withvisudo. Verify that the file includes only oneDefaults secure_pathentry. If multiple entries exist, delete any entries that do not include/usr/local/bin. You installterraformandyqin this directory, so it must be in thesecure_pathvalue thatsudouses. To install the required packages available from the operating system repositories, run:
sudo zypper install -y iptables tar unzip skopeo jq
- Install
yq(versionv4.49.2or later) from the yq releases page- Download
yq_linux_amd64.tar.gzoryq_linux_arm64.tar.gzand install it to/usr/local/bin/yq - Install
terraform(version1.8.5) from the Terraform 1.8.5 releases page- Download
terraform_1.8.5_linux_amd64.ziporterraform_1.8.5_linux_arm64.zipand install the binary to/usr/local/bin/terraform unzipis required to extract the Terraform binary
- Download
- Download
- Install
kubectlEnsure that thekubectlversion is the same as or newer than the RKE2 Kubernetes version. To installkubectlusing native package management, add the Kubernetes repository for the minor version that matches your deployment. The following example uses the v1.35 repository:
cat <<EOF | sudo tee /etc/zypp/repos.d/kubernetes.repo
[kubernetes]
name=Kubernetes
baseurl=https://pkgs.k8s.io/core:/stable:/v1.35/rpm/
enabled=1
gpgcheck=1
gpgkey=https://pkgs.k8s.io/core:/stable:/v1.35/rpm/repodata/repomd.xml.key
EOF
sudo zypper install -y kubectl
Alternatively, install wget, then download the kubectl binary directly and install it to /usr/local/bin/kubectl. Replace <arch> with amd64 or arm64:
sudo zypper install -y wget
wget https://dl.k8s.io/release/v1.35.3/bin/linux/<arch>/kubectl
chmod +x kubectl
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
lsmod | grep nouveau
If the nouveau driver is loaded:
cat <<EOF | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
blacklist nouveau
options nouveau modeset=0
EOF
# Regenerate the kernel initramfs.
sudo dracut --force
# Reboot the system.
sudo systemctl reboot
# After reboot, confirm that the nouveau driver is not loaded.
lsmod | grep nouveau
- Install the NVIDIA driver Install the NVIDIA driver on the host before you run the installer. The GPU Operator driver container cannot be bundled into the local registry due to licensing restrictions. The following process installs a signed NVIDIA driver that supports secure boot and can be updated from SLES-supported packages. - Check whether the NVIDIA-backed repository is present in your installation:
sudo zypper lr
The output should include a repository named NVIDIA-GPU-Compute-Toolkit-CUDA.
- If the repository is not enabled, enable the CUDA compute repository:
sudo zypper mr -e <repository-number>
- Refresh the available packages:
sudo zypper refresh
- Install the driver:
sudo zypper install nvidia-open-driver-G07-signed-cuda-kmp-default
- Store the installed driver version:
version=$(rpm -qa --queryformat '%{VERSION}\n' nvidia-open-driver-G07-signed-cuda-kmp-default | cut -d "_" -f1 | sort -u | tail -n 1)
- Install the matching compute utilities and persistence daemon:
sudo zypper install -y "nvidia-compute-utils-G07 = ${version}" "nvidia-persistenced = ${version}"
Install
Use the Poolside installation bundle for your host architecture, either linux/amd64 or linux/arm64. You can use the bundle in internet-connected and air-gapped environments.
Step 0 (optional): Set up an air-gapped installation
This configuration is required for air-gapped installations. In internet-connected environments, you can skip this step.
To use the local Terraform provider cache included in the bundle, configure Terraform to load providers from the bundled terraform.d directory.
- Locate
poolside-terraform.tfrcin the root of the unpacked installation bundle. - Replace the
$POOLSIDE_INSTALL_DIRplaceholder with the fully qualified path to the bundle’s root directory. - For Terraform commands in the installation steps, prefix the command with the Terraform CLI configuration path:
TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc terraform <command>
Setting this variable ensures that both root and non-root users reference the same cached Terraform providers.
Step 1: Install RKE2 on the host
The 01-infra-rke2 directory contains the Terraform module that installs RKE2 on the host. Using sudo, run the following commands from the 01-infra-rke2 directory.
You must run the RKE2 installation using sudo from the same user account that runs Poolside model inference after deployment. Terraform uses the original user and group IDs from the sudo environment to set ownership and permissions required by later installation stages.
Air-gapped environment:
sudo TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc /usr/local/bin/terraform init
sudo TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc /usr/local/bin/terraform apply
Internet-connected environment:
sudo /usr/local/bin/terraform init
sudo /usr/local/bin/terraform apply
If RKE2 certificates or credentials change, re-run this step to refresh the configuration files that restore access for the installation user.
Step 2: Install supporting infrastructure services
The 02-infra-services directory contains the Terraform module that accesses the RKE2 cluster and deploys the supporting infrastructure required by Poolside model inference. This step installs:
- A local container registry
- S3-compatible object storage
- Ingress and certificate resources for inference endpoints
- NVIDIA GPU Operator, deployed as
gpu-operator
Before you run Terraform, complete the following configuration steps.
1. Configure ingress hostnames
In 02-infra-services/terraform.tfvars, set poolside_ingress_hosts to the model hostnames that you plan to use later in Step 4. The installer uses this value when it creates self-signed certificate SANs. If you use installer-generated self-signed certificates, each model ingress_host_name that you configure in Step 4 must match one of the hostnames in poolside_ingress_hosts. This lets the installer generate certificates with the required SANs before model inference is deployed. If you use custom TLS certificates, ensure that your certificate SANs include each model ingress_host_name that you configure in Step 4. The installer includes poolside-docs in certificate SANs by default. Add a documentation hostname to poolside_ingress_hosts only if you want to use a different documentation hostname.
2. Configure custom TLS certificates
Skip this step if you use installer-generated self-signed certificates. If you use custom TLS certificates, you must provide your own CA and server certificate before you run terraform apply. The custom_certificates and custom_ca_trust_chain parameters configure certificates for the TLS-terminating inference and storage services. The custom_certificates schema accepts certificate and key entries for poolside, services.storage, and services.storage_s3. You can use one certificate that covers all exposed hostnames, or separate certificates if your Public Key Infrastructure (PKI) requires it. Across all certificates you provide, the Subject Alternative Names (SANs) must cover every hostname that you expose, including:
- Every model
ingress_host_namethat you configure in04-poolside-inference/terraform.tfvars - Any custom documentation ingress hostname that you configure instead of the default
poolside-docshostname seaweedfs.poolside.localseaweedfs-s3.poolside.local
- Place your CA certificate, server certificate, and private key in a directory accessible to Terraform. The example below uses
<bundle-path>/poolside-install/byo-certs/. Thepoolside-install/subdirectory holds the installation’s persistent state and is preserved across cluster resets, so it is the recommended location for BYO certificate files.
<bundle-path>/poolside-install/byo-certs/
├── ca.crt # CA certificate (root, or root and intermediate chain)
├── server.crt # Server certificate signed by the CA
└── server.key # Server private key
You must reference these files using fully qualified (absolute) paths in the next step. Relative paths are not supported.
2. In 02-infra-services/terraform.tfvars, set the BYO variables:
custom_ca_trust_chain = {
root_ca_path = "<bundle-path>/poolside-install/byo-certs/ca.crt"
}
custom_certificates = {
poolside = {
cert_path = "<bundle-path>/poolside-install/byo-certs/server.crt"
key_path = "<bundle-path>/poolside-install/byo-certs/server.key"
}
services = {
storage = {
cert_path = "<bundle-path>/poolside-install/byo-certs/server.crt"
key_path = "<bundle-path>/poolside-install/byo-certs/server.key"
}
storage_s3 = {
cert_path = "<bundle-path>/poolside-install/byo-certs/server.crt"
key_path = "<bundle-path>/poolside-install/byo-certs/server.key"
}
}
}
custom_ca_trust_chain.root_ca_path must point to the CA that signed server.crt. When you run terraform apply, the module creates Kubernetes secrets with a -byo suffix from these files.
3. Run Terraform
Using sudo, run the following commands from the 02-infra-services directory.
You must run this step using sudo from the same user account that runs Poolside model inference after deployment. Terraform uses the original user and group IDs from the sudo environment to set the permissions required for RKE2 cluster access in later stages.
Air-gapped environment:
Internet-connected environment:
sudo /usr/local/bin/terraform init
sudo /usr/local/bin/terraform apply
This step can take some time to complete. The process loads container images into the local RKE2 registry to support disconnected operation and improve Poolside startup performance.
Step 3: Upload Poolside models
The 03-poolside-model-upload directory contains the Terraform module that uploads model checkpoints into the deployment’s S3-compatible storage. The module creates a Kubernetes job that syncs model files from a local host directory into the poolside-models bucket.
- Copy the Poolside model checkpoint files for your deployment into the local host directory:
/opt/poolside/poolside-model-uploads
This is the default location. If you customized the Poolside host volume location in 01-infra-rke2, use the corresponding directory instead.
2. Run the following commands from the 03-poolside-model-upload directory.
Air-gapped environment:
TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc terraform init
TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc terraform apply
Internet-connected environment:
terraform init
terraform apply
- To upload additional or updated models later, repeat these steps. Uploads are additive and do not remove existing models from the deployment.
Step 4: Deploy Poolside model inference
The 04-poolside-inference directory contains the Terraform module that deploys the inference containers used to serve Poolside models.
- In the
04-poolside-inferencedirectory, updateterraform.tfvarswith the model details you want to deploy. If you use installer-generated self-signed certificates, each modelingress_host_namemust match one of the hostnames you configured inpoolside_ingress_hostsduring Step 2. If you use custom TLS certificates, the certificate SANs must include each modelingress_host_name.
Example: Model configuration
deployment_name = "poolside-server"
models = {
agent = {
s3_uri = "s3://poolside-models/<model-checkpoint-name>"
ingress_host_name = "poolside-models-agent.poolside.local"
gpus = 1
replicas = 1
model_type = "agent"
}
}
- Run the following commands from the
04-poolside-inferencedirectory.
Air-gapped environment:
TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc terraform init
TF_CLI_CONFIG_FILE=<bundle-path>/poolside-terraform.tfrc terraform apply
Internet-connected environment:
terraform init
terraform apply
Next steps: Post-installation configuration
Configure local DNS
Add hostname resolution on the deployment host. Replace the model ingress hostnames with the ingress_host_name values you configured in Step 4. If you expose multiple model ingress hostnames, include each hostname on the same line.
cat <<EOF | sudo tee -a /etc/hosts
127.0.0.1 <model-ingress-host> <additional-model-ingress-host> seaweedfs.poolside.local seaweedfs-s3.poolside.local
EOF
For example:
cat <<EOF | sudo tee -a /etc/hosts
127.0.0.1 poolside-models-agent.poolside.local seaweedfs.poolside.local seaweedfs-s3.poolside.local
EOF
Verification
Your installation is successful when the following checks pass:
- Confirm that all pods show a healthy status, such as
RunningorCompleted:
kubectl get pods -A
- Confirm that the model inference endpoint resolves to the deployment host:
getent hosts <model-ingress-host>
- Confirm that model workloads are running:
kubectl get pods -n poolside-models
- Confirm that the model upload job completed successfully:
kubectl get jobs -n poolside-models
Troubleshooting
Model pods stuck in ContainerCreating
- Confirm that the host detects NVIDIA GPU devices:
lspci | grep -i nvidia
- Confirm that Kubernetes reports GPUs as allocatable:
kubectl get nodes -o jsonpath='{range .items[*]}{.metadata.name}{