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

33 lines
742 B
YAML
Raw Permalink Normal View History

2024-04-14 10:02:37 -05:00
---
2024-04-17 17:12:09 -05:00
# yaml-language-server: $schema=https://ks.hsn.dev/k8s.cni.cncf.io%2Fnetworkattachmentdefinition_v1.json
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-08-08 10:44:51 -05:00
"master": "bond0.30",
2024-04-17 10:24:03 -05:00
"mode": "bridge",
2024-08-08 10:44:51 -05:00
"capabilities": {
"ips": true
},
2024-04-14 10:02:37 -05:00
"ipam": {
"type": "static",
"routes": [
{ "dst": "10.1.2.0/24", "gw": "10.1.3.1" }
]
}
2024-08-08 10:44:51 -05:00
},
{
"capabilities": { "mac": true },
"type": "tuning"
2024-04-14 10:02:37 -05:00
}
]
2024-08-08 10:44:51 -05:00
}