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.
1. Check KEDA and choose a metric source
Section titled “1. Check KEDA and choose a metric source”Check that the external metrics API reports AVAILABLE=True:
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. |
2. Install the scaler
Section titled “2. Install the scaler”Dashboard
Section titled “Dashboard”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.
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=falseTo 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.
3. Send metrics and configure a workload
Section titled “3. Send metrics and configure a workload”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.
4. Verify scaling
Section titled “4. Verify scaling”Check that the scaler Deployment is ready and its Service is present:
kubectl -n keda get deployment,service -l app.kubernetes.io/instance=kedify-otel-scalerSend 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.