forked from github/multus-cni
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"
|
||
|
}
|
||
|
}'
|