mirror of
https://github.com/bitnami/charts.git
synced 2026-03-15 14:57:16 +08:00
[bitnami/elasticsearch] add schedulerName for all resources (#5664)
Co-authored-by: Yevgeny Zegzhda <yevgeny.zegzhda@team.wrike.com>
This commit is contained in:
@@ -25,4 +25,4 @@ name: elasticsearch
|
||||
sources:
|
||||
- https://github.com/bitnami/bitnami-docker-elasticsearch
|
||||
- https://www.elastic.co/products/elasticsearch
|
||||
version: 14.2.3
|
||||
version: 14.3.0
|
||||
|
||||
@@ -105,6 +105,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| `master.persistence.selector` | Configure custom selector for existing Persistent Volume. Overwrites `master.persistence.existingVolume` | `nil` |
|
||||
| `master.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `master.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `master.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `master.securityContext.enabled` | Enable security context for master-eligible pods | `true` |
|
||||
| `master.securityContext.fsGroup` | Group ID for the container for master-eligible pods | `1001` |
|
||||
| `master.securityContext.runAsUser` | User ID for the container for master-eligible pods | `1001` |
|
||||
@@ -136,6 +137,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| `coordinating.affinity` | Coordinating Affinity for pod assignment | `{}` (evaluated as a template) |
|
||||
| `coordinating.nodeSelector` | Coordinating Node labels for pod assignment | `{}` (evaluated as a template) |
|
||||
| `coordinating.tolerations` | Coordinating Tolerations for pod assignment | `[]` (evaluated as a template) |
|
||||
| `coordinating.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `coordinating.service.type` | Kubernetes Service type (coordinating-only nodes) | `ClusterIP` |
|
||||
| `coordinating.service.port` | Kubernetes Service port for REST API (coordinating-only nodes) | `9200` |
|
||||
| `coordinating.service.nodePort` | Kubernetes Service nodePort (coordinating-only nodes) | `nil` |
|
||||
@@ -174,6 +176,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| `data.persistence.storageClass` | Persistent Volume Storage Class | `` |
|
||||
| `data.persistence.accessModes` | Persistent Volume Access Modes | `[ReadWriteOnce]` |
|
||||
| `data.persistence.size` | Persistent Volume Size | `8Gi` |
|
||||
| `data.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `data.securityContext.enabled` | Enable security context for data pods | `true` |
|
||||
| `data.securityContext.fsGroup` | Group ID for the container for data pods | `1001` |
|
||||
| `data.securityContext.runAsUser` | User ID for the container for data pods | `1001` |
|
||||
@@ -205,6 +208,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| `ingest.replicas` | Desired number of Elasticsearch ingest nodes | `2` |
|
||||
| `ingest.heapSize` | Ingest node heap size | `128m` |
|
||||
| `ingest.hostAliases` | Add deployment host aliases | `[]` |
|
||||
| `ingest.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `ingest.service.type` | Kubernetes Service type (ingest nodes) | `ClusterIP` |
|
||||
| `ingest.service.port` | Kubernetes Service port Elasticsearch transport port (ingest nodes) | `9300` |
|
||||
| `ingest.service.nodePort` | Kubernetes Service nodePort (ingest nodes) | `nil` |
|
||||
@@ -257,6 +261,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| `curator.nodeSelector` | Curator Node labels for pod assignment | `{}` (evaluated as a template) |
|
||||
| `curator.tolerations` | Curator Tolerations for pod assignment | `[]` (evaluated as a template) |
|
||||
| `curator.rbac.enabled` | Enable RBAC resources | `false` |
|
||||
| `curator.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `curator.serviceAccount.create` | Create a default serviceaccount for elasticsearch curator | `true` |
|
||||
| `curator.serviceAccount.name` | Name for elasticsearch curator serviceaccount | `""` |
|
||||
| `curator.hooks` | Whether to run job on selected hooks | `{ "install": false, "upgrade": false }` |
|
||||
@@ -293,6 +298,7 @@ The following table lists the configurable parameters of the Elasticsearch chart
|
||||
| `metrics.affinity` | Metrics Affinity for pod assignment | `{}` (evaluated as a template) |
|
||||
| `metrics.nodeSelector` | Metrics Node labels for pod assignment | `{}` (evaluated as a template) |
|
||||
| `metrics.tolerations` | Metrics Tolerations for pod assignment | `[]` (evaluated as a template) |
|
||||
| `metrics.schedulerName` | Name of the k8s scheduler (other than default) | `nil` |
|
||||
| `metrics.serviceMonitor.enabled` | if `true`, creates a Prometheus Operator ServiceMonitor (also requires `metrics.enabled` to be `true`) | `false` |
|
||||
| `metrics.serviceMonitor.namespace` | Namespace in which Prometheus is running | `nil` |
|
||||
| `metrics.serviceMonitor.interval` | Interval at which metrics should be scraped. | `nil` (Prometheus Operator default value) |
|
||||
|
||||
@@ -33,6 +33,9 @@ spec:
|
||||
{{- if .Values.coordinating.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.coordinating.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.coordinating.schedulerName }}
|
||||
schedulerName: {{ .Values.coordinating.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if .Values.coordinating.affinity }}
|
||||
affinity: {{- include "elasticsearch.tplValue" (dict "value" .Values.coordinating.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -60,6 +60,9 @@ spec:
|
||||
{{- toYaml $value | nindent 14 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{- if .Values.curator.schedulerName }}
|
||||
schedulerName: {{ .Values.curator.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if .Values.curator.rbac.enabled }}
|
||||
serviceAccountName: {{ include "elasticsearch.curator.serviceAccountName" . }}
|
||||
{{- end }}
|
||||
|
||||
@@ -46,6 +46,9 @@ spec:
|
||||
{{- if .Values.data.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.data.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.data.schedulerName }}
|
||||
schedulerName: {{ .Values.data.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if .Values.data.nodeSelector }}
|
||||
nodeSelector: {{- include "elasticsearch.tplValue" (dict "value" .Values.data.nodeSelector "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -31,6 +31,9 @@ spec:
|
||||
{{- if $.Values.curator.priorityClassName }}
|
||||
priorityClassName: {{ $.Values.curator.priorityClassName | quote }}
|
||||
{{- end }}
|
||||
{{- if .Values.curator.schedulerName }}
|
||||
schedulerName: {{ .Values.curator.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if $.Values.curator.affinity }}
|
||||
affinity: {{- include "elasticsearch.tplValue" (dict "value" $.Values.curator.affinity "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -29,6 +29,9 @@ spec:
|
||||
{{- if .Values.ingest.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.ingest.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingest.schedulerName }}
|
||||
schedulerName: {{ .Values.ingest.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if .Values.ingest.affinity }}
|
||||
affinity: {{- include "elasticsearch.tplValue" (dict "value" .Values.ingest.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -35,6 +35,9 @@ spec:
|
||||
{{- if .Values.master.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.master.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.master.schedulerName }}
|
||||
schedulerName: {{ .Values.master.schedulerName }}
|
||||
{{- end }}
|
||||
{{- if .Values.master.affinity }}
|
||||
affinity: {{- include "elasticsearch.tplValue" (dict "value" .Values.master.affinity "context" $) | nindent 8 }}
|
||||
{{- else }}
|
||||
|
||||
@@ -29,6 +29,9 @@ spec:
|
||||
{{- if .Values.metrics.hostAliases }}
|
||||
hostAliases: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.hostAliases "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.schedulerName }}
|
||||
schedulerName: {{ .Values.metrics.schedulerName }}
|
||||
{{- end }}
|
||||
containers:
|
||||
- name: metrics
|
||||
image: {{ include "elasticsearch.metrics.image" . }}
|
||||
|
||||
@@ -199,6 +199,11 @@ master:
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
heapSize: 128m
|
||||
## Provide annotations for master-eligible pods.
|
||||
##
|
||||
@@ -383,6 +388,11 @@ coordinating:
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## updateStrategy for ElasticSearch coordinating deployment
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#strategy
|
||||
##
|
||||
@@ -529,6 +539,12 @@ data:
|
||||
## https://kubernetes.io/docs/concepts/services-networking/add-entries-to-pod-etc-hosts-with-host-aliases/
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## updateStrategy for ElasticSearch Data statefulset
|
||||
## ref: https://kubernetes.io/docs/concepts/workloads/controllers/statefulset/#update-strategies
|
||||
##
|
||||
@@ -702,6 +718,11 @@ ingest:
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## Extra labels to add to Pod
|
||||
##
|
||||
podLabels: {}
|
||||
@@ -842,6 +863,11 @@ curator:
|
||||
successfulJobsHistoryLimit: ""
|
||||
jobRestartPolicy: Never
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## Provide annotations for the data pods.
|
||||
##
|
||||
podAnnotations: {}
|
||||
@@ -1059,6 +1085,11 @@ metrics:
|
||||
##
|
||||
hostAliases: []
|
||||
|
||||
## Use an alternate scheduler, e.g. "stork".
|
||||
## ref: https://kubernetes.io/docs/tasks/administer-cluster/configure-multiple-schedulers/
|
||||
##
|
||||
# schedulerName:
|
||||
|
||||
## Elasticsearch Prometheus exporter service type
|
||||
##
|
||||
service:
|
||||
|
||||
Reference in New Issue
Block a user