<p>Hi i have been deploying and exposing my web api container image using azure-devops to azure kubernetes service (container image ) . i have created multiple applications why each application gets new external IP address ? Is it by default when we use type as load balancer ? </p>

<p>I also tried using node port but in node port case external IP is none.</p>

<p><code>deployment deployment-name --type=LoadBalancer --port 80  --name=service-name</code></p>

bilal_khan
<p>yep, this behaviour is by default, if you want them all have the same external IP you should use the ingress resource:</p>

<blockquote>
  <p>Ingress exposes HTTP and HTTPS routes from outside the cluster to
  services within the cluster. Traffic routing is controlled by rules
  defined on the Ingress resource.</p>
</blockquote>

<p>Its a bit of a learning, but its quite mandatory if you want to use kubernetes for anything serious.</p>

<p><a href="https://kubernetes.io/docs/concepts/services-networking/ingress/" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/ingress/</a></p>
