Cannot access Kubernetes Cluster after deleting Load Balancer having custom Ingress

Posted April 22, 2021 267 views
KubernetesDigitalOcean Managed Kubernetes

I’ve recently created a managed Kubernetes cluster, deployed several services with a custom ingress, and I could access correctly the app at the IP provided by the ingress service.

Then I found out a load balancer was created automatically by DigitalOcean, and thinking I already had the ingress I didn’t need it so I deleted it. Now the app is no longer accessible.

I don’t really understand the connection between the cluster and the load balancer.

  • Should a managed cluster always have a DigitalOcean load balancer?
  • I see the cost of a managed cluster starts at 10/month. Is the cost of the load balancer included?

Thanks in advance.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Hi there,

As the load balancer is a separate resource, it is billed separately.

In case that you have a Kubernetes service created with type LoadBalancer, for example:

  type: LoadBalancer
    app: nginx-example
    - name: http
      protocol: TCP
      port: 80
      targetPort: 80

Once you apply this to your cluster, this will automatically spin up a Managed DigitalOcean Load Balancer under your account.

For more information, I could suggest taking a look at the first answer here:


  • Thanks Bobby,

    I understand what happened now. However, I’m not entirely sure why this extra load balancer is needed if the ingress provides an external IP, which I though was the same as the droplet one.

    • Hi there,

      I believe that if you were running an unmanaged Kubernetes cluster this would be the case. However with a managed cluster, if the Service is of type LoadBalancer, the cluster will automatically create a DigitalOcean Load Balancer, through which all external traffic will flow to the Controller.