Define one more SR-IOV network for NetDevice type
SPGW-U and the other regular network applications (e.g., CDN and BBU/CU)
use SR-IOV/VFIO and SR-IOV/NetDevice, respectively.
Thus, need to define one more SR-IOV network.
Change-Id: Iff331fcb8f2040ce4127be5d591c6bd4e1aa32bd
diff --git a/mcord-release/cdn-services/cdn-local/templates/nginx.yaml b/mcord-release/cdn-services/cdn-local/templates/nginx.yaml
index c2ef758..8b97592 100644
--- a/mcord-release/cdn-services/cdn-local/templates/nginx.yaml
+++ b/mcord-release/cdn-services/cdn-local/templates/nginx.yaml
@@ -43,7 +43,7 @@
app: nginx-rtmp
annotations:
k8s.v1.cni.cncf.io/networks: '[
- { "name": "sgi-net", "interface": "sgi-net", "namespace": "default" }
+ { "name": "sgi-net-nd", "interface": "sgi-net-nd" }
]'
spec:
#hostNetwork: true
@@ -89,7 +89,7 @@
mountPath: /conf
resources:
limits:
- intel.com/sriov: '2'
+ intel.com/sriov_netdevice: '2'
volumes:
- name: nginx-rtmp-config
configMap: