06/05/2020, 10:47 AM
I'm deploying a nginx-ingress helm chart on AKS to provision a private loadbalancer.
new k8s.helm.v3.Chart(name, {
    chart: "nginx-ingress",
    version: "1.36.3",
    fetchOpts: {
        repo: "<>",
    values: {
        controller: {
            service: {
                loadBalancerIP: props.backendIpAddress,
                annotations: {
                    "<|>": "true"
In my case the cluster gets recreated and the Kubernetes provider tries to deploy the helm chart on the new cluster with the same IP address. Because the IP address is still allocated by the old loadbalancer, it will fail. Do you got any ideas on how to delete the old service/loadbalancer before the new one gets created?