apiVersion: apps/v1 kind: Deployment metadata: name: slb labels: app: slb spec: replicas: 1 selector: matchLabels: app: slb template: metadata: labels: app: slb annotations: k8s.plugin.opnfv.org/nfn-network: '{ "type": "ovn4nfv", "interface": [{ "name": "left-pnetwork", "interface": "net0" }, { "name": "dync-net1", "interface": "net1" }]}' spec: containers: - name: slb image: rkamudhan/netshoot:v1.0 imagePullPolicy: IfNotPresent stdin: true tty: true securityContext: privileged: true capabilities: add: ["NET_ADMIN"] --- apiVersion: apps/v1 kind: Deployment metadata: name: ngfw labels: app: ngfw spec: replicas: 1 selector: matchLabels: app: ngfw template: metadata: labels: app: ngfw annotations: k8s.plugin.opnfv.org/nfn-network: '{ "type": "ovn4nfv", "interface": [{ "name": "dync-net1", "interface": "net0" }, { "name": "dync-net2", "interface": "net1" }]}' spec: containers: - name: ngfw image: rkamudhan/netshoot:v1.0 imagePullPolicy: IfNotPresent stdin: true tty: true securityContext: privileged: true capabilities: add: ["NET_ADMIN"] --- apiVersion: v1 data: entrypoint.sh: |- #!/bin/bash # Always exit on errors. set -ex echo "" > /etc/config/network cat > /etc/config/mwan3 <> /etc/config/network <> /etc/config/mwan3 <