Skip to content

Commit 7a00492

Browse files
authored
feat(fluent-bit): Allow VPA recommender configuration (#660)
* squash Signed-off-by: Tim Hobbs <timothy.hobbs@servicelayers.com> * update helm chart testing action Signed-off-by: Tim Hobbs <timothy.hobbs@servicelayers.com> * resolve conflicts, update doc Signed-off-by: Tim Hobbs <timothy.hobbs@servicelayers.com> * fix removal from helm-docs Signed-off-by: Tim Hobbs <timothy.hobbs@servicelayers.com> * just docs Signed-off-by: Tim Hobbs <timothy.hobbs@servicelayers.com> --------- Signed-off-by: Tim Hobbs <timothy.hobbs@servicelayers.com>
1 parent c531660 commit 7a00492

File tree

5 files changed

+19
-5
lines changed

5 files changed

+19
-5
lines changed

charts/fluent-bit/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,12 @@
1414

1515
## [UNRELEASED]
1616

17+
## [v0.56.0] - 2026-02-27
18+
19+
### Added
20+
21+
- VPA recommender may be specified with `.autoscaling.vpa.recommender`
22+
1723
## [v0.55.1] - 2026-02-27
1824

1925
### Changed
@@ -41,7 +47,9 @@
4147
<!--
4248
RELEASE LINKS
4349
-->
50+
4451
[UNRELEASED]: https://github.com/fluent/helm-charts/tree/main/charts/fluent-bit
52+
[v0.56.0]: https://github.com/fluent/helm-charts/releases/tag/fluent-bit-0.56.0
4553
[v0.55.1]: https://github.com/fluent/helm-charts/releases/tag/fluent-bit-0.55.1
4654
[v0.55.0]: https://github.com/fluent/helm-charts/releases/tag/fluent-bit-0.55.0
4755
[v0.54.1]: https://github.com/fluent/helm-charts/releases/tag/fluent-bit-0.54.1

charts/fluent-bit/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ keywords:
55
- logging
66
- fluent-bit
77
- fluentd
8-
version: 0.55.1
8+
version: 0.56.0
99
appVersion: 4.2.3
1010
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg
1111
home: https://fluentbit.io/

charts/fluent-bit/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# fluent-bit
22

3-
![Version: 0.55.1](https://img.shields.io/badge/Version-0.55.1-informational?style=flat-square) ![AppVersion: 4.2.3](https://img.shields.io/badge/AppVersion-4.2.3-informational?style=flat-square)
3+
![Version: 0.56.0](https://img.shields.io/badge/Version-0.56.0-informational?style=flat-square) ![AppVersion: 4.2.3](https://img.shields.io/badge/AppVersion-4.2.3-informational?style=flat-square)
44

55
Fast and lightweight log processor and forwarder for Linux, OSX and BSD family operating systems.
66

@@ -26,15 +26,15 @@ Fast and lightweight log processor and forwarder for Linux, OSX and BSD family o
2626
To install the chart using the recommended OCI method you can use the following command.
2727

2828
```shell
29-
helm upgrade --install fluent-bit oci://ghcr.io/fluent/helm-charts/fluent-bit --version 0.55.1
29+
helm upgrade --install fluent-bit oci://ghcr.io/fluent/helm-charts/fluent-bit --version 0.56.0
3030
```
3131

3232
#### Verification
3333

3434
As the OCI chart release is signed by [Cosign](https://github.com/sigstore/cosign) you can verify the chart before installing it by running the following command.
3535

3636
```shell
37-
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository fluent/helm-charts --certificate-github-workflow-name Release ghcr.io/fluent/helm-charts/fluent-bit:0.55.1
37+
cosign verify --certificate-oidc-issuer https://token.actions.githubusercontent.com --certificate-identity-regexp 'https://github\.com/action-stars/helm-workflows/\.github/workflows/release\.yaml@.+' --certificate-github-workflow-repository fluent/helm-charts --certificate-github-workflow-name Release ghcr.io/fluent/helm-charts/fluent-bit:0.56.0
3838
```
3939

4040
### Non-OCI Repository
@@ -43,7 +43,7 @@ Alternatively you can use the legacy non-OCI method via the following commands.
4343

4444
```shell
4545
helm repo add fluent https://fluent.github.io/helm-charts/
46-
helm upgrade --install fluent-bit fluent/fluent-bit --version 0.55.1
46+
helm upgrade --install fluent-bit fluent/fluent-bit --version 0.56.0
4747
```
4848

4949
## Values
@@ -66,6 +66,7 @@ helm upgrade --install fluent-bit fluent/fluent-bit --version 0.55.1
6666
| autoscaling.vpa.enabled | bool | `false` | |
6767
| autoscaling.vpa.maxAllowed | object | `{}` | |
6868
| autoscaling.vpa.minAllowed | object | `{}` | |
69+
| autoscaling.vpa.recommender | string | `"default"` | |
6970
| autoscaling.vpa.updatePolicy.updateMode | string | `"Auto"` | |
7071
| command[0] | string | `"/fluent-bit/bin/fluent-bit"` | |
7172
| config.customParsers | string | `"[PARSER]\n Name docker_no_time\n Format json\n Time_Keep Off\n Time_Key time\n Time_Format %Y-%m-%dT%H:%M:%S.%L\n"` | |

charts/fluent-bit/templates/vpa.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ metadata:
1111
{{- toYaml . | nindent 4 }}
1212
{{- end }}
1313
spec:
14+
recommenders:
15+
- name: {{ .Values.autoscaling.vpa.recommender }}
1416
resourcePolicy:
1517
containerPolicies:
1618
- containerName: {{ .Chart.Name }}

charts/fluent-bit/values.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,9 @@ autoscaling:
257257
# cpu: 200m
258258
# memory: 100Mi
259259

260+
# Name of the VPA recommender that will provide recommendations for vertical scaling.
261+
recommender: default
262+
260263
updatePolicy:
261264
# Specifies whether recommended updates are applied when a Pod is started and whether recommended updates
262265
# are applied during the life of a Pod. Possible values are "Off", "Initial", "Recreate", and "Auto".

0 commit comments

Comments
 (0)