Search
Varnish Helm Chart

LoadBalancer

LoadBalancer extends over ClusterIP and NodePort by automatically configuring an external load balancer to forward a port to a NodePort. This type of service allows Kubernetes services to be exposed directly on the internet. The target port to forward to is specified in server.service.http.port and server.service.https.port for HTTP and HTTPS, respectively.

The availability and behavior of LoadBalancer are implementation-dependent. Please consult the documentation for the Kubernetes platform for more information.

Basic configuration

To access Varnish Enterprise using LoadBalancer, set service.type to LoadBalancer:

---
server:
  # ...previous configurations

  service:
    enabled: true
    type: "LoadBalancer"