mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-22 03:25:53 +10:00
[bitnami/zookeeper] Changes to add loadBalancerIP option to service (#4130)
* Changes to add loadBalancerIP option to service * Improve condition * Add commets to values files * Remove trailing spaces * Update bitnami/zookeeper/values-production.yaml Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> * Update bitnami/zookeeper/values.yaml Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> * Update bitnami/zookeeper/README.md Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> * Update bitnami/zookeeper/templates/svc.yaml Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com> Co-authored-by: Francisco de Paz Galán <fdepaz@vmware.com>
This commit is contained in:
co-authored by
Francisco de Paz Galán
parent
9e5c8739f8
commit
eff33a50ea
@@ -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:
|
||||
|
||||
@@ -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` |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user