feat: add priority class name for all es sts (#7985)

Signed-off-by: Cyril Corbon <corboncyril@gmail.com>
This commit is contained in:
cyril-corbon
2021-11-03 09:23:23 +01:00
committed by GitHub
parent c04def109f
commit b9f9328275
7 changed files with 35 additions and 3 deletions

View File

@@ -25,4 +25,4 @@ name: elasticsearch
sources:
- https://github.com/bitnami/bitnami-docker-elasticsearch
- https://www.elastic.co/products/elasticsearch
version: 17.1.8
version: 17.2.0

View File

@@ -137,6 +137,7 @@ $ helm delete --purge my-release
| `master.nodeAffinityPreset.key` | Master-eligible Node label key to match Ignored if `affinity` is set. | `""` |
| `master.nodeAffinityPreset.values` | Master-eligible Node label values to match. Ignored if `affinity` is set. | `[]` |
| `master.affinity` | Master-eligible Affinity for pod assignment | `{}` |
| `master.priorityClassName` | Master pods Priority Class Name | `""` |
| `master.nodeSelector` | Master-eligible Node labels for pod assignment | `{}` |
| `master.tolerations` | Master-eligible Tolerations for pod assignment | `[]` |
| `master.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
@@ -208,6 +209,7 @@ $ helm delete --purge my-release
| `coordinating.nodeAffinityPreset.key` | Coordinating Node label key to match Ignored if `affinity` is set. | `""` |
| `coordinating.nodeAffinityPreset.values` | Coordinating Node label values to match. Ignored if `affinity` is set. | `[]` |
| `coordinating.affinity` | Coordinating Affinity for pod assignment | `{}` |
| `coordinating.priorityClassName` | Coordinating pods Priority Class Name | `""` |
| `coordinating.nodeSelector` | Coordinating Node labels for pod assignment | `{}` |
| `coordinating.tolerations` | Coordinating Tolerations for pod assignment | `[]` |
| `coordinating.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
@@ -273,6 +275,7 @@ $ helm delete --purge my-release
| `data.nodeAffinityPreset.key` | Data Node label key to match Ignored if `affinity` is set. | `""` |
| `data.nodeAffinityPreset.values` | Data Node label values to match. Ignored if `affinity` is set. | `[]` |
| `data.affinity` | Data Affinity for pod assignment | `{}` |
| `data.priorityClassName` | Data pods Priority Class Name | `""` |
| `data.nodeSelector` | Data Node labels for pod assignment | `{}` |
| `data.tolerations` | Data Tolerations for pod assignment | `[]` |
| `data.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
@@ -341,6 +344,7 @@ $ helm delete --purge my-release
| `ingest.nodeAffinityPreset.key` | Ingest Node label key to match Ignored if `affinity` is set. | `""` |
| `ingest.nodeAffinityPreset.values` | Ingest Node label values to match. Ignored if `affinity` is set. | `[]` |
| `ingest.affinity` | Ingest Affinity for pod assignment | `{}` |
| `ingest.priorityClassName` | Ingest pods Priority Class Name | `""` |
| `ingest.nodeSelector` | Ingest Node labels for pod assignment | `{}` |
| `ingest.tolerations` | Ingest Tolerations for pod assignment | `[]` |
| `ingest.topologySpreadConstraints` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | `[]` |
@@ -421,7 +425,7 @@ $ helm delete --purge my-release
| `curator.configMaps.config_yml` | Contents of the Curator config.yml (overrides config) | `""` |
| `curator.resources.limits` | The resources limits for the container | `{}` |
| `curator.resources.requests` | The requested resources for the container | `{}` |
| `curator.priorityClassName` | Priority Class Name | `""` |
| `curator.priorityClassName` | Curator Pods Priority Class Name | `""` |
| `curator.extraVolumes` | Extra volumes | `[]` |
| `curator.extraVolumeMounts` | Mount extra volume(s) | `[]` |
| `curator.extraInitContainers` | DEPRECATED. Use `curator.initContainers` instead. Init containers to add to the cronjob container | `[]` |

View File

@@ -44,6 +44,9 @@ spec:
{{- if .Values.coordinating.schedulerName }}
schedulerName: {{ .Values.coordinating.schedulerName }}
{{- end }}
{{- if .Values.coordinating.priorityClassName }}
priorityClassName: {{ .Values.coordinating.priorityClassName | quote }}
{{- end }}
{{- if .Values.coordinating.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.coordinating.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -41,6 +41,9 @@ spec:
{{- end }}
spec:
{{- include "elasticsearch.imagePullSecrets" . | nindent 6 }}
{{- if .Values.data.priorityClassName }}
priorityClassName: {{ .Values.data.priorityClassName | quote }}
{{- end }}
{{- if .Values.data.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.data.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -43,6 +43,9 @@ spec:
{{- if .Values.ingest.schedulerName }}
schedulerName: {{ .Values.ingest.schedulerName }}
{{- end }}
{{- if .Values.ingest.priorityClassName }}
priorityClassName: {{ .Values.ingest.priorityClassName | quote }}
{{- end }}
{{- if .Values.ingest.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.ingest.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -44,6 +44,9 @@ spec:
{{- if .Values.master.schedulerName }}
schedulerName: {{ .Values.master.schedulerName }}
{{- end }}
{{- if .Values.master.priorityClassName }}
priorityClassName: {{ .Values.master.priorityClassName | quote }}
{{- end }}
{{- if .Values.master.affinity }}
affinity: {{- include "common.tplvalues.render" (dict "value" .Values.master.affinity "context" $) | nindent 8 }}
{{- else }}

View File

@@ -298,6 +298,10 @@ master:
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param master.priorityClassName Master pods Priority Class Name
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
##
priorityClassName: ""
## @param master.nodeSelector Master-eligible Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
@@ -550,6 +554,10 @@ coordinating:
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param coordinating.priorityClassName Coordinating pods Priority Class Name
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
##
priorityClassName: ""
## @param coordinating.nodeSelector Coordinating Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
@@ -770,6 +778,10 @@ data:
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param data.priorityClassName Data pods Priority Class Name
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
##
priorityClassName: ""
## @param data.nodeSelector Data Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
@@ -1008,6 +1020,10 @@ ingest:
## Note: podAffinityPreset, podAntiAffinityPreset, and nodeAffinityPreset will be ignored when it's set
##
affinity: {}
## @param ingest.priorityClassName Ingest pods Priority Class Name
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/#priorityclass
##
priorityClassName: ""
## @param ingest.nodeSelector Ingest Node labels for pod assignment
## Ref: https://kubernetes.io/docs/user-guide/node-selection/
##
@@ -1338,7 +1354,7 @@ curator:
## cpu: 100m
## memory: 128Mi
requests: {}
## @param curator.priorityClassName Priority Class Name
## @param curator.priorityClassName Curator Pods Priority Class Name
##
priorityClassName: ""
## @param curator.extraVolumes Extra volumes