apiVersion: v1
kind: Service
metadata:
  name: nginx-service
  namespace: monprojet
spec:
  type: NodePort
  selector:
    app: nginx
  ports:
    - protocol: TCP
      port: 80
      nodePort: 30007
