Skip to content

Install OTel Scaler

OTel Scaler runs as a separate Helm release. Start with Kedify KEDA so you can use the kedify-otel trigger. Use the KEDA namespace for the scaler. The examples use keda.

Check that the external metrics API reports AVAILABLE=True:

Terminal window
kubectl get apiservice v1beta1.external.metrics.k8s.io
Metric source Use it when
Direct OTLP Your application can send metrics over OTLP/gRPC.
Use an existing collector A collector already receives or scrapes your metrics.
Install Kedify collector You want a collector to receive OTLP or scrape a Prometheus endpoint.

Open Install Kedify and select OTel Scaler. Choose the Metric source in OTel Scaler settings. For Install Kedify collector, choose OTLP/gRPC or enter the Prometheus scrape target as a reachable host and port.

Apply the separate OTel release after KEDA is ready. Use the generated Helm command or values file, Argo CD Application, or Flux HelmRelease. If the scaler is already installed, make changes through its owning release.

For direct OTLP or an existing collector, install the scaler on its own. Find the published version with helm show chart oci://ghcr.io/kedify/charts/otel-add-on and set OTEL_CHART_VERSION to that version.

Terminal window
helm upgrade --install kedify-otel-scaler oci://ghcr.io/kedify/charts/otel-add-on \
--version "${OTEL_CHART_VERSION:?Set OTEL_CHART_VERSION first}" --namespace keda --wait \
--set otelOperator.enabled=false --set otelCollector.enabled=false

To install a collector with Helm, save the values for your ingestion method in a file and replace the two --set flags with -f and the file name.

Send a scaling metric over OTLP/gRPC to kedify-otel-scaler.keda.svc:4317. With an existing collector, point its OTLP exporter at that endpoint. With the Kedify collector, point your application at its receiver or let it scrape the configured target. Use your installation namespace in place of keda.

In the workload namespace, create a ScaledObject or ScaledJob with a kedify-otel trigger. Set a query for the metric you are sending and a target in that metric’s units. KEDA queries the scaler at kedify-otel-scaler.keda.svc:4318. Set scalerAddress explicitly if the Service name or namespace differs from KEDA’s default.

Check that the scaler Deployment is ready and its Service is present:

Terminal window
kubectl -n keda get deployment,service -l app.kubernetes.io/instance=kedify-otel-scaler

Send enough traffic or load to raise the metric above its target. Check the ScaledObject, its pod autoscaler, and the target’s replicas in the workload namespace. For a ScaledJob, check the Jobs it creates. If scaling is inactive, check that the exporter uses port 4317 and that the metric name and labels match the query. Follow the sample workload walkthrough for an end-to-end example.