Add overlay lan

This commit is contained in:
Efstratios Kolovos 2025-07-22 14:37:22 +02:00
parent 7a00f2dac7
commit 48fbc45319
2 changed files with 19 additions and 1 deletions

View file

@ -2,7 +2,6 @@ apiVersion: k8s.cni.cncf.io/v1
kind: NetworkAttachmentDefinition
metadata:
name: lan-ovn-160
namespace: net-demo
spec:
config: |
{

View file

@ -0,0 +1,19 @@
apiVersion: v1
kind: Pod
metadata:
name: dualnet-pod-ovn
annotations:
k8s.v1.cni.cncf.io/networks: |
[
{
"name": "lan-ovn-160",
"namespace": "${TENANT_NAMESPACE}",
"interface": "net1",
}
]
spec:
containers:
- name: toolbox
image: quay.io/centos/centos:stream9
command: [ "/bin/bash", "-c", "sleep infinity" ]
restartPolicy: Never