<p>Is there a way to keep the same external IP that current load balancer has even when I make a new deployment?</p>

<p>When I delete the deployment connected to the load balancer, load balancer still stays so is it possible to connect a new deployment to that existing load balancer?</p>

J.S.C
<p>yes, you can pass the externalIP in the service object's yaml file. </p>

<p>Try following this -</p>

<pre><code>apiVersion: v1
kind: Service
metadata:
  name: my-service
spec:
  selector:
    app: MyApp
  ports:
    - protocol: TCP
      port: 80
      targetPort: 9376
  loadBalancerIP: 78.11.24.19
  type: LoadBalancer
</code></pre>

<p>Please refer to <a href="https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer" rel="nofollow noreferrer">https://kubernetes.io/docs/concepts/services-networking/service/#loadbalancer</a> for more info on this</p>
