From 9fbc8db799177e67c6100152ba706c8e934bb73e Mon Sep 17 00:00:00 2001 From: Kuralamudhan Ramakrishnan Date: Tue, 6 Oct 2020 13:19:40 -0700 Subject: fixing interface names for the cni-proxy related cni plugins Signed-off-by: Kuralamudhan Ramakrishnan Change-Id: I136c26213840881087ac18bac0778046807632ac --- ...-replica-2-with-multus-ovn4nfv-annotations.yaml | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 example/ovn4nfv-deployment-replica-2-with-multus-ovn4nfv-annotations.yaml (limited to 'example/ovn4nfv-deployment-replica-2-with-multus-ovn4nfv-annotations.yaml') diff --git a/example/ovn4nfv-deployment-replica-2-with-multus-ovn4nfv-annotations.yaml b/example/ovn4nfv-deployment-replica-2-with-multus-ovn4nfv-annotations.yaml new file mode 100644 index 0000000..7beed49 --- /dev/null +++ b/example/ovn4nfv-deployment-replica-2-with-multus-ovn4nfv-annotations.yaml @@ -0,0 +1,30 @@ +apiVersion: apps/v1 +kind: Deployment +metadata: + name: ovn4nfv-deployment-2-annotation + labels: + app: ovn4nfv-2-annotation +spec: + replicas: 2 + selector: + matchLabels: + app: ovn4nfv-2-annotation + template: + metadata: + labels: + app: ovn4nfv-2-annotation + annotations: + k8s.v1.cni.cncf.io/networks: '[ + { "name": "ovn4nfv-k8s-plugin", + "interface": "net1" + }]' + k8s.v1.cni.cncf.io/networks: ovn4nfv-k8s-plugin + k8s.plugin.opnfv.org/nfn-network: '{ "type": "ovn4nfv", "interface": [{ "name": "ovn-port-net", "interface": "net2" , "defaultGateway": "false"}, + { "name": "ovn-priv-net", "interface": "net3" , "defaultGateway": "false"}]}' + spec: + containers: + - name: ovn4nfv-deployment-2-annotation + image: "busybox" + command: ["top"] + stdin: true + tty: true -- cgit 1.2.3-korg