mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-17 17:16:30 +10:00
Add operator.priorityClassName for operator deployment (#2991)
Co-authored-by: Maxence Boutet <maxenceboutet@oulook.com>
This commit is contained in:
co-authored by
Maxence Boutet
parent
e76971bc01
commit
dc3bb78cd7
@@ -2,7 +2,7 @@ apiVersion: v1
|
||||
appVersion: 0.40.0
|
||||
description: The Prometheus Operator for Kubernetes provides easy monitoring definitions for Kubernetes services and deployment and management of Prometheus instances.
|
||||
name: prometheus-operator
|
||||
version: 0.21.3
|
||||
version: 0.22.0
|
||||
keywords:
|
||||
- prometheus
|
||||
- alertmanager
|
||||
|
||||
@@ -112,6 +112,7 @@ The following table lists the configurable parameters of the Prometheus Operator
|
||||
| `operator.podAffinity` | Affinity, in addition to antiAffinity (this value is evaluated as a template) | `{}` |
|
||||
| `operator.nodeSelector` | Node labels for pod assignment (this value is evaluated as a template) | `{}` |
|
||||
| `operator.tolerations` | List of node taints to tolerate (this value is evaluated as a template) | `[]` |
|
||||
| `operator.priorityClassName` | Priority class assigned to the Pods | `` |
|
||||
| `operator.livenessProbe.enabled` | Turn on and off liveness probe | `true` |
|
||||
| `operator.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `120` |
|
||||
| `operator.livenessProbe.periodSeconds` | How often to perform the probe | `10` |
|
||||
|
||||
@@ -32,6 +32,9 @@ spec:
|
||||
{{- if .Values.operator.tolerations }}
|
||||
tolerations: {{- include "prometheus-operator.tplValue" (dict "value" .Values.operator.tolerations "context" $) | nindent 8 }}
|
||||
{{- end }}
|
||||
{{- if .Values.operator.priorityClassName }}
|
||||
priorityClassName: {{ .Values.operator.priorityClassName }}
|
||||
{{- end }}
|
||||
affinity:
|
||||
{{- if .Values.operator.nodeAffinity }}
|
||||
nodeAffinity: {{- include "prometheus-operator.tplValue" (dict "value" .Values.operator.nodeAffinity "context" $) | nindent 10 }}
|
||||
|
||||
@@ -171,6 +171,10 @@ operator:
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
## Priority class assigned to the Pods
|
||||
##
|
||||
priorityClassName: ""
|
||||
|
||||
## Configure extra options for liveness and readiness probes
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
|
||||
##
|
||||
|
||||
@@ -171,6 +171,10 @@ operator:
|
||||
##
|
||||
tolerations: []
|
||||
|
||||
## Priority class assigned to the Pods
|
||||
##
|
||||
priorityClassName: ""
|
||||
|
||||
## Configure extra options for liveness and readiness probes
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes)
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user