mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/elasticsearch] Adding static nodeport support to elasticsearch client service (#12828)
* Adding static nodeport support to elasticsearch client service Signed-off-by: Gilles Dubuc <gilles.dubuc@nuance.com> * Better nodeport description for elasticsearch Signed-off-by: Gilles Dubuc <gilles.dubuc@nuance.com> Co-Authored-By: dubuc <4118897+dubuc@users.noreply.github.com> * Added http prefix to es client service nodeport Signed-off-by: Gilles Dubuc <gilles.dubuc@nuance.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
9f5f50e779
commit
2a0849650b
@@ -1,6 +1,6 @@
|
||||
name: elasticsearch
|
||||
home: https://www.elastic.co/products/elasticsearch
|
||||
version: 1.24.0
|
||||
version: 1.25.0
|
||||
appVersion: 6.7.0
|
||||
description: Flexible and powerful open source, distributed real-time search and analytics
|
||||
engine.
|
||||
|
||||
@@ -86,6 +86,7 @@ The following table lists the configurable parameters of the elasticsearch chart
|
||||
| `client.tolerations` | Client tolerations | `[]` |
|
||||
| `client.serviceAnnotations` | Client Service annotations | `{}` |
|
||||
| `client.serviceType` | Client service type | `ClusterIP` |
|
||||
| `client.httpNodePort` | Client service HTTP NodePort port number. Has no effect if client.serviceType is not `NodePort`. | `nil` |
|
||||
| `client.loadBalancerIP` | Client loadBalancerIP | `{}` |
|
||||
| `client.loadBalancerSourceRanges` | Client loadBalancerSourceRanges | `{}` |
|
||||
| `client.antiAffinity` | Client anti-affinity policy | `soft` |
|
||||
|
||||
@@ -17,6 +17,9 @@ spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 9200
|
||||
{{- if and .Values.client.httpNodePort (eq .Values.client.serviceType "NodePort") }}
|
||||
nodePort: {{ .Values.client.httpNodePort }}
|
||||
{{- end }}
|
||||
targetPort: http
|
||||
selector:
|
||||
app: {{ template "elasticsearch.name" . }}
|
||||
|
||||
@@ -75,6 +75,8 @@ client:
|
||||
name: client
|
||||
replicas: 2
|
||||
serviceType: ClusterIP
|
||||
## If coupled with serviceType = "NodePort", this will set a specific nodePort to the client HTTP port
|
||||
# httpNodePort: 30920
|
||||
loadBalancerIP: {}
|
||||
loadBalancerSourceRanges: {}
|
||||
## (dict) If specified, apply these annotations to the client service
|
||||
|
||||
Reference in New Issue
Block a user