<p>I am trying to use Traefik as a Kubernetes Ingress on Azure Kubernetes Service. While there are docs that provide information on <a href="https://learn.microsoft.com/de-de/azure/aks/ingress-static-ip" rel="nofollow noreferrer">how to do that with Kubernetes Ingress</a>, I cannot find information about how to do that with Traefik Ingress.</p>
<p>Has anyone out there achieved that and can help?</p>
<p>PS. I am using Helm to install Traefik</p>

MeBNoah
<p>In the meanwhile I found it, so I am going to answer my own question.</p>
<p>Like @mashov said you need</p>
<pre><code>service:
  spec:
  loadBalancerIP: YOURIP
</code></pre>
<p>But also you need to add the following annotation</p>
<pre><code>service:
  spec:
  annotations:
  &quot;service.beta.kubernetes.io/azure-load-balancer-resource-group&quot;: &quot;Resource Group that contains public IP&quot;
</code></pre>
<p>Therefore your AKS identity needs to have the role &quot;Network Contributor&quot; on the resource group that holds the public IP</p>
