Exposing the ngic-dp, bbu and mme containers as NodePort(s)
Change-Id: Ib2d967a3df79c18779aabb69fa61b5dcb9aa0faa
diff --git a/mcord/mcord-control-plane/templates/mme.yaml b/mcord/mcord-control-plane/templates/mme.yaml
index 8b4eef9..e74085d 100644
--- a/mcord/mcord-control-plane/templates/mme.yaml
+++ b/mcord/mcord-control-plane/templates/mme.yaml
@@ -34,6 +34,28 @@
port: {{ .Values.mme.ports.s6a }}
protocol: TCP
---
+apiVersion: v1
+kind: Service
+metadata:
+ name: mme
+spec:
+ selector:
+ app: mme
+ type: NodePort
+ ports:
+ - name: s11
+ port: {{ .Values.mme.ports.s11 }}
+ nodePort: {{ .Values.mme.ports.s11_external }}
+ protocol: TCP
+ - name: s1ap
+ port: {{ .Values.mme.ports.s1ap }}
+ nodePort: {{ .Values.mme.ports.s1ap_external }}
+ protocol: TCP
+ - name: s6a
+ port: {{ .Values.mme.ports.s6a }}
+ nodePort: {{ .Values.mme.ports.s6a_external }}
+ protocol: TCP
+---
apiVersion: apps/v1
kind: StatefulSet
metadata: