generated from phoenix-oss/tenant-tpl
Add overlay lan
This commit is contained in:
parent
46b0108828
commit
7a9b3176e8
1 changed files with 20 additions and 20 deletions
|
@ -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"},
|
||||||
# }
|
]
|
||||||
# }'
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue