summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
8182ba9)
Issue-Id: OOM-113
Change-Id: I41e6f72337a15c1d07b444b09171204d8eb378ec
Signed-off-by: HuabingZhao <zhao.huabing@zte.com.cn>
labels:
app: msb-consul
spec:
labels:
app: msb-consul
spec:
- clusterIP: "{{ .Values.consulClusterIP }}"
ports:
- port: {{ .Values.consulPort }}
nodePort: {{ .Values.consulNodePort }}
ports:
- port: {{ .Values.consulPort }}
nodePort: {{ .Values.consulNodePort }}
metadata:
name: msb-iag
namespace: "{{ .Values.nsPrefix }}-msb"
metadata:
name: msb-iag
namespace: "{{ .Values.nsPrefix }}-msb"
- labels:
- app: msb-iag
-spec:
- clusterIP: "{{ .Values.iagClusterIP }}"
- 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:
- clusterIP: "{{ .Values.eagClusterIP }}"
- 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
\ No newline at end of file
name: "msb-discovery"
env:
- name: CONSUL_IP
name: "msb-discovery"
env:
- name: CONSUL_IP
- value: "{{ .Values.consulClusterIP }}"
+ value: msb-consul.{{ .Values.nsPrefix }}-msb
ports:
- containerPort: {{ .Values.discoveryPort }}
name: msb-discovery
ports:
- containerPort: {{ .Values.discoveryPort }}
name: msb-discovery
name: "msb-eag"
env:
- name: CONSUL_IP
name: "msb-eag"
env:
- name: CONSUL_IP
- value: "{{ .Values.consulClusterIP}}"
+ value: msb-consul.{{ .Values.nsPrefix }}-msb
- name: SDCLIENT_IP
value: "{{ .Values.discoveryClusterIP}}"
- name: ROUTE_LABELS
- name: SDCLIENT_IP
value: "{{ .Values.discoveryClusterIP}}"
- name: ROUTE_LABELS
name: "msb-iag"
env:
- name: CONSUL_IP
name: "msb-iag"
env:
- name: CONSUL_IP
- value: "{{ .Values.consulClusterIP}}"
+ value: msb-consul.{{ .Values.nsPrefix }}-msb
- name: SDCLIENT_IP
value: "{{ .Values.discoveryClusterIP}}"
- name: ROUTE_LABELS
- name: SDCLIENT_IP
value: "{{ .Values.discoveryClusterIP}}"
- name: ROUTE_LABELS
discovery: nexus3.onap.org:10001/onap/msb/msb_discovery:latest
apigateway: nexus3.onap.org:10001/onap/msb/msb_discovery:latest
discovery: nexus3.onap.org:10001/onap/msb/msb_discovery:latest
apigateway: nexus3.onap.org:10001/onap/msb/msb_discovery:latest
-consulClusterIP: 10.43.6.204
consulPort: 8500
consulNodePort: 30500
consulPort: 8500
consulNodePort: 30500
+# Should remove cluster IP after domain name is supported by API gateway
discoveryClusterIP: 10.43.6.205
discoveryPort: 10081
discoveryNodePort: 30081
discoveryReplicas: 1
discoveryClusterIP: 10.43.6.205
discoveryPort: 10081
discoveryNodePort: 30081
discoveryReplicas: 1
-iagClusterIP: 10.43.6.206
iagPort: 80
iagNodePort: 30080
iagReplicas: 1
iagPort: 80
iagNodePort: 30080
iagReplicas: 1
-eagClusterIP: 10.43.6.207
eagPort: 80
eagNodePort: 30082
eagReplicas: 1
\ No newline at end of file
eagPort: 80
eagNodePort: 30082
eagReplicas: 1
\ No newline at end of file