You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a pod applies for 2 VF, only one net network interface can be seen inside the pod, and 2 are expected. What is the reason? Is there a limit to the sriov-cni version? Is it only supported by a higher version?
1、pod.yaml如下:
apiVersion: v1
kind: Pod
metadata:
name: pod-vf2
annotations:
k8s.v1.cni.cncf.io/networks: sriov-attach-ens11f1np1
spec:
containers:
When a pod applies for 2 VF, only one net network interface can be seen inside the pod, and 2 are expected. What is the reason? Is there a limit to the sriov-cni version? Is it only supported by a higher version?
1、pod.yaml如下:
apiVersion: v1
kind: Pod
metadata:
name: pod-vf2
annotations:
k8s.v1.cni.cncf.io/networks: sriov-attach-ens11f1np1
spec:
containers:
image: centos/tools
command: [ "/bin/bash", "-c", "--" ]
args: [ "while true; do sleep 300000; done;" ]
resources:
requests:
cpu: 1
memory: 1Gi
koordinator.sh/rdma: '2'
limits:
cpu: 1
memory: 1Gi
koordinator.sh/rdma: '2'
2、NAD定义如下:
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: sriov-attach-ens11f1np1
namespace: default
annotations:
k8s.v1.cni.cncf.io/resourceName: mellanox.com/rdma
spec:
config: '{
"cniVersion": "0.3.1",
"name": "sriov-attach",
"type": "sriov",
"capabilities": {
"mac": true,
"ipam": true
},
"master": "ens11f1np1",
"mode": "bridge",
"ipam": {
"type": "host-local",
"subnet": "10.10.10.0/24"
}
}'
3、RDMA NIC name of node1:ens11f1np1
The text was updated successfully, but these errors were encountered: