Skip to content

Commit 34029f2

Browse files
committed
feat: explicitly add NVIDIA GPU RuntimeClasses
Add NVIDIA GPU shims with TEE protection to the default values.yaml: - kata-qemu-nvidia-gpu-snp: GPU with AMD SEV-SNP protection - kata-qemu-nvidia-gpu-tdx: GPU with Intel TDX protection Update README.md and QUICKSTART.md to document these RuntimeClasses as part of the standard x86_64 installation. Signed-off-by: Fabiano Fidêncio <ffidencio@nvidia.com>
1 parent e224dbe commit 34029f2

File tree

3 files changed

+44
-5
lines changed

3 files changed

+44
-5
lines changed

QUICKSTART.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
2929
**What you get:**
3030
- AMD SEV-SNP support (kata-qemu-snp)
3131
- Intel TDX support (kata-qemu-tdx)
32-
- NVIDIA GPU variants
32+
- NVIDIA GPU with SEV-SNP (kata-qemu-nvidia-gpu-snp)
33+
- NVIDIA GPU with TDX (kata-qemu-nvidia-gpu-tdx)
3334
- Development runtime (kata-qemu-coco-dev)
3435

3536
#### For s390x (IBM Z)
@@ -53,7 +54,7 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
5354
```
5455

5556
**What you get:**
56-
- remote runtime (peer-pods / Cloud API Adaptopr integration)
57+
- remote runtime (peer-pods / Cloud API Adaptor integration)
5758

5859
### Installing from Local Repository (Development)
5960

@@ -473,7 +474,12 @@ The Helm chart provides equivalent functionality with simpler configuration.
473474
### x86_64
474475

475476
- Requires AMD or Intel processors with SEV-SNP or TDX support
476-
- GPU variants require NVIDIA GPU with appropriate drivers
477+
478+
### x86_64 with NVIDIA GPU
479+
480+
- Requires NVIDIA GPU
481+
- Use `kata-qemu-nvidia-gpu-snp` for AMD SEV-SNP + GPU
482+
- Use `kata-qemu-nvidia-gpu-tdx` for Intel TDX + GPU
477483

478484
### s390x
479485

README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ This chart includes:
5656
### Quick Start
5757

5858
The chart is published to `oci://ghcr.io/confidential-containers/charts/confidential-containers` and supports multiple architectures:
59-
- **x86_64**: Intel and AMD processors (default)
59+
- **x86_64**: Intel and AMD processors (default), includes NVIDIA GPU support
6060
- **s390x**: IBM Z mainframes
6161
- **peer-pods**: architecture independent
6262

@@ -66,6 +66,8 @@ helm install coco oci://ghcr.io/confidential-containers/charts/confidential-cont
6666
--namespace coco-system
6767
```
6868

69+
This includes both standard TEE shims (snp, tdx, coco-dev) and NVIDIA GPU shims (nvidia-gpu-snp, nvidia-gpu-tdx) by default.
70+
6971
**For s390x:**
7072
```bash
7173
helm install coco oci://ghcr.io/confidential-containers/charts/confidential-containers \
@@ -135,6 +137,8 @@ The available RuntimeClasses depend on the architecture:
135137
- `kata-qemu-coco-dev-runtime-rs` - Development/testing runtime (Rust-based)
136138
- `kata-qemu-snp` - AMD SEV-SNP
137139
- `kata-qemu-tdx` - Intel TDX
140+
- `kata-qemu-nvidia-gpu-snp` - NVIDIA GPU with AMD SEV-SNP protection
141+
- `kata-qemu-nvidia-gpu-tdx` - NVIDIA GPU with Intel TDX protection
138142

139143
#### s390x
140144

@@ -294,7 +298,7 @@ The Helm chart supports multiple architectures with appropriate TEE technology s
294298
### Architecture-Specific Values Files
295299

296300
Architecture-specific kata runtime configurations are organized in the `values/` directory:
297-
- **x86_64** - Default configuration in `values.yaml` (Intel/AMD platforms)
301+
- **x86_64** - Default configuration in `values.yaml` (Intel/AMD platforms, includes NVIDIA GPU support)
298302
- `values/kata-s390x.yaml` - For IBM Z mainframes
299303
- `values/kata-remote.yaml` - For peer-pods
300304

values.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -156,6 +156,35 @@ kata-as-coco-runtime:
156156
httpsProxy: ""
157157
noProxy: ""
158158

159+
# NVIDIA GPU shims with TEE protection
160+
qemu-nvidia-gpu-snp:
161+
enabled: true
162+
supportedArches:
163+
- amd64
164+
allowedHypervisorAnnotations: []
165+
containerd:
166+
snapshotter: nydus
167+
forceGuestPull: false
168+
crio:
169+
guestPull: true
170+
agent:
171+
httpsProxy: ""
172+
noProxy: ""
173+
174+
qemu-nvidia-gpu-tdx:
175+
enabled: true
176+
supportedArches:
177+
- amd64
178+
allowedHypervisorAnnotations: []
179+
containerd:
180+
snapshotter: nydus
181+
forceGuestPull: false
182+
crio:
183+
guestPull: true
184+
agent:
185+
httpsProxy: ""
186+
noProxy: ""
187+
159188
# Kata runtimes that are not for TEE
160189
clh:
161190
enabled: false

0 commit comments

Comments
 (0)