Skip to content

Helm Installation

Install Kedify Agent using Helm.

Prerequisites

  • A running Kubernetes cluster (a local cluster or cloud-based EKS, GKS, etc)
  • helm installed and accessible
  • Created account and signed up in the Kedify Service

Getting Organization ID

In the Kedify dashboard, navigate to Organization and select Details. Copy the ID.

Getting API Key

If you have Kedify Agent deployed, you can get your pre-provisioned API key from a Secret in the same Kubernetes cluster:

kubectl get secret -n keda kedify-agent -o=jsonpath='{.data.apikey}' | base64 --decode

If you don’t have an existing Agent, you can generate a new API Key in the Kedify dashboard. Navigate to Organization and select API Keys. Click on Regenerate Agent Key and copy the key.

Helm Installation

The following steps guide you through the minimal installation of Kedify on your cluster using Helm. Each component is installed individually from its respective Helm chart, making the user responsible for updating all components.

  1. Add the Kedify Helm repository:
helm repo add kedifykeda https://kedify.github.io/charts
helm repo update
  1. Create a values_keda.yaml for KEDA installation with the following content:
image:
keda:
tag: v2.15.1-3
registry: ghcr.io
repository: kedify/keda-operator
metricsApiServer:
tag: v2.15.1-3
registry: ghcr.io
repository: kedify/keda-metrics-apiserver
webhooks:
tag: v2.15.1-3
registry: ghcr.io
repository: kedify/keda-admission-webhooks
watchNamespace: ''
rbac:
scaledRefKinds:
- apiGroup: '*'
kind: '*'
logging:
operator:
level: info
stackTracesEnabled: false
metricServer:
level: 0
webhooks:
level: info
prometheus:
operator:
enabled: true
metricServer:
enabled: true
webhooks:
enabled: true

See all possible options in the values.yaml file.

  1. Create a values_addon.yaml for http addon installation with the following content:
images:
tag: v0.8.1-0
operator: ghcr.io/kedify/http-add-on-operator
interceptor: ghcr.io/kedify/http-add-on-interceptor
scaler: ghcr.io/kedify/http-add-on-scaler
interceptor:
replicas:
min: 1
resources:
requests:
cpu: '0.1'
memory: 32Mi
limits:
cpu: 1
memory: 64Mi
scaler:
replicas: 1
resources:
requests:
cpu: '0.1'
memory: 16Mi
limits:
cpu: 0.5
memory: 64Mi
operator:
replicas: 0
resources:
requests:
cpu: '0.1'
memory: 16Mi
limits:
cpu: 0.5
memory: 64Mi

See all possible options in the values.yaml file

  1. Install KEDA and the HTTP Addon:
helm upgrade --install keda kedifykeda/keda --namespace keda \
--create-namespace \
--values values_keda.yaml
helm upgrade --install keda-add-ons-http kedifykeda/keda-add-ons-http \
--namespace keda \
--values values_addon.yaml
  1. Install the Kedify Agent:
helm upgrade --install kedify-agent kedifykeda/kedify-agent \
--namespace keda \
--set clusterName="cluster-1" \
--set agent.orgId="$YOUR_ORG_ID" \
--set agent.apiKey="$YOUR_API_KEY"