add nodeport to config

This commit is contained in:
Mans Ziesel 2024-09-19 19:48:37 +02:00
parent f4700db7cb
commit d76adfda90

View File

@ -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