Add overlay lan

This commit is contained in:
Efstratios Kolovos 2025-07-22 14:21:11 +02:00
parent 46b0108828
commit 7a9b3176e8

View file

@ -1,20 +1,20 @@
# apiVersion: "k8s.cni.cncf.io/v1" apiVersion: k8s.cni.cncf.io/v1
# kind: NetworkAttachmentDefinition kind: NetworkAttachmentDefinition
# metadata: metadata:
# name: lan-net name: lan-ovn-160
# namespace: ${TENANT_NAMESPACE} namespace: net-demo
# spec: spec:
# config: '{ config: |
# "cniVersion": "0.3.1", {
# "type": "bridge", "cniVersion": "0.3.1",
# "bridge": "br-lan", "type": "ovn-k8s-cni-overlay",
# "ipam": { "name": "lan-ovn-160",
# "type": "static", "topology": "layer2",
# "addresses": [ "subnets": [
# { {"cidr": "192.168.160.0/24"}
# "address": "172.168.100.2/24", ],
# "gateway": "172.168.100.1" "mtu": 1400,
# } "routes": [
# ] {"dst": "10.60.0.0/16", "gw": "192.168.10.1"},
# } ]
# }' }