You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, This issue is duplicated, you closed the previous one (by mistake, I guess) but I've reopened it to continue there, as I requested some extra information there.
Report
I have tried all the ways to handle the http requests using KEDA where I could not scale the pods according to the requests that are coming
This is my deployment yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx
labels:
app: nginx
spec:
replicas: 1
selector:
matchLabels:
app: nginx
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
resources:
limits:
memory: "50Mi"
cpu: "50m"
This is my http-scaled-object yaml
kind: HTTPScaledObject
apiVersion: http.keda.sh/v1alpha1
metadata:
name: nginx-http-scaledobject
spec:
hosts: [myhost.com]
targetPendingRequests: 1
scaleTargetRef:
deployment: nginx
service: nginx
port: 80
replicas:
min: 1
max: 3
The scaled object is applied on the deployment
Expected Behavior
The pods should scale up if there is a load on the pod which has the http requests coming
Actual Behavior
But the scaling of the pods is not happening even though the high load is created on the pod
Steps to Reproduce the Problem
Logs from KEDA HTTP operator
Logs of the http-operator and the http interceptor are provided below
http-interceptor.log
http-operator.log
HTTP Add-on Version
0.7.0
Kubernetes Version
1.29
Platform
Other
Anything else?
I have followed these links but in all the cases I could not scale the pods
https://medium.com/@carlocolumna/how-to-scale-your-pods-based-on-http-traffic-d58221d5e7f1
In the above link I have faced issue while handling the host during the curl command with the host
https://medium.com/cuddle-ai/auto-scaling-microservices-with-kubernetes-event-driven-autoscaler-keda-8db6c301b18
In the above link I have faced the issue after this step
https://knowledgebase.eo-lab.org/en/latest/kubernetes/HTTP-Request-based-Autoscaling-on-K8S-using-Prometheus-and-Keda-on-EO-Lab.html
In the above link I have faced the issue at the Prometheus server address part and the forwarding of the port
The text was updated successfully, but these errors were encountered: