-
Notifications
You must be signed in to change notification settings - Fork 466
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Nicolas Takashi <[email protected]> Signed-off-by: Nicolas Takashi <[email protected]>
- Loading branch information
1 parent
c469f83
commit 1b148fe
Showing
3 changed files
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ keywords: | |
- logging | ||
- fluent-bit | ||
- fluentd | ||
version: 0.21.7 | ||
version: 0.22.0 | ||
appVersion: 2.0.8 | ||
icon: https://raw.githubusercontent.com/cncf/artwork/master/projects/fluentd/fluentbit/icon/fluentbit-icon-color.svg | ||
home: https://fluentbit.io/ | ||
|
@@ -22,5 +22,5 @@ maintainers: | |
email: [email protected] | ||
annotations: | ||
artifacthub.io/changes: | | ||
- kind: changed | ||
description: "Update fluent-bit image to 2.0.8" | ||
- kind: added | ||
description: "Added support for using the Vertical Pod Autoscaler (VPA) to recommend or modify pod resources." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{{- if and (.Capabilities.APIVersions.Has "autoscaling.k8s.io/v1/VerticalPodAutoscaler") .Values.autoscaling.vpa.enabled }} | ||
apiVersion: autoscaling.k8s.io/v1 | ||
kind: VerticalPodAutoscaler | ||
metadata: | ||
name: {{ include "fluent-bit.fullname" . }} | ||
labels: | ||
{{- include "fluent-bit.labels" . | nindent 4 }} | ||
{{- with .Values.autoscaling.vpa.annotations }} | ||
annotations: | ||
{{- toYaml . | nindent 4 }} | ||
{{- end }} | ||
spec: | ||
resourcePolicy: | ||
containerPolicies: | ||
- containerName: {{ .Chart.Name }} | ||
{{- with .Values.autoscaling.vpa.controlledResources }} | ||
controlledResources: | ||
{{- toYaml . | nindent 8 }} | ||
{{- end }} | ||
{{- with .Values.autoscaling.vpa.maxAllowed }} | ||
maxAllowed: | ||
{{- toYaml . | nindent 8 }} | ||
{{- end }} | ||
{{- with .Values.autoscaling.vpa.minAllowed }} | ||
minAllowed: | ||
{{- toYaml . | nindent 8 }} | ||
{{- end }} | ||
targetRef: | ||
apiVersion: apps/v1 | ||
kind: {{ .Values.kind }} | ||
name: {{ include "fluent-bit.fullname" . }} | ||
{{- if .Values.autoscaling.vpa.updatePolicy }} | ||
updatePolicy: | ||
{{- with .Values.autoscaling.vpa.updatePolicy.updateMode }} | ||
updateMode: {{ . }} | ||
{{- end }} | ||
{{- end }} | ||
{{- end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters