mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-29 21:29:24 +00:00
We cannot anticipate all the possible configurations needed by the SRIOV device plugin: there is too much variety. Hence, we need to allow the test environment to supply a host-specific ConfigMap to properly configure the device plugin and avoid false negatives. We still provide a the default config map as fallback and reference. Signed-off-by: Francesco Romani <fromani@redhat.com>
37 lines
1.0 KiB
YAML
37 lines
1.0 KiB
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: sriovdp-config
|
|
namespace: kube-system
|
|
data:
|
|
config.json: |
|
|
{
|
|
"resourceList": [{
|
|
"resourceName": "intel_sriov_netdevice",
|
|
"selectors": {
|
|
"vendors": ["8086"],
|
|
"devices": ["154c", "10ed"],
|
|
"drivers": ["i40evf", "ixgbevf"]
|
|
}
|
|
},
|
|
{
|
|
"resourceName": "intel_sriov_dpdk",
|
|
"selectors": {
|
|
"vendors": ["8086"],
|
|
"devices": ["154c", "10ed"],
|
|
"drivers": ["vfio-pci"],
|
|
"pfNames": ["enp0s0f0","enp2s2f1"]
|
|
}
|
|
},
|
|
{
|
|
"resourceName": "mlnx_sriov_rdma",
|
|
"isRdma": true,
|
|
"selectors": {
|
|
"vendors": ["15b3"],
|
|
"devices": ["1018"],
|
|
"drivers": ["mlx5_ib"]
|
|
}
|
|
}
|
|
]
|
|
}
|