diff --git a/bitnami/zookeeper/Chart.yaml b/bitnami/zookeeper/Chart.yaml index f662c0579..ec20521fe 100644 --- a/bitnami/zookeeper/Chart.yaml +++ b/bitnami/zookeeper/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v1 name: zookeeper -version: 5.22.2 +version: 5.23.0 appVersion: 3.6.2 description: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services for distributed applications. keywords: diff --git a/bitnami/zookeeper/README.md b/bitnami/zookeeper/README.md index c86eeb297..e1fc3ec5c 100644 --- a/bitnami/zookeeper/README.md +++ b/bitnami/zookeeper/README.md @@ -127,6 +127,7 @@ The following tables lists the configurable parameters of the ZooKeeper chart an | Parameter | Description | Default | |---------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------| | `service.type` | Kubernetes Service type | `ClusterIP` | +| `service.loadBalancerIP` | Use with service.type `LoadBalancer` to assign static IP to Load Balancer instance | `""` | | `service.port` | ZooKeeper port | `2181` | | `service.followerPort` | ZooKeeper follower port | `2888` | | `service.electionPort` | ZooKeeper election port | `3888` | diff --git a/bitnami/zookeeper/templates/svc.yaml b/bitnami/zookeeper/templates/svc.yaml index 97e0c1c30..c3d8a9dcc 100644 --- a/bitnami/zookeeper/templates/svc.yaml +++ b/bitnami/zookeeper/templates/svc.yaml @@ -19,6 +19,9 @@ metadata: {{- end }} spec: type: {{ .Values.service.type }} + {{- if and (.Values.service.loadBalancerIP) (eq .Values.service.type "LoadBalancer") }} + loadBalancerIP: {{ .Values.service.loadBalancerIP }} + {{- end }} ports: {{ if not .Values.service.tls.disable_base_client_port }} - name: tcp-client diff --git a/bitnami/zookeeper/values-production.yaml b/bitnami/zookeeper/values-production.yaml index 1fde0d20c..6d580eab1 100644 --- a/bitnami/zookeeper/values-production.yaml +++ b/bitnami/zookeeper/values-production.yaml @@ -207,6 +207,10 @@ dataLogDir: "" ## service: type: ClusterIP + ## loadBalancerIP for the Zookeper Service (optional, cloud specific) + ## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer + ## + # loadBalancerIP: port: 2181 followerPort: 2888 electionPort: 3888 diff --git a/bitnami/zookeeper/values.yaml b/bitnami/zookeeper/values.yaml index a8870684e..3526ecc1c 100644 --- a/bitnami/zookeeper/values.yaml +++ b/bitnami/zookeeper/values.yaml @@ -206,6 +206,10 @@ dataLogDir: "" ## service: type: ClusterIP + ## loadBalancerIP for the Zookeper Service (optional, cloud specific) + ## ref: http://kubernetes.io/docs/user-guide/services/#type-loadbalancer + ## + # loadBalancerIP: port: 2181 followerPort: 2888 electionPort: 3888