[bitnami/fluentd] add means to configurate liveness and readiness endpoints for forwarder and aggregator (#4952)

* [bitnami/fluentd] add means to configurate liveness and readiness endpoints for forwarder and aggregator

* switched order of some fields in values files

Co-authored-by: krastan@gtmhub.com <krastan@gtmhub.com>
This commit is contained in:
Krystan Stoyanov
2021-01-13 09:13:02 +01:00
committed by GitHub
co-authored by krastan@gtmhub.com <krastan@gtmhub.com>
parent 5aada3902d
commit cf1e7acbf2
6 changed files with 39 additions and 11 deletions
+1 -1
View File
@@ -25,4 +25,4 @@ name: fluentd
sources:
- https://github.com/bitnami/bitnami-docker-fluentd
- https://www.fluentd.org/
version: 3.2.2
version: 3.3.0
+6 -2
View File
@@ -84,9 +84,11 @@ The following tables lists the configurable parameters of the fluentd chart and
| `forwarder.service.loadBalancerSourceRanges` | Addresses that are allowed when service is LoadBalancer | `[]` |
| `forwarder.service.clusterIP` | Static clusterIP or None for headless services | `nil` |
| `forwarder.service.annotations` | Annotations for the forwarder service | `{}` |
| `forwarder.persistence.enabled` | Enable persistence volume for the forwarder | `false` |
| `forwarder.persistence.hostPath.path` | Directory from the host node's filesystem to mount as hostPath volume for persistence. | `false` |
| `forwarder.persistence.enabled` | Enable persistence volume for the forwarder | `false` |
| `forwarder.persistence.hostPath.path` | Directory from the host node's filesystem to mount as hostPath volume for persistence. | `false` |
| `forwarder.livenessProbe.enabled` | Enable liveness probes for the forwarder | `true` |
| `forwarder.livenessProbe.httpGet.path` | Path to access the liveness probes for the forwarder | `/fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D` |
| `forwarder.livenessProbe.httpGet.port` | Name or number of the port to access on the liveness probes for the forwarder | `http` |
| `forwarder.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `60` |
| `forwarder.livenessProbe.periodSeconds` | How often to perform the probe | `10` |
| `forwarder.livenessProbe.timeoutSeconds` | When the probe times out | `5` |
@@ -144,6 +146,8 @@ The following tables lists the configurable parameters of the fluentd chart and
| `aggregator.persistence.accessMode` | Persistent Volume access mode | `ReadWriteOnce` |
| `aggregator.persistence.size` | Persistent Volume size | `10Gi` |
| `aggregator.livenessProbe.enabled` | Enable liveness probes for the aggregator | `true` |
| `aggregator.livenessProbe.httpGet.path` | Path to access the liveness probes for the aggregator | `/fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D` |
| `aggregator.livenessProbe.httpGet.port` | Name or number of the port to access on the liveness probes for the aggregator | `http`
| `aggregator.livenessProbe.initialDelaySeconds` | Delay before liveness probe is initiated | `60` |
| `aggregator.livenessProbe.periodSeconds` | How often to perform the probe | `10` |
| `aggregator.livenessProbe.timeoutSeconds` | When the probe times out | `5` |
@@ -83,8 +83,8 @@ spec:
{{- if .Values.aggregator.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
path: {{ .Values.aggregator.livenessProbe.httpGet.path }}
port: {{ .Values.aggregator.livenessProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.aggregator.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.aggregator.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.aggregator.livenessProbe.timeoutSeconds }}
@@ -94,8 +94,8 @@ spec:
{{- if .Values.aggregator.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
path: {{ .Values.aggregator.readinessProbe.httpGet.path }}
port: {{ .Values.aggregator.readinessProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.aggregator.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.aggregator.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.aggregator.readinessProbe.timeoutSeconds }}
@@ -83,8 +83,8 @@ spec:
{{- if .Values.forwarder.livenessProbe.enabled }}
livenessProbe:
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
path: {{ .Values.forwarder.livenessProbe.httpGet.path }}
port: {{ .Values.forwarder.livenessProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.forwarder.livenessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.forwarder.livenessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.forwarder.livenessProbe.timeoutSeconds }}
@@ -94,8 +94,8 @@ spec:
{{- if .Values.forwarder.readinessProbe.enabled }}
readinessProbe:
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
path: {{ .Values.forwarder.readinessProbe.httpGet.path }}
port: {{ .Values.forwarder.readinessProbe.httpGet.port }}
initialDelaySeconds: {{ .Values.forwarder.readinessProbe.initialDelaySeconds }}
periodSeconds: {{ .Values.forwarder.readinessProbe.periodSeconds }}
timeoutSeconds: {{ .Values.forwarder.readinessProbe.timeoutSeconds }}
+12
View File
@@ -163,6 +163,9 @@ forwarder:
##
livenessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
@@ -170,6 +173,9 @@ forwarder:
successThreshold: 1
readinessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
@@ -442,6 +448,9 @@ aggregator:
##
livenessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
@@ -449,6 +458,9 @@ aggregator:
successThreshold: 1
readinessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
+12
View File
@@ -163,6 +163,9 @@ forwarder:
##
livenessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
@@ -170,6 +173,9 @@ forwarder:
successThreshold: 1
readinessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5
@@ -443,6 +449,9 @@ aggregator:
##
livenessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 60
periodSeconds: 10
timeoutSeconds: 5
@@ -450,6 +459,9 @@ aggregator:
successThreshold: 1
readinessProbe:
enabled: true
httpGet:
path: /fluentd.healthcheck?json=%7B%22ping%22%3A+%22pong%22%7D
port: http
initialDelaySeconds: 5
periodSeconds: 10
timeoutSeconds: 5