Skip to content

macvlan and rdma #185

@BurlyLuo

Description

@BurlyLuo

How to use device plugin for RDMA
The device plugin can be used with macvlan for RDMA, to do the following steps:

  1. use macvlan cni

cat > /etc/cni/net.d/00-macvlan.conf <<EOF

{
"cniVersion": "0.3.1",
"name": "mynet",
"type": "macvlan",
"master": "enp0s0f0",
"ipam": {
"type": "host-local",
"subnet": "10.56.217.0/24",
"rangeStart": "10.56.217.171",
"rangeEnd": "10.56.217.181",
"routes": [
{ "dst": "0.0.0.0/0" }
],
"gateway": "10.56.217.1"
}
}

EOF
2. Follow the steps in the previous section to deploy the device plugin

  1. Deploy RDMA pod application

kubectl create -f <rdma-app.yaml>

would you pls details this part?

it means the macvlan can be as a rdma resource? or any others?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions