README.md 1.01 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# NIXL Benchmark Technical Documentation (Kubernetes)

This guide describes how to run the NIXL benchmark using the provided Docker image on a Kubernetes (K8s) cluster.

---

## Prerequisites

- A running Kubernetes cluster with access to NVIDIA GPUs (e.g., using NVIDIA GPU Operator or device plugin)
- `kubectl` configured to access your cluster
- deploy dynamo cloud in a namespace

---

## 1. Prepare the Kubernetes Deployment

A sample deployment YAML is provided in this repository:
`benchmarks/nixl/nixl-benchmark-deployment.yaml`

Update the image field in sample yaml to appropiate image in your registry.

You can use the `yq` tool to update the image field in the deployment YAML
```bash
yq -i '.spec.template.spec.containers[] |= select(.name == "nixl-benchmark") .image = "your-registry/your-nixl-benchmark:your-tag"' benchmarks/nixl/nixl-benchmark-deployment.yaml > nixl-benchmark-deployment.yaml
```

## 2. Deploy using kubectl
Launch using the command below:

```bash
kubectl apply -f  nixl-benchmark-deployment.yaml
```