mirror of
https://github.com/bitnami/charts.git
synced 2026-03-08 08:47:24 +08:00
[bitnami/spring-cloud-dataflow] feat: ✨ Add missing health checks (#21644)
Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com> Signed-off-by: Carlos Rodríguez Hernández <carlosrh@vmware.com> Co-authored-by: Carlos Rodríguez Hernández <carlosrh@vmware.com>
This commit is contained in:
committed by
GitHub
parent
aa98476716
commit
c78b6dd109
@@ -53,4 +53,4 @@ maintainers:
|
||||
name: spring-cloud-dataflow
|
||||
sources:
|
||||
- https://github.com/bitnami/charts/tree/main/bitnami/spring-cloud-dataflow
|
||||
version: 26.0.0
|
||||
version: 26.1.0
|
||||
|
||||
@@ -361,6 +361,27 @@ helm uninstall my-release
|
||||
| `metrics.extraVolumeMounts` | Optionally specify extra list of additional volumeMounts for the Prometheus Proxy container(s) | `[]` |
|
||||
| `metrics.containerPorts.http` | Prometheus Proxy HTTP container port | `8080` |
|
||||
| `metrics.containerPorts.rsocket` | Prometheus Proxy Rsocket container port | `7001` |
|
||||
| `metrics.startupProbe.enabled` | Enable startupProbe on Prometheus Proxy nodes | `false` |
|
||||
| `metrics.startupProbe.initialDelaySeconds` | Initial delay seconds for startupProbe | `10` |
|
||||
| `metrics.startupProbe.periodSeconds` | Period seconds for startupProbe | `10` |
|
||||
| `metrics.startupProbe.timeoutSeconds` | Timeout seconds for startupProbe | `1` |
|
||||
| `metrics.startupProbe.failureThreshold` | Failure threshold for startupProbe | `3` |
|
||||
| `metrics.startupProbe.successThreshold` | Success threshold for startupProbe | `1` |
|
||||
| `metrics.livenessProbe.enabled` | Enable livenessProbe on Prometheus Proxy nodes | `true` |
|
||||
| `metrics.livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `10` |
|
||||
| `metrics.livenessProbe.periodSeconds` | Period seconds for livenessProbe | `10` |
|
||||
| `metrics.livenessProbe.timeoutSeconds` | Timeout seconds for livenessProbe | `1` |
|
||||
| `metrics.livenessProbe.failureThreshold` | Failure threshold for livenessProbe | `3` |
|
||||
| `metrics.livenessProbe.successThreshold` | Success threshold for livenessProbe | `1` |
|
||||
| `metrics.readinessProbe.enabled` | Enable readinessProbe on Prometheus Proxy nodes | `true` |
|
||||
| `metrics.readinessProbe.initialDelaySeconds` | Initial delay seconds for readinessProbe | `10` |
|
||||
| `metrics.readinessProbe.periodSeconds` | Period seconds for readinessProbe | `10` |
|
||||
| `metrics.readinessProbe.timeoutSeconds` | Timeout seconds for readinessProbe | `1` |
|
||||
| `metrics.readinessProbe.failureThreshold` | Failure threshold for readinessProbe | `3` |
|
||||
| `metrics.readinessProbe.successThreshold` | Success threshold for readinessProbe | `1` |
|
||||
| `metrics.customStartupProbe` | Custom startupProbe that overrides the default one | `{}` |
|
||||
| `metrics.customLivenessProbe` | Custom livenessProbe that overrides the default one | `{}` |
|
||||
| `metrics.customReadinessProbe` | Custom readinessProbe that overrides the default one | `{}` |
|
||||
| `metrics.sidecars` | Add additional sidecar containers to the Prometheus Proxy pod(s) | `[]` |
|
||||
| `metrics.initContainers` | Add additional init containers to the Prometheus Proxy pod(s) | `[]` |
|
||||
| `metrics.updateStrategy.type` | Prometheus Proxy deployment strategy type. | `RollingUpdate` |
|
||||
|
||||
@@ -107,6 +107,45 @@ spec:
|
||||
{{- if .Values.metrics.resources }}
|
||||
resources: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.resources "context" $) | nindent 12 }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.customLivenessProbe }}
|
||||
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.customLivenessProbe "context" $) | nindent 12 }}
|
||||
{{- else if .Values.metrics.livenessProbe.enabled }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health
|
||||
port: http
|
||||
initialDelaySeconds: {{ .Values.metrics.livenessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.metrics.livenessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.metrics.livenessProbe.timeoutSeconds }}
|
||||
successThreshold: {{ .Values.metrics.livenessProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.metrics.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.customReadinessProbe }}
|
||||
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.customReadinessProbe "context" $) | nindent 12 }}
|
||||
{{- else if .Values.metrics.readinessProbe.enabled }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /actuator/health
|
||||
port: http
|
||||
initialDelaySeconds: {{ .Values.metrics.readinessProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.metrics.readinessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.metrics.readinessProbe.timeoutSeconds }}
|
||||
successThreshold: {{ .Values.metrics.readinessProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.metrics.readinessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.customStartupProbe }}
|
||||
startupProbe: {{- include "common.tplvalues.render" (dict "value" .Values.metrics.customStartupProbe "context" $) | nindent 12 }}
|
||||
{{- else if .Values.metrics.startupProbe.enabled }}
|
||||
startupProbe:
|
||||
httpGet:
|
||||
path: /actuator/health
|
||||
port: http
|
||||
initialDelaySeconds: {{ .Values.metrics.startupProbe.initialDelaySeconds }}
|
||||
periodSeconds: {{ .Values.metrics.startupProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.metrics.startupProbe.timeoutSeconds }}
|
||||
successThreshold: {{ .Values.metrics.startupProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.metrics.startupProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.metrics.sidecars }}
|
||||
{{- include "common.tplvalues.render" (dict "value" .Values.metrics.sidecars "context" $) | trim | nindent 8 }}
|
||||
{{- end }}
|
||||
|
||||
@@ -1249,6 +1249,59 @@ metrics:
|
||||
containerPorts:
|
||||
http: 8080
|
||||
rsocket: 7001
|
||||
## Configure extra options for Prometheus Proxy containers' liveness and readiness probes
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/#configure-probes
|
||||
## @param metrics.startupProbe.enabled Enable startupProbe on Prometheus Proxy nodes
|
||||
## @param metrics.startupProbe.initialDelaySeconds Initial delay seconds for startupProbe
|
||||
## @param metrics.startupProbe.periodSeconds Period seconds for startupProbe
|
||||
## @param metrics.startupProbe.timeoutSeconds Timeout seconds for startupProbe
|
||||
## @param metrics.startupProbe.failureThreshold Failure threshold for startupProbe
|
||||
## @param metrics.startupProbe.successThreshold Success threshold for startupProbe
|
||||
##
|
||||
startupProbe:
|
||||
enabled: false
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
## @param metrics.livenessProbe.enabled Enable livenessProbe on Prometheus Proxy nodes
|
||||
## @param metrics.livenessProbe.initialDelaySeconds Initial delay seconds for livenessProbe
|
||||
## @param metrics.livenessProbe.periodSeconds Period seconds for livenessProbe
|
||||
## @param metrics.livenessProbe.timeoutSeconds Timeout seconds for livenessProbe
|
||||
## @param metrics.livenessProbe.failureThreshold Failure threshold for livenessProbe
|
||||
## @param metrics.livenessProbe.successThreshold Success threshold for livenessProbe
|
||||
##
|
||||
livenessProbe:
|
||||
enabled: true
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
## @param metrics.readinessProbe.enabled Enable readinessProbe on Prometheus Proxy nodes
|
||||
## @param metrics.readinessProbe.initialDelaySeconds Initial delay seconds for readinessProbe
|
||||
## @param metrics.readinessProbe.periodSeconds Period seconds for readinessProbe
|
||||
## @param metrics.readinessProbe.timeoutSeconds Timeout seconds for readinessProbe
|
||||
## @param metrics.readinessProbe.failureThreshold Failure threshold for readinessProbe
|
||||
## @param metrics.readinessProbe.successThreshold Success threshold for readinessProbe
|
||||
##
|
||||
readinessProbe:
|
||||
enabled: true
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 1
|
||||
failureThreshold: 3
|
||||
successThreshold: 1
|
||||
## @param metrics.customStartupProbe Custom startupProbe that overrides the default one
|
||||
##
|
||||
customStartupProbe: {}
|
||||
## @param metrics.customLivenessProbe Custom livenessProbe that overrides the default one
|
||||
##
|
||||
customLivenessProbe: {}
|
||||
## @param metrics.customReadinessProbe Custom readinessProbe that overrides the default one
|
||||
##
|
||||
customReadinessProbe: {}
|
||||
## @param metrics.sidecars Add additional sidecar containers to the Prometheus Proxy pod(s)
|
||||
## e.g:
|
||||
## sidecars:
|
||||
|
||||
Reference in New Issue
Block a user