theshire/kubernetes/apps/kube-system/multus/config/net-attach-iot.yaml

23 lines
452 B
YAML
Raw Normal View History

2024-04-14 10:02:37 -05:00
---
apiVersion: "k8s.cni.cncf.io/v1"
kind: NetworkAttachmentDefinition
metadata:
name: multus-iot
spec:
config: |-
{
"cniVersion": "0.3.1",
"name": "multus-iot",
"plugins": [
{
"type": "macvlan",
2024-04-16 20:39:52 -05:00
"master": "bond0.30",
2024-04-14 10:02:37 -05:00
"ipam": {
"type": "static",
"routes": [
{ "dst": "10.1.2.0/24", "gw": "10.1.3.1" }
]
}
}
]
}