From d76adfda90c121f6c8c29a7c396e8f233e0d708e Mon Sep 17 00:00:00 2001 From: Mans Ziesel Date: Thu, 19 Sep 2024 19:48:37 +0200 Subject: [PATCH] add nodeport to config --- guestbook/guestbook-ui-svc.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/guestbook/guestbook-ui-svc.yaml b/guestbook/guestbook-ui-svc.yaml index e8a4a27..8a20f94 100644 --- a/guestbook/guestbook-ui-svc.yaml +++ b/guestbook/guestbook-ui-svc.yaml @@ -3,8 +3,10 @@ kind: Service metadata: name: guestbook-ui spec: + type: NodePort ports: - port: 80 targetPort: 80 + nodePort: 1337 selector: app: guestbook-ui