# Kedify Architecture

[![Kedify Architecture](https://docs.kedify.io/assets/images/kedify-architecture.svg)](https://docs.kedify.io/assets/images/kedify-architecture.svg)

Scroll to exploreDiagram description

Kedify brings KEDA and optional plugins into your Kubernetes cluster. The Kedify Agent manages the enabled components and connects the cluster to the hosted Kedify service over authenticated TLS gRPC. OTel, Predictive, HTTP and KPA extend the installation.

## Replica control path

1. A scaler reads demand from an event source, HTTP traffic or application metrics.

2. KEDA handles workload activation and scale to zero, and exposes scaling metrics.

3. Kubernetes HPA computes active replica counts by default. When selected, [KPA](https://docs.kedify.io/features/kedify-pod-autoscaler/) runs the `1 ↔ N` loop inside the tenant’s controller boundary.

4. The selected autoscaler updates the workload’s scale subresource. Kubernetes schedules the requested pods; ready capacity still depends on nodes and application startup.

This describes ScaledObject replica scaling. [ScaledJobs](https://docs.kedify.io/scalers/keda-scalers/) create finite Jobs; [vertical controllers](https://docs.kedify.io/scalers/vertical-scalers/) change container resources.

## Components and connections

| Component | Runs in | Responsibility and connection |
| --- | --- | --- |
| KEDA and optional KPA | Kubernetes cluster | Read demand signals and reconcile scaling resources. See [controller ownership](https://docs.kedify.io/concepts/keda-hpa-and-kedify/). |
| Kedify Agent | Kubernetes cluster | Manages enabled component releases and Kedify resources; collects configured telemetry. Initiates an authenticated TLS gRPC connection to the Kedify service. |
| HTTP proxy and scaler | Kubernetes cluster | Route application requests and produce HTTP scaling metrics. See the [HTTP request path](https://docs.kedify.io/concepts/http-scaler-metrics-architecture/). |
| OTel and predictive components | Kubernetes cluster, when enabled | Ingest application metrics or train/use forecasts. Their guides define storage and signal connections. |
| Kedify service and Dashboard | Hosted platform | Receive Agent telemetry and provide installation management, scaling visibility and Insights. |

The application’s HTTP traffic path is described separately from the Agent’s hosted-service connection. See [access and connectivity](https://docs.kedify.io/security-and-compliance/access-and-data/) for egress and collection controls.

## Resource ownership

The [Kubernetes API catalog](https://docs.kedify.io/concepts/kedify-custom-resource-definitions/) identifies resources you configure and resources controllers generate. Configure each field through its owner: an autoscaler, Helm/GitOps or a dashboard action. Overlapping writers can undo each other’s changes.

[Multi-cluster scaling](https://docs.kedify.io/features/multi-cluster-scaling/) connects a central installation to member Kubernetes APIs. [Multi-tenant scaling](https://docs.kedify.io/features/multitenant-keda/) divides controller ownership by namespace. These are separate from viewing independent installations in one [Dashboard](https://docs.kedify.io/concepts/kedify-dashboard/).

---
Canonical: https://docs.kedify.io/concepts/kedify-architecture/
Source: src/content/docs/concepts/kedify-architecture.md
Documentation index: https://docs.kedify.io/llms.txt
