1
0
Fork 0

naming services

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

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

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