diff options
author | rui hu <hu.rui2@zte.com.cn> | 2017-08-29 07:04:39 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-08-29 07:04:39 +0000 |
commit | 5fd21946076a6f9dc53fc63efc11374cb3b2ac81 (patch) | |
tree | cacdd3d477a3ecdbe0bcf8aeaf8e144196efa0bb /kubernetes/msb/templates/all-services.yaml | |
parent | a04f9e044a6775d3ee874947b82289f50cc4b645 (diff) | |
parent | c2b4fcf13261eb3c363e3e981522ef112a1dbf16 (diff) |
Merge "MSB discovery service k8s deployment"
Diffstat (limited to 'kubernetes/msb/templates/all-services.yaml')
-rw-r--r-- | kubernetes/msb/templates/all-services.yaml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kubernetes/msb/templates/all-services.yaml b/kubernetes/msb/templates/all-services.yaml index fee2586223..ea66c31350 100644 --- a/kubernetes/msb/templates/all-services.yaml +++ b/kubernetes/msb/templates/all-services.yaml @@ -11,4 +11,19 @@ spec: nodePort: "{{ .Values.consulNodePort }}" selector: app: msb-consul + type: NodePort +--- +apiVersion: v1 +kind: Service +metadata: + name: msb-discovery + labels: + app: msb-discovery +spec: + clusterIP: "{{ .Values.discoveryClusterIP }}" + ports: + - port: {{ .Values.discoveryPort }} + nodePort: {{ .Values.discoveryNodePort }} + selector: + app: msb-discovery type: NodePort
\ No newline at end of file |