<p>I installed the nginx ingress controller via the <a href="https://kubernetes.github.io/ingress-nginx/deploy/#using-helm" rel="nofollow noreferrer">helm chart</a>.</p>
<p>Now I wan't to have multiple loadbalancers, how can I scale them up?</p>
<p><strong>EDIT</strong></p>
<p>I don't want to scale the nginx controllers deployment. The helm chart also added the loadbalancer and I'm wondering if I can just create a new loadbalancer or if I do have to add some annotations or smth. like that?</p>
<p>Also would a new loadbalancer automatically forward traffic to the existing nginx-controllers?</p>

natschz
<p>you can simply scale the Nginx deployment replicas using <code>kubectl</code></p>
<pre><code>kubectl scale deployment &lt;nginx-deployment-name&gt; --replicas=5
</code></pre>
<p>example</p>
<pre><code>kubectl scale deployment nginx-ingress-controller -n ingress-nginx --replicas=5
</code></pre>
<p><strong>EDIT</strong></p>
<p>annotations you can configure and add in ingress file.</p>
<p>For example :</p>
<pre><code>apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: unifonic-service-ingress
  annotations:
    kubernetes.io/ingress.class: &quot;nginx&quot;
    cert-manager.io/cluster-issuer: staging
    nginx.ingress.kubernetes.io/proxy-read-timeout: &quot;3600&quot;
    nginx.ingress.kubernetes.io/proxy-send-timeout: &quot;3600&quot;
    nginx.ingress.kubernetes.io/proxy-body-size: &quot;50m&quot;
spec:
  tls:
  - hosts:
    - example.com
    secretName: staging
  rules:
  - host: example.com
    http:
      paths:
      - path: /test
        backend:
          serviceName: main-service
          servicePort: 80
</code></pre>
<p>if you have requirement of running multiple ingress nginx controller for managing public and internal traffic this might be helpful : <a href="https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/#multiple-ingress-nginx-controllers" rel="nofollow noreferrer">https://kubernetes.github.io/ingress-nginx/user-guide/multiple-ingress/#multiple-ingress-nginx-controllers</a></p>
<p><a href="https://docs.nginx.com/nginx-ingress-controller/installation/running-multiple-ingress-controllers/#running-multiple-nginx-ingress-controllers" rel="nofollow noreferrer">https://docs.nginx.com/nginx-ingress-controller/installation/running-multiple-ingress-controllers/#running-multiple-nginx-ingress-controllers</a></p>
<p>if you want to run multiple ingress backend you can divide them by class :</p>
<pre><code> annotations:
    kubernetes.io/ingress.class: &quot;nginx&quot;
</code></pre>
<p>or</p>
<pre><code> annotations:
    kubernetes.io/ingress.class: &quot;gce&quot;
</code></pre>
