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

25 lines
582 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-04-17 08:40:49 -05:00
"master": "bond0",
2024-04-17 10:24:03 -05:00
"mode": "bridge",
2024-04-14 10:02:37 -05:00
"ipam": {
"type": "static",
"routes": [
{ "dst": "10.1.2.0/24", "gw": "10.1.3.1" }
]
}
}
]
}