[bitnami/fluentd] Add fluentd priorityClassName (#3543)

* Added priorityClassName

* Added priorityClassName

* Correct Formatting
This commit is contained in:
Joshua Wright
2020-08-31 09:17:26 +01:00
committed by GitHub
parent 384986289c
commit c7f5c590d7
5 changed files with 13 additions and 1 deletions

View File

@@ -1,6 +1,6 @@
apiVersion: v1
name: fluentd
version: 1.3.0
version: 1.4.0
appVersion: 1.11.2
description: Fluentd is an open source data collector for unified logging layer
keywords:

View File

@@ -71,6 +71,7 @@ The following tables lists the configurable parameters of the fluentd chart and
| `forwarder.configFile` | Name of the config file that will be used by Fluentd at launch under the `/opt/bitnami/fluentd/conf` directory | `fluentd.conf` |
| `forwarder.configMap` | Name of the config map that contains the Fluentd configuration files | `nil` |
| `forwarder.extraArgs` | Extra arguments for the Fluentd command line | `nil` |
| `forwarder.priorityClassName` | Set Pods Priority Class | `nil` |
| `forwarder.extraEnv` | Extra environment variables to pass to the container | `[]` |
| `forwarder.containerPorts` | Ports the forwarder containers will listen on | `Check values.yaml` |
| `forwarder.service.type` | Kubernetes service type (`ClusterIP`, `NodePort`, or `LoadBalancer`) for the forwarders | `ClusterIP` |

View File

@@ -28,6 +28,7 @@ spec:
spec:
{{- include "fluentd.imagePullSecrets" . | nindent 6 }}
serviceAccountName: {{ template "fluentd.serviceAccountName" . }}
priorityClassName: {{ .Values.forwarder.priorityClassName | quote }}
{{- if .Values.forwarder.affinity }}
affinity: {{- include "fluentd.tplValue" (dict "value" .Values.forwarder.affinity "context" $) | nindent 8 }}
{{- end }}

View File

@@ -73,6 +73,11 @@ forwarder:
##
extraArgs: ""
## Set Priority Class Name to allow priority control over other pods
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## Extra environment variables to pass to the container
## extraEnv:
## - name: MY_ENV_VAR

View File

@@ -261,6 +261,11 @@ aggregator:
##
extraArgs: ""
## Set Priority Class Name to allow priority control over other pods
## ref: https://kubernetes.io/docs/concepts/configuration/pod-priority-preemption/
##
priorityClassName: ""
## Extra environment variables to pass to the container
## extraEnv:
## - name: MY_ENV_VAR