apiVersion: v1
kind: Service
metadata:
  name: ingress-nginx
  namespace: ingress-nginx
spec:
  type: NodePort
  ports:
  - name: http
    port: 80
    nodePort: 30080
    protocol: TCP
  - name: https
    port: 443
    nodePort: 30443
    protocol: TCP
  selector:
    app: ingress-nginx