Browse Source

nodeport-2

pull/145/head
smoskvin 3 years ago
parent
commit
37ed3b39a2
  1. 4
      guestbook/guestbook-ui-svc.yaml

4
guestbook/guestbook-ui-svc.yaml

@ -5,8 +5,10 @@ metadata:
spec: spec:
type: NodePort type: NodePort
ports: ports:
- port: 80 - name: http
port: 80
targetPort: 80 targetPort: 80
nodePort: 30036 nodePort: 30036
protocol: TCP
selector: selector:
app: guestbook-ui app: guestbook-ui

Loading…
Cancel
Save