mirror of
https://github.com/bitnami/charts.git
synced 2026-03-16 06:47:30 +08:00
[bitnami/consul] Add configurable service session affinity (#3640)
* Add configurable session affinity * Bump version of Consul chart * Update README with new value * Added sessionAffinity to values-production.yaml * Align use of spaces in consul-service.yaml
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
apiVersion: v1
|
||||
name: consul
|
||||
version: 7.1.8
|
||||
version: 7.2.0
|
||||
appVersion: 1.8.3
|
||||
description: Highly available and distributed service discovery and key-value store designed with support for the modern data center to make distributed systems and configuration easy.
|
||||
home: https://github.com/bitnami/charts/tree/master/bitnami/consul
|
||||
|
||||
@@ -111,6 +111,7 @@ The following tables lists the configurable parameters of the HashiCorp Consul c
|
||||
| `service.serverPort` | Container server listening port | `8300` |
|
||||
| `service.consulDnsPort` | Container dns listening port | `8600` |
|
||||
| `service.uiPort` | HashiCorp Consul UI port | `80` |
|
||||
| `service.sessionAffinity` | Session affinity of the service | `None` |
|
||||
| `ui.service.enabled` | Use a service to access HashiCorp Consul Ui | `true` |
|
||||
| `ui.service.type` | Kubernetes Service Type | `ClusterIP` |
|
||||
| `ui.service.nodePort` | Kubernetes node port for HashiCorp Consul UI | `""` |
|
||||
|
||||
@@ -20,11 +20,12 @@ spec:
|
||||
protocol: "UDP"
|
||||
port: {{ .Values.service.serflanPort }}
|
||||
- name: server
|
||||
port: {{.Values.service.serverPort}}
|
||||
port: {{ .Values.service.serverPort }}
|
||||
- name: consuldns-tcp
|
||||
port: {{.Values.service.consulDnsPort}}
|
||||
port: {{ .Values.service.consulDnsPort }}
|
||||
- name: consuldns-udp
|
||||
protocol: "UDP"
|
||||
port: {{.Values.service.consulDnsPort}}
|
||||
port: {{ .Values.service.consulDnsPort }}
|
||||
clusterIP: None
|
||||
sessionAffinity: {{ .Values.service.sessionAffinity }}
|
||||
selector: {{- include "consul.matchLabels" . | nindent 4 }}
|
||||
|
||||
@@ -251,6 +251,7 @@ service:
|
||||
serverPort: 8300
|
||||
consulDnsPort: 8600
|
||||
uiPort: 80
|
||||
sessionAffinity: "None"
|
||||
|
||||
## HashiCorp Consul UI service parameters
|
||||
##
|
||||
|
||||
@@ -251,6 +251,7 @@ service:
|
||||
serverPort: 8300
|
||||
consulDnsPort: 8600
|
||||
uiPort: 80
|
||||
sessionAffinity: "None"
|
||||
|
||||
## HashiCorp Consul UI service parameters
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user