diff --git a/resources/telemetry/charts/fluent-bit/templates/hpa.yaml b/resources/telemetry/charts/fluent-bit/templates/hpa.yaml deleted file mode 100644 index aceae6b56b89..000000000000 --- a/resources/telemetry/charts/fluent-bit/templates/hpa.yaml +++ /dev/null @@ -1,39 +0,0 @@ -{{- if and ( eq .Values.kind "Deployment" ) .Values.autoscaling.enabled }} -apiVersion: autoscaling/v2beta2 -kind: HorizontalPodAutoscaler -metadata: - name: {{ include "fluent-bit.fullname" . }} - labels: - {{- include "fluent-bit.labels" . | nindent 4 }} -spec: - {{- if .Values.autoscaling.behavior }} - behavior: - {{- toYaml .Values.autoscaling.behavior | nindent 4 }} - {{- end }} - scaleTargetRef: - apiVersion: apps/v1 - kind: Deployment - name: {{ include "fluent-bit.fullname" . }} - minReplicas: {{ .Values.autoscaling.minReplicas }} - maxReplicas: {{ .Values.autoscaling.maxReplicas }} - metrics: - {{- if .Values.autoscaling.targetCPUUtilizationPercentage }} - - type: Resource - resource: - name: cpu - target: - averageUtilization: {{ .Values.autoscaling.targetCPUUtilizationPercentage }} - type: Utilization - {{- end }} - {{- if .Values.autoscaling.targetMemoryUtilizationPercentage }} - - type: Resource - resource: - name: memory - target: - averageUtilization: {{ .Values.autoscaling.targetMemoryUtilizationPercentage }} - type: Utilization - {{- end }} - {{- if .Values.autoscaling.customRules -}} - {{- toYaml .Values.autoscaling.customRules | nindent 4}} - {{- end -}} -{{- end }} diff --git a/resources/telemetry/charts/fluent-bit/values.yaml b/resources/telemetry/charts/fluent-bit/values.yaml index 3c222d52b277..3db575fdc852 100644 --- a/resources/telemetry/charts/fluent-bit/values.yaml +++ b/resources/telemetry/charts/fluent-bit/values.yaml @@ -184,33 +184,6 @@ ingress: # hosts: # - fluent-bit.example.tld -## only available if kind is Deployment -autoscaling: - enabled: false - minReplicas: 1 - maxReplicas: 3 - targetCPUUtilizationPercentage: 75 -# targetMemoryUtilizationPercentage: 75 - ## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/#autoscaling-on-multiple-metrics-and-custom-metrics - customRules: [] -# - type: Pods -# pods: -# metric: -# name: packets-per-second -# target: -# type: AverageValue -# averageValue: 1k - ## see https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#support-for-configurable-scaling-behavior - behavior: {} -# scaleDown: -# policies: -# - type: Pods -# value: 4 -# periodSeconds: 60 -# - type: Percent -# value: 10 -# periodSeconds: 60 - ## only available if kind is Deployment podDisruptionBudget: enabled: false