generated from phoenix-oss/tenant-tpl
Add overlay lan
This commit is contained in:
parent
7a00f2dac7
commit
48fbc45319
2 changed files with 19 additions and 1 deletions
|
@ -2,7 +2,6 @@ apiVersion: k8s.cni.cncf.io/v1
|
||||||
kind: NetworkAttachmentDefinition
|
kind: NetworkAttachmentDefinition
|
||||||
metadata:
|
metadata:
|
||||||
name: lan-ovn-160
|
name: lan-ovn-160
|
||||||
namespace: net-demo
|
|
||||||
spec:
|
spec:
|
||||||
config: |
|
config: |
|
||||||
{
|
{
|
||||||
|
|
19
test-connectivity/app/test-connectivity/pod/pod.yaml
Normal file
19
test-connectivity/app/test-connectivity/pod/pod.yaml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue