Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scaling of pods is not happening as per the http requests #1009

Closed
Manikiran88888 opened this issue May 1, 2024 · 1 comment
Closed

Scaling of pods is not happening as per the http requests #1009

Manikiran88888 opened this issue May 1, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Manikiran88888
Copy link

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

image

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

image

@Manikiran88888 Manikiran88888 added the bug Something isn't working label May 1, 2024
@JorTurFer
Copy link
Member

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.

@kedacore kedacore locked and limited conversation to collaborators May 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants