apiVersion: v1
kind: Service
metadata:
  name: my-node-app-service
spec:
  selector:
    app: my-node-app
  ports:
  - protocol: TCP
    port: 80  # The port that the service will expose
    targetPort: 3000  # The port your application is listening on
    nodePort: 30080  # The port on the node (host machine) that will forward traffic to your application
  type: NodePort  # Change from LoadBalancer to NodePort
