apiVersion: v1
kind: Service
metadata:
    name: nginx-svc-np
    labels:
        app: nginx-svc-np
spec:
    selector:
        app: nginx-app
    type: NodePort
    ports:
        - nodePort: 31000
          port: 80
          targetPort: 80
