PodDisruptionBudget for fluentd #1520
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
pinned
Is your feature request related to a problem? Please describe.
In maintenance situations (Kubernetes update, node-image update, etc.), too many fluentds may be drained from the nodes. This can lead to an overflow situation in the fluentds, and the stability of the logging system is not guaranteed.
Describe the solution you'd like
The FluentdSpec should be enhanced to have a pdb field. This can be configured optionally in the following regard and create a corresponding PDB for the fluentd Statefulset:
This should then lead to following PDB (as an example):
Describe alternatives you've considered
An alternative for me is to create the PDB manually or with an umbrella helm-chart. There might also be other solutions, but creating a PDB for the component is the easiest and Kubernetes-native way to guarantee way availability of the fluentd Pods.
Additional context
https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
The text was updated successfully, but these errors were encountered: