From 4f7fc5619fcc4f525b560509d4e1e4f26b5ebcb1 Mon Sep 17 00:00:00 2001 From: sido Date: Mon, 25 Jun 2018 16:27:36 +0200 Subject: [PATCH] naming services --- nexus/v1.0.0/templates/httpd-service.yaml | 3 ++- nexus/v1.0.0/templates/nexus-service.yaml | 6 ++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nexus/v1.0.0/templates/httpd-service.yaml b/nexus/v1.0.0/templates/httpd-service.yaml index f761fba..0a99e66 100644 --- a/nexus/v1.0.0/templates/httpd-service.yaml +++ b/nexus/v1.0.0/templates/httpd-service.yaml @@ -7,6 +7,7 @@ metadata: spec: type: NodePort ports: - - port: 80 + - name: httpd + port: 80 selector: app: httpd diff --git a/nexus/v1.0.0/templates/nexus-service.yaml b/nexus/v1.0.0/templates/nexus-service.yaml index 3b66c21..770c4cc 100644 --- a/nexus/v1.0.0/templates/nexus-service.yaml +++ b/nexus/v1.0.0/templates/nexus-service.yaml @@ -7,7 +7,9 @@ metadata: spec: type: ClusterIP ports: - - port: 8081 - - port: 5000 + - name: ui + port: 8081 + - name: docker + port: 5000 selector: app: nexus