http-add-on
http-add-on copied to clipboard
Scaling of pods is not happening as per the http requests
Report
Scaling of pods is not happening according to the requirements
Expected Behavior
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"
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
Actual Behavior
The pods should scale up as the load on the http requests is generated but the pods are not scaling
Steps to Reproduce the Problem
Logs from KEDA HTTP operator
example
HTTP Add-on Version
0.7.0
Kubernetes Version
1.29
Platform
None
Anything else?
No response