From 37ed3b39a2fd0d39583c3e0df3e58b5c15d2a8e6 Mon Sep 17 00:00:00 2001 From: smoskvin Date: Fri, 3 Jun 2022 12:29:20 +0300 Subject: [PATCH] nodeport-2 --- guestbook/guestbook-ui-svc.yaml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/guestbook/guestbook-ui-svc.yaml b/guestbook/guestbook-ui-svc.yaml index ddd9d61..a0b2c23 100644 --- a/guestbook/guestbook-ui-svc.yaml +++ b/guestbook/guestbook-ui-svc.yaml @@ -5,8 +5,10 @@ metadata: spec: type: NodePort ports: - - port: 80 - targetPort: 80 - nodePort: 30036 + - name: http + port: 80 + targetPort: 80 + nodePort: 30036 + protocol: TCP selector: app: guestbook-ui