UEB port is not open on all K8S cluster's hosts 47/30147/3
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Fri, 2 Feb 2018 13:37:54 +0000 (08:37 -0500)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Fri, 2 Feb 2018 13:41:06 +0000 (08:41 -0500)
Change-Id: Ifc9c9bfe03dbc5b5f94e4c532d42b2c973748738
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Issue-ID: OOM-654

kubernetes/config/onap-parameters-sample.yaml
kubernetes/config/onap-parameters.yaml
kubernetes/dcaegen2/templates/nginx-service.yaml
kubernetes/dcaegen2/values.yaml

index 2ce5a1c..5f13bf8 100644 (file)
@@ -1,5 +1,13 @@
 # For information regarding those parameters, please visit http://onap.readthedocs.io/en/latest/submodules/dcaegen2.git/docs/sections/installation_heat.html
 
+
+# --------------------------------------------- #
+# IMPORTANT:
+# If you're running a K8S cluster, please add   #
+# your Node IPs in ../dcaegen2/values.yaml      #
+# --------------------------------------------- #
+
+
 #################
 # COMMON CONFIG #
 #################
index 5a66d2e..65446ea 100644 (file)
@@ -1,5 +1,13 @@
 # For information regarding those parameters, please visit http://onap.readthedocs.io/en/latest/submodules/dcaegen2.git/docs/sections/installation_heat.html
 
+
+# --------------------------------------------- #
+# IMPORTANT:
+# If you're running a K8S cluster, please add   #
+# your Node IPs in ../dcaegen2/values.yaml      #
+# --------------------------------------------- #
+
+
 #################
 # COMMON CONFIG #
 #################
index ce16001..3ed3e56 100644 (file)
@@ -34,4 +34,23 @@ spec:
   selector:
     app: nginx
   type: LoadBalancer
+  externalIPs:
+  {{ if .Values.externalIp1 }}
+  - {{ .Values.externalIp1 }}
+  {{ end }}
+  {{ if .Values.externalIp2 }}
+  - {{ .Values.externalIp2 }}
+  {{ end }}
+  {{ if .Values.externalIp3 }}
+  - {{ .Values.externalIp3 }}
+  {{ end }}
+  {{ if .Values.externalIp4 }}
+  - {{ .Values.externalIp4 }}
+  {{ end }}
+  {{ if .Values.externalIp5 }}
+  - {{ .Values.externalIp5 }}
+  {{ end }}
+  {{ if .Values.externalIp6 }}
+  - {{ .Values.externalIp6 }}
+  {{ end }}
   externalTrafficPolicy: Local
\ No newline at end of file
index d446c6b..68cfac6 100644 (file)
@@ -6,4 +6,14 @@ nginx:
   tag: stable
 heat_bootstrap:
   repository: ubuntu
-  tag: xenial
\ No newline at end of file
+  tag: xenial
+
+# Those are the IPs of the nodes in your K8S cluster.
+# You don't need to touch this is you have just one node.
+# If you have more than 6 nodes, edit the templates/nginx-service.yaml to add more entries.
+externalIp1:
+externalIp2:
+externalIp3:
+externalIp4:
+externalIp5:
+externalIp6:
\ No newline at end of file