24 lines
No EOL
480 B
YAML
24 lines
No EOL
480 B
YAML
---
|
|
apiVersion: "k8s.cni.cncf.io/v1"
|
|
kind: NetworkAttachmentDefinition
|
|
metadata:
|
|
name: multus-iot
|
|
spec:
|
|
config: |-
|
|
{
|
|
"cniVersion": "0.3.1",
|
|
"name": "multus-iot",
|
|
"plugins": [
|
|
{
|
|
"type": "macvlan",
|
|
"master": "bond0.30",
|
|
"mode": "bridge",
|
|
"ipam": {
|
|
"type": "static",
|
|
"routes": [
|
|
{ "dst": "10.1.2.0/24", "gw": "10.1.3.1" }
|
|
]
|
|
}
|
|
}
|
|
]
|
|
} |