diff --git a/mbgwp/local-svc.yaml b/mbgwp/local-svc.yaml new file mode 100644 index 0000000..b8a383a --- /dev/null +++ b/mbgwp/local-svc.yaml @@ -0,0 +1,14 @@ +apiVersion: v1 +kind: Service +metadata: + name: wordpress-external + namespace: mbgwp +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 + 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 + app.kubernetes.io/instance: mbgwp-helm # This might need adjustment based on your helm release