From 0dc8dd9cf8a6e03c3ba75a177579c709d657931f Mon Sep 17 00:00:00 2001 From: Ruben Hensen Date: Thu, 13 Mar 2025 14:11:20 +0100 Subject: [PATCH] Add nodeport svc change port --- mbgwp/local-svc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mbgwp/local-svc.yaml b/mbgwp/local-svc.yaml index b8a383a..43467f1 100644 --- a/mbgwp/local-svc.yaml +++ b/mbgwp/local-svc.yaml @@ -6,8 +6,8 @@ metadata: spec: type: NodePort ports: - - port: 80 # The port the service exposes internally - targetPort: 80 # The port on the pods to which this service forwards traffic + - port: 8080 # The port the service exposes internally + targetPort: 8080 # The port on the pods to which this service forwards traffic nodePort: 30989 # The port on each node to access this service (must be between 30000-32767) selector: app.kubernetes.io/name: wordpress # Selector to match your WordPress pods