opentelemetry-helm-charts
opentelemetry-helm-charts copied to clipboard
[collector] Add Keda support
Hi guys,
I would like to propose a new feature and a breaking change to improve the autoscaling capabilities of the OpenTelemetry Collector Helm chart.
-
Add KEDA support: KEDA (Kubernetes Event-driven Autoscaling) reached General Availability in August 2023, and its ecosystem is growing rapidly. Given its importance in the Kubernetes autoscaling landscape, I believe it's crucial to add support for KEDA in our Collector's Helm chart.
-
Restructure autoscaling configuration: To accommodate both HPA (Horizontal Pod Autoscaler) and KEDA, I propose a breaking change in the autoscaling configuration. This change will provide a clear separation between the two autoscaling methods and improve the overall structure of the configuration.
Proposed changes:
a. Move autoscaling.behavior to autoscaling.hpa.behavior
b. Introduce an autoscaling.mode field to select between hpa (default) and keda
c. Create a new configuration section autoscaling.keda to support KEDA-specific settings
Example of the proposed structure:
autoscaling:
enabled: true
mode: hpa | keda
minReplicas: 1
maxReplicas: 10
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
hpa:
behavior: {}
keda:
# ... KEDA-specific settings
Originally posted by @matheus-meneses in https://github.com/open-telemetry/opentelemetry-helm-charts/pull/1475
@matheus-meneses @TylerHelmuth I am interested in work on this feature could you please assign this issue to me
I am ok adding support for this but we should try to implement it in a non-breaking way
What a great news, I have an idea how to support without breaking. I'll make the changes in a few days.