Disable K8s LoadBalancer service "neo4j-lb-neo4j" with external IP in Neo4j Helm deployment

When I deploy neo4j/neo4j using Helm with the release name my-neo4j in a Kubernetes cluster, three services are created:

  • neo4j-lb-neo4j of type LoadBalancer with an external IP address assigned
  • my-neo4j of type ClusterIP
  • my-neo4j-admin of type ClusterIP

Since I want to access the database using the my-neo4j service only, I want to disable the service neo4j-lb-neo4j of type LoadBalancer. How can this be done using the configuration in the Helm values.yaml configuration file?

Please check the values.jaml file in the helm chart.

Especially this part:

# Services for Neo4j
services:
  # A ClusterIP service with the same name as the Helm Release name should be used for Neo4j Driver connections originating inside the
  # Kubernetes cluster.
  default:
    # Annotations for the K8s Service object
    annotations: { }

  # A LoadBalancer Service for external Neo4j driver applications and Neo4j Browser
  neo4j:
    enabled: true

I use an existing loadbalancer so i disabled the one form Neo4J

services:
neo4j:
enabled: false

Thank you, setting services.neo4j.enabled to false solved it for me.