apiVersion: v1
kind: Service
metadata:
  name: nginx-ejemplo2
spec:
  type: NodePort
  ports:
  - name: service-http
    port: 80
    targetPort: http-server
  selector:
    app: nginx
