Implement M-CORD Services in Multi-cluster's configuration
Change-Id: Ie7b6cf0c4d010edd75efd4049bc8ac8fbb41cfc4
diff --git a/mcord/mcord-data-plane/Chart.yaml b/mcord/mcord-data-plane/Chart.yaml
index e65b958..55af2f7 100644
--- a/mcord/mcord-data-plane/Chart.yaml
+++ b/mcord/mcord-data-plane/Chart.yaml
@@ -18,4 +18,4 @@
appVersion: "1.0"
description: A Helm chart for MCORD Data Plane Services
name: mcord-data-plane
-version: 0.2.3
+version: 0.3.0
diff --git a/mcord/mcord-data-plane/templates/dp.yaml b/mcord/mcord-data-plane/templates/dp.yaml
index 71bcd47..4038394 100644
--- a/mcord/mcord-data-plane/templates/dp.yaml
+++ b/mcord/mcord-data-plane/templates/dp.yaml
@@ -49,6 +49,7 @@
app: ngic-dp
spec:
replicas: {{ .Values.ngic_dp.replicas }}
+
selector:
matchLabels:
app: ngic-dp
@@ -63,6 +64,8 @@
{ "name": "sgi-net", "interface": "sgi-net", "namespace": "default" }
]'
spec:
+ nodeSelector:
+ kubernetes.io/hostname: "node3"
initContainers:
- name: init-iptables
image: {{ .Values.ngic_dp.images.init }}
diff --git a/mcord/mcord-data-plane/values.yaml b/mcord/mcord-data-plane/values.yaml
index c0d7a29..3fcdcb0 100644
--- a/mcord/mcord-data-plane/values.yaml
+++ b/mcord/mcord-data-plane/values.yaml
@@ -21,8 +21,9 @@
redis_hostname: "redis"
accelleran_hostname: "accelleran"
mme_hostname: "mme"
-controlplane_hostname: "ngic-cp"
-controlplane_port: 21
+# CP is on REMOTE node2
+controlplane_hostname: "10.90.0.132"
+controlplane_port: 31311
ngic_dp:
images: