Issue with my ingress resoruce - all hosts are taken by other resources

Hi @rajasekhar.yannam , thanks posting this issue. This has been answered in a previous AMA with the team; see here.

TLDR; this can be solved by using the following annotation nginx.org/mergeable-ingress-type: "master".

Example:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: cafe-ingress-master
  annotations:
    nginx.org/mergeable-ingress-type: "master"
spec:
  ingressClassName: nginx
  tls:
  - hosts:
    - cafe.example.com
    secretName: cafe-secret
  rules:
  - host: cafe.example.com

and the Ingress Minion can be configured using the following:

apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
  name: cafe-ingress-tea-minion
  annotations:
    nginx.org/mergeable-ingress-type: "minion"
spec:
  ingressClassName: nginx
  rules:
  - host: cafe.example.com
    http:
      paths:
      - path: /tea
        pathType: Prefix
        backend:
          service:
            name: tea-svc
            port:
              number: 80

Heres a link to the offical docs: Ingresses Path Matching Using Path-Regex Annotation | NGINX Documentation

Let me know if this solves your issue.