aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHuabingZhao <zhao.huabing@zte.com.cn>2017-09-12 04:17:56 -0400
committerHuabingZhao <zhao.huabing@zte.com.cn>2017-09-12 05:25:32 -0400
commit1ed45d96b299ef56520c204abb62f7f6fe165004 (patch)
tree8f9041392ce5e85d979afed6ce8a29775909f2ba
parent06cd2a7605975cdb6c36570d2a0503c850853366 (diff)
Remove cluster IP
Use domain name instead of IP, so a fixed cluster IP is not needed anymore. Issue-Id: OOM-113 Change-Id: Idd0444d4a9ff9b366e73316a7c6f26ffcd5ff725 Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
-rw-r--r--kubernetes/msb/templates/all-services.yaml48
1 files changed, 24 insertions, 24 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml
index aeb4f5e9b0..f752608984 100644
--- a/kubernetes/msb/templates/all-services.yaml
+++ b/kubernetes/msb/templates/all-services.yaml
@@ -34,27 +34,27 @@ kind: Service
metadata:
name: msb-iag
namespace: "{{ .Values.nsPrefix }}-msb"
- labels:
- app: msb-iag
- spec:
- ports:
- - port: {{ .Values.iagPort }}
- nodePort: {{ .Values.iagNodePort }}
- selector:
- app: msb-iag
- type: NodePort
- ---
- apiVersion: v1
- kind: Service
- metadata:
- name: msb-eag
- namespace: "{{ .Values.nsPrefix }}-msb"
- labels:
- app: msb-eag
- spec:
- ports:
- - port: {{ .Values.eagPort }}
- nodePort: {{ .Values.eagNodePort }}
- selector:
- app: msb-eag
- type: NodePort \ No newline at end of file
+ labels:
+ app: msb-iag
+spec:
+ ports:
+ - port: {{ .Values.iagPort }}
+ nodePort: {{ .Values.iagNodePort }}
+ selector:
+ app: msb-iag
+ type: NodePort
+---
+apiVersion: v1
+kind: Service
+metadata:
+ name: msb-eag
+ namespace: "{{ .Values.nsPrefix }}-msb"
+ labels:
+ app: msb-eag
+spec:
+ ports:
+ - port: {{ .Values.eagPort }}
+ nodePort: {{ .Values.eagNodePort }}
+ selector:
+ app: msb-eag
+ type: NodePort