summaryrefslogtreecommitdiffstats
path: root/kubernetes/cli/templates/all-service.yaml
diff options
context:
space:
mode:
authorEC2 Default User <chenxiaobo99@hotmail.com>2018-01-18 03:31:47 +0000
committerEC2 Default User <chenxiaobo99@hotmail.com>2018-01-18 03:35:43 +0000
commit745a5751080706cbc89c36826a627fd30c5eaa8e (patch)
tree7ada5b21f1b870bf3e35426681609b39f40534d8 /kubernetes/cli/templates/all-service.yaml
parentd9f6ecd1c5b5296d8bb198b13430d437a6f7a54a (diff)
Exposed 8080 and 9090 ports in onap-cli
Exposed 8080 and 9090 ports in onap-cli kubernetes service to enable access CLI in webpage Issue-ID: OOM-589 Change-Id: I41c30356ab06473da2ffe86096f98408ca37f69a Signed-off-by: EC2 Default User <chenxiaobo99@hotmail.com>
Diffstat (limited to 'kubernetes/cli/templates/all-service.yaml')
-rw-r--r--kubernetes/cli/templates/all-service.yaml10
1 files changed, 7 insertions, 3 deletions
diff --git a/kubernetes/cli/templates/all-service.yaml b/kubernetes/cli/templates/all-service.yaml
index e848bfdc38..24e19792e1 100644
--- a/kubernetes/cli/templates/all-service.yaml
+++ b/kubernetes/cli/templates/all-service.yaml
@@ -8,11 +8,15 @@ metadata:
app: cli
spec:
ports:
- - name: 80-port
- port: 80
+ - name: 8080-port
+ port: 8080
targetPort: 80
nodePort: {{ .Values.nodePortPrefix }}60
+ - name: 9090-port
+ port: 9090
+ targetPort: 8080
+ nodePort: {{ .Values.nodePortPrefix }}61
type: NodePort
selector:
app: cli
-#{{ end }} \ No newline at end of file
+#{{ end }}