add nodeport to config
This commit is contained in:
parent
f4700db7cb
commit
d76adfda90
@ -3,8 +3,10 @@ kind: Service
|
|||||||
metadata:
|
metadata:
|
||||||
name: guestbook-ui
|
name: guestbook-ui
|
||||||
spec:
|
spec:
|
||||||
|
type: NodePort
|
||||||
ports:
|
ports:
|
||||||
- port: 80
|
- port: 80
|
||||||
targetPort: 80
|
targetPort: 80
|
||||||
|
nodePort: 1337
|
||||||
selector:
|
selector:
|
||||||
app: guestbook-ui
|
app: guestbook-ui
|
||||||
|
Loading…
Reference in New Issue
Block a user