Skip to content

Commit f487050

Browse files
Improve clarity and consistency in Kedify HTTP autoscaling documentation
1 parent bae6d7d commit f487050

File tree

3 files changed

+17
-15
lines changed

3 files changed

+17
-15
lines changed

content/learning-paths/servers-and-cloud-computing/kedify-http-autoscaling/http-scaling.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ In this section, you’ll gain hands-on experience with Kedify HTTP autoscaling.
99

1010
You will scale a real HTTP app exposed through Kubernetes Ingress using [Kedify’s HTTP Scaler](https://docs.kedify.io/scalers/http-scaler/), and then move on to deploy a simple application, enable autoscaling with a scaled object, generate load, and observe the system scale out and back in (including scale-to-zero when idle).
1111

12-
For more information, see [Scaling Deployments, StatefulSets & Custom Resources](https://keda.sh/docs/latest/concepts/scaling-deployments/) at the KEDA website.
12+
For more information, see [Scaling Deployments, StatefulSets & Custom Resources](https://keda.sh/docs/latest/concepts/scaling-deployments/) on the KEDA website.
1313

1414
## How it works
1515

@@ -48,8 +48,6 @@ If your ingress controller service uses a different name or namespace, update th
4848

4949
Now you will deploy a simple HTTP server and expose it using an Ingress resource. The source code for this application is available on the [Kedify GitHub repository](https://github.com/kedify/examples/tree/main/samples/http-server).
5050

51-
### Deploy the application
52-
5351
Run the following command to deploy your application:
5452

5553
```bash
@@ -121,9 +119,12 @@ spec:
121119
EOF
122120
```
123121

124-
Notes:
125-
- `RESPONSE_DELAY` adds ~300 ms latency per request, making scaling effects easier to see.
126-
- The Ingress uses host `application.keda`. To access this app, you will use your Ingress controller’s IP with a `Host:` header (shown below).
122+
## Key settings explained
123+
124+
The manifest includes a few key options that affect scaling behavior:
125+
126+
- `RESPONSE_DELAY` is set in the Deployment manifest above and adds approximately 300 ms latency per request; this slower response time increases the number of concurrent requests, making scaling effects easier to observe.
127+
- The ingress uses the host `application.keda`. To access this app, use your Ingress controller’s IP with a `Host:` header.
127128

128129
## Verify the application is running
129130

@@ -163,6 +164,7 @@ The application is now running. Next, you will enable autoscaling so that it can
163164
```bash
164165
cat <<'EOF' | kubectl apply -f -
165166
apiVersion: keda.sh/v1alpha1
167+
166168
kind: ScaledObject
167169
metadata:
168170
name: application

content/learning-paths/servers-and-cloud-computing/kedify-http-autoscaling/install-ingress.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ layout: "learningpathall"
66

77
## Install an ingress controller for HTTP autoscaling on Kubernetes
88

9-
Before deploying HTTP applications with Kedify autoscaling, you need an ingress controller to handle incoming traffic. Most managed Kubernetes services (AWS EKS, Google GKE, Azure AKS) do not include an ingress controller by default. In this learning path, you install the NGINX Ingress Controller with Helm and target Arm64 nodes.
9+
Before deploying HTTP applications with Kedify autoscaling, you need an ingress controller to handle incoming traffic. Most managed Kubernetes services (AWS EKS, Google GKE, Azure AKS) do not include an ingress controller by default. In this Learning Path, you install the NGINX Ingress Controller with Helm and target Arm64 nodes.
1010

1111
{{% notice Note %}}
12-
If your cluster already has an ingress controller installed and configured, you can skip this step and proceed to the [HTTP scaling guide](../http-scaling/).
12+
If your cluster already has an ingress controller installed and configured, you can skip this step and proceed to the [Autoscale HTTP applications with Kedify and Kubernetes Ingress section](../http-scaling/).
1313
{{% /notice %}}
1414

1515
## Install the NGINX Ingress Controller with Helm
@@ -51,11 +51,11 @@ If no value is printed, wait briefly and re-run the command.
5151

5252
You have two options:
5353

54-
- **Option 1DNS (recommended for production):**
55-
Create a DNS record pointing `application.keda` to the external IP address or hostname of your ingress controller.
54+
- Option 1: DNS (recommended for production):
55+
create a DNS record pointing `application.keda` to the external IP address or hostname of your ingress controller.
5656

57-
- **Option 2host header (quick test):**
58-
Use the external IP address or hostname directly with a `Host:` header:
57+
- Option 2: host header (quick test):
58+
use the external IP address or hostname directly with a `Host:` header:
5959
```bash
6060
curl -H "Host: application.keda" http://$INGRESS_IP
6161
```

content/learning-paths/servers-and-cloud-computing/kedify-http-autoscaling/install-kedify-helm.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ layout: "learningpathall"
55
---
66

77
## Overview
8-
In this section, you will install Kedify on your Kubernetes cluster using Helm. You will add the Kedify chart repository, install KEDA (Kedify build), the HTTP Scaler, and the Kedify Agent. You will then verify the installation. This enables HTTP autoscaling on Kubernetes with KEDA and Kedify, including arm64 nodes.
8+
In this section, you will install Kedify on your Kubernetes cluster using Helm. You will add the Kedify chart repository, then install three separate Helm charts: KEDA (Kedify build) for event-driven autoscaling, the HTTP Scaler for HTTP-based scaling, and the Kedify Agent for connecting your cluster to Kedify's cloud service. You will then verify the installation. This enables HTTP autoscaling on Kubernetes with KEDA and Kedify, including arm64 nodes.
99

1010
For more information and other installation methods on Arm, see the [Kedify installation documentation](https://docs.kedify.io/installation/helm#installation-on-arm).
1111

@@ -28,7 +28,7 @@ kubectl get secret -n keda kedify-agent -o=jsonpath='{.data.apikey}' | base64 --
2828
Otherwise, in the Kedify dashboard go to **Organization****API Keys**, select **Create Agent Key**, and copy the key.
2929

3030
{{% notice Note %}}
31-
The API key is shared across all Agent installations. If you regenerate it, update existing Agents and keep it secret.
31+
The API key is shared across all agent installations. If you regenerate it, update existing agents and keep it secret.
3232
{{% /notice %}}
3333

3434
Optionally, export these values for reuse in the following commands:
@@ -127,4 +127,4 @@ keda-operator-metrics-apiserver-xxxxx 1/1 Running 0 1m
127127
kedify-agent-xxxxx 1/1 Running 0 1m
128128
```
129129

130-
Proceed to the next section to install an Ingress controller, deploy a sample HTTP app, and test autoscaling.
130+
Proceed to the next section to install an ingress controller, deploy a sample HTTP app, and test autoscaling.

0 commit comments

Comments
 (0)