naming services

This commit is contained in:
sido committed 2018-06-25 16:27:36 +02:00
1 parent f1c83cf0c0
commit 4f7fc5619f
2 files changed
+6 -3

No files matched your search

+2 -1
View File
@@ -7,6 +7,7 @@ metadata:
spec: spec:
type: NodePort type: NodePort
ports: ports:
- port: 80 - name: httpd
port: 80
selector: selector:
app: httpd app: httpd
+4 -2
View File
@@ -7,7 +7,9 @@ metadata:
spec: spec:
type: ClusterIP type: ClusterIP
ports: ports:
- port: 8081 - name: ui
- port: 5000 port: 8081
- name: docker
port: 5000
selector: selector:
app: nexus app: nexus