Skip to content

Networking

Default destination ports for Helm installations; check Helm values for overrides. All ports are TCP except DNS (UDP/TCP). 443 → 6443 denotes Service port → pod port. Network policies and firewalls must allow the pod target ports. Component Services are cluster-internal by default.

SourceDestinationPortPurpose
Agentservice.kedify.io443Outbound TLS gRPC (HTTP/2).
Controllers, scalers and AgentKubernetes API443Kubernetes resources and Metrics API via kubernetes.default.svc.
Kedify podscluster DNS53 UDP/TCPDNS resolution.
Kubernetes API serverKEDA metrics API server443 → 6443external.metrics.k8s.io.
Kubernetes API serverKEDA admission webhooks443 → 9443Resource validation.
KEDA metrics API serverKEDA operator9666Metrics over mTLS gRPC.

For Kubernetes API egress, also allow the actual endpoint port, commonly 6443. Allow control-plane-to-pod traffic on 6443 and 9443. Installation clients and nodes need HTTPS 443 to chart/image registries (private-registry setup). Scalers need access to their configured metric/event sources.

SourceDestinationPortPurpose
Ingress/gateway or clientsKedify Proxy8080; 8443 TLS; 9002 inferenceApplication traffic; allow the ports used by configured routes.
Kedify Proxy or direct clientsHTTP interceptor8080; 8443 TLSRequest buffering during scale from zero.
Kedify ProxyHTTP interceptor5678, 9901gRPC xDS configuration and Envoy metrics, respectively.
KEDA operatorHTTP external scaler9090External-scaler gRPC API.
HTTP interceptorHTTP external scaler pod IPs50051Metrics/activation streams (grpcBridge.enabled=true by default).
HTTP external scalerHTTP interceptor9090/queue polling when grpcBridge.enabled=false.
Kedify Proxy and HTTP interceptorapplication backendsBackend Service/target portsForward requests.
SourceDestinationPortPurpose
OTLP producersOTel Scaler or Predictor4317OTLP/gRPC metrics.
KEDA operatorOTel Scaler4318External-scaler gRPC API.
API clients / OTel check runnersOTel Scaler9090REST API.
KEDA operator, prediction controller and training jobsPredictor8000Prediction/model REST API.
PredictorKEDA operator9666Raw metrics over mTLS gRPC.
Autoscaling Check runnerscheck targets / Kedify Proxy8080Test traffic; also allow configured metric-source/OTLP endpoints.

Predictor’s optional external PostgreSQL connection uses the configured port (default 5432); optional notebooks use 8888.

KPA → paired KEDA operator: 9666 over mTLS. CPU/memory metrics use metrics.k8s.io through the Kubernetes API. Match keda.metricsAddress, keda.metricsAuthority and keda.certificateSecret to the paired operator.

KPA’s networkPolicy.enabled defaults to false. When enabled, configure networkPolicy.kedaNamespaceSelector, networkPolicy.kedaPodSelector, metrics-ingress selectors (including Agent access), and networkPolicy.apiServerPorts.

Central Agent → each member’s kubeconfig API endpoint: HTTPS on its configured port, usually 443 or 6443. DNS, routing and firewall access must work from the Agent pod. Distributed jobs also require Agent → central KEDA operator on 9666. Metric sources must be reachable from central KEDA.

vCluster discovery uses the internal vCluster Service, normally 443 → 8443; allow the pod target port in host network policies. See member registration for kubeconfigs.

Shared metrics adapter → every tenant KEDA operator: 9666 over mTLS, including across installation namespaces. Each KPA connects to its paired operator on 9666. The metrics API (6443) and webhook (9443) remain shared in the default installation.

Match policies to tenant labels: KPA’s default app.kubernetes.io/name=keda-operator selector does not match keda-operator-foo. Allow metrics scraping on 8080 across installation namespaces. watchNamespace does not enforce network isolation. See multi-tenant setup for pairing and certificates.

Allow Agent/monitoring scrapers to reach metrics ports and kubelets to reach pod probe ports.

ComponentMetrics portProbe port
Agent, KEDA operator, KEDA admission webhooks, KPA80808081
KEDA metrics API server80806443 HTTPS
HTTP interceptor22238080
HTTP external scaler2223 (pod only)9090 gRPC
Kedify Proxy9901 (Envoy admin)9901
OTel Scaler80809090
Predictor80808082; startup 8000
Autoscaling Checks80808080 where configured
OTel operator (bundled with OTel Scaler)8080; 8443 HTTPS proxy8081

The legacy HTTP operator is disabled (operator.replicas=0). If enabled: metrics on HTTPS 8443, probes on 8081.