title: Ingress controller name for the ingress class
body: <p>I am setting up my ingress controller, ingress class and ingress to expose a service outside the cluster. This is fresh cluster setup.</p>
  <p>I have setup the nginx-ingress controller using</p>
  <p><code>kubectl apply -f https://raw.githubusercontent.com/kubernetes/ingress-nginx/controller-v0.41.0/deploy/static/provider/baremetal/deploy.yaml</code></p>
  <p>The next step based on my understanding is to create the ingress class <a href="https://v1-18.docs.kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class" rel="noreferrer">https://v1-18.docs.kubernetes.io/docs/concepts/services-networking/ingress/#ingress-class</a></p>
  <pre><code>apiVersion: networking.k8s.io/v1beta1
  kind: IngressClass
  metadata:
    name: external-lb
  spec:
    controller: example.com/ingress-controller
    parameters:
      apiGroup: k8s.example.com/v1alpha
      kind: IngressParameters
      name: external-lb
  </code></pre>
  <p><strong>How did they get the name of the controller <code>example.com/ingress-controller</code>?</strong></p>