mirror of
https://github.com/k8snetworkplumbingwg/multus-cni.git
synced 2025-08-19 00:33:27 +00:00
Enabling kubelete checkpoint file parsing to get Pod device info so that these device information can be passed into CNI plugins that need specific device information to work on. Change-Id: I6630f56adc0a8307f575fc09ce9090c1ffca0337
22 lines
443 B
YAML
22 lines
443 B
YAML
apiVersion: "k8s.cni.cncf.io/v1"
|
|
kind: NetworkAttachmentDefinition
|
|
metadata:
|
|
name: sriov-net-a
|
|
annotations:
|
|
k8s.v1.cni.cncf.io/resourceName: intel.com/sriov
|
|
spec:
|
|
config: '{
|
|
"type": "sriov",
|
|
"vlan": 1000,
|
|
"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"
|
|
}
|
|
}'
|