Skip to content

Commit 870a3dc

Browse files
Update docs
Signed-off-by: Jose Castillo Lema <josecastillolema@gmail.com>
1 parent cbe2d27 commit 870a3dc

File tree

3 files changed

+2
-31
lines changed

3 files changed

+2
-31
lines changed

docs/advanced-usage.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,8 @@ On Fedora systems:
102102
sudo modprobe rdma_rxe
103103
sudo rdma link add rxe0 type rxe netdev eth0 # Name of your active interface
104104
kind create cluster --config testing/kind-config-rdma.yaml
105-
kubectl label node kind-worker node-role.kubernetes.io/worker=""
106-
kubectl label node kind-worker2 node-role.kubernetes.io/worker=""
107-
k8s-netperf --config config.yaml --hostNet --privileged --ib-write-bw rxe0:1
105+
kubectl label node kind-control-plane node-role.kubernetes.io/worker=""
106+
k8s-netperf --config config.yaml --hostNet --privileged --ib-write-bw rxe0:1 --local
108107
```
109108

110109
Cleanup:

k8s-netperf-config.yaml

Lines changed: 0 additions & 8 deletions
This file was deleted.

testing/kind-config-rdma.yaml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,3 @@ nodes:
1111
- hostPath: /sys/class/net
1212
containerPath: /sys/class/net
1313
readOnly: true
14-
- role: worker
15-
extraMounts:
16-
- hostPath: /dev/infiniband
17-
containerPath: /dev/infiniband
18-
- hostPath: /sys/class/infiniband
19-
containerPath: /sys/class/infiniband
20-
readOnly: true
21-
- hostPath: /sys/class/net
22-
containerPath: /sys/class/net
23-
readOnly: true
24-
- role: worker
25-
extraMounts:
26-
- hostPath: /dev/infiniband
27-
containerPath: /dev/infiniband
28-
- hostPath: /sys/class/infiniband
29-
containerPath: /sys/class/infiniband
30-
readOnly: true
31-
- hostPath: /sys/class/net
32-
containerPath: /sys/class/net
33-
readOnly: true

0 commit comments

Comments
 (0)