title: multiple ingress controller in kubernetes
body: <p>I've a microservice architecture running on baremetal kubernetes cluster.We've mainly two services out of which one is to be exposed publically whereas the other service is to be made available internally. I'm using ingress nginx to expose my service internally,but now i have to expose the other service also,so i thought of using another ingress controller for that.
  When i'm trying to deploy another ingress controller in different namespace,I'm getting error like :</p>
  <p>Error: Failed to watch *v1.Endpoints: failed to list *v1.Endpoints: endpoints is forbidden: User &quot;system:serviceaccount:ingress-nginx:ingress-nginx&quot; cannot list resource &quot;endpoints&quot; in API group &quot;&quot; at the cluster scope</p>
  <p>and my first ingress also stops working properly.</p>
  <p>The ingress deployment yaml which i'm using is:<br />
  kubectl apply -f <a href="https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.0/deploy/static/provider/baremetal/deploy.yaml" rel="nofollow noreferrer">https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v1.1.0/deploy/static/provider/baremetal/deploy.yaml</a></p>
  <p>Whereas,the second ingress yaml which i'm using in another namespace is :                                       <a href="https://github.com/wali97/second-ingress-controller.yaml/blob/main/ingress.yaml" rel="nofollow noreferrer">https://github.com/wali97/second-ingress-controller.yaml/blob/main/ingress.yaml</a></p>