Browse Source

nodeport-3

pull/145/head
smoskvin 3 years ago
parent
commit
d2c49bd90b
  1. 10
      guestbook/guestbook-ui-svc.yaml

10
guestbook/guestbook-ui-svc.yaml

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

Loading…
Cancel
Save