Quickstart Install
As a Kubernetes Cluster Administrator, use these steps to install Kata Containers and the NVIDIA GPU Operator with minimal steps. For additional configuration options and install details, refer to the Detailed Install Guide.
This quickstart will configure every node in your cluster for Confidential Containers workloads. This is ideal for evaluation or dedicated Confidential Containers clusters. If you need to run Confidential Containers on only some nodes while keeping traditional GPU workloads on others, or you want more control over the installation, use the Label Nodes for Confidential Containers Components section in the Detailed Install Guide.
This quickstart takes approximately 10 minutes to complete.
Before starting, make sure your cluster meets the Prerequisites.
What You Will Build
By the end of this quickstart, you will have:
-
Kata Containers running on your cluster.
-
The NVIDIA GPU Operator installed and configured for Confidential Containers.
-
All cluster nodes configured for Confidential Containers workloads.
Install the Kata Containers Helm Chart
-
Set the chart version and registry path:
-
Install the
kata-deployHelm chart:Example Output:
It can take 2 to 3 minutes for the command to return and all output to be printed.
There is a known Helm issue on single-node clusters that may result in the Helm command finishing before all pods are done initializing. If you are deploying to a single-node cluster, wait a few additional minutes after the command completes.
-
Verify that the
kata-deploypod is running:Example Output:
A
READYvalue of1/1and aSTATUSofRunningmean thekata-deploypod installed the Kata components on the node. If the pod does not reachRunning, refer to View Kata Containers Logs in Troubleshooting. -
Verify the
kata-qemu-nvidia-gpu-snpandkata-qemu-nvidia-gpu-tdxruntime classes are available:After
helm installcompletes, thekata-deploychart creates the KataRuntimeClassresources on the cluster. This usually happens within 1-2 minutes after thekata-deploypod reachesRunning. Confirm SNP and TDX classes are present before you continue to Install the NVIDIA GPU Operator.Example Output:
If the SNP and TDX runtime classes are not listed immediately, the chart may still be initializing rather than failing. Wait 1-2 minutes and re-run the command. If they are still missing after the
kata-deploypod reportsRunning, the install did not complete correctly. On a single-node cluster, retry after a few minutes only if Helm returned before thekata-deploypod reachesRunning(refer to the note above). Otherwise, refer to Troubleshooting.
Success criteria: Helm reports STATUS: deployed and both SNP and TDX runtime classes appear in the output above.
Install the NVIDIA GPU Operator
-
Add and update the NVIDIA Helm repository:
Example Output:
-
Install the GPU Operator configured for Confidential Containers on all nodes:
Example Output:
It may take 3 to 5 minutes for the Helm release to complete and for all GPU Operator pods to reach the Running state.
The
sandboxWorkloads.defaultWorkload=vm-passthroughflag in the Helm install command sets the default cluster workload type for Confidential Containers. -
Verify that all GPU Operator pods are running:
Example Output:
Success criteria: All GPU Operator pods are Running or Completed.
Your cluster is now configured to deploy GPU workloads into the SNP and TDX runtime classes on all nodes.
Next Steps
- Continue to Run a Sample Workload to confirm the deployment.