Failed to create HTTPScaledObject, stuck in 'PendingCreation' state #943
Unanswered
JimmyCater87
asked this question in
General
Replies: 3 comments
-
@JimmyCater87 any solution for this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Has anyone found a solution for this ? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I solved it thanks to that article, by setting an ingress. My pods would still not scale, though, as it seems the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Issue : Failed to create HTTPScaledObject, stuck in 'PendingCreation' state
Description:
Followed the GIT Doc to install HTTP add-on in same namespace as Keda
https://github.com/kedacore/http-add-on/blob/main/docs/install.md
Step: helm install http-add-on kedacore/keda-add-ons-http --namespace keda
Validate PODs status for Keda and HTTP add-on > all Pods are running
keda-add-ons-http-controller-manager 3/3 Running 0 5h35m
keda-add-ons-http-external-scaler 2/2 Running 0 12h
keda-add-ons-http-external-scaler 2/2 Running 0 12h
keda-add-ons-http-external-scaler 2/2 Running 0 12h
keda-add-ons-http-interceptor 2/2 Running 0 12h
keda-add-ons-http-interceptor 2/2 Running 0 12h
keda-add-ons-http-interceptor 2/2 Running 0 12h
keda-admission-webhooks 2/2 Running 1 (5h44m ago) 12h
keda-operator 2/2 Running 1 (5h43m ago) 12h
keda-operator-metrics-apiserver 2/2 Running 1 (5h43m ago) 12h
kind: HTTPScaledObject
apiVersion: http.keda.sh/v1alpha1
metadata:
name: http-scaler
spec:
hosts:
- 'host path'
pathPrefixes:
- 'prefix Path'
targetPendingRequests: 10
scaleTargetRef:
deployment: httpbin
service: httpbin
port: 80
replicas:
min: 0
max: 10
scaledownPeriod: 300
Error Message in 'keda-add-ons-http-external-scaler' POD
“{"level":"error","ts":1710299145.4313052,"caller":"scaler/queue_pinger.go:146","msg":"getting request counts","error":"there isn't any valid interceptor endpoint","stacktrace":"main.(*queuePinger).fetchAndSaveCounts\n\tgithub.com/kedacore/http-add-on/scaler/queue_pinger.go:146\nmain.(*queuePinger).start\n\tgithub.com/kedacore/http-add-on/scaler/queue_pinger.go:108\nmain.main.func3\n\tgithub.com/kedacore/http-add-on/scaler/main.go:110\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\tgolang.org/x/sync@v0.6.0/errgroup/errgroup.go:78}"
Environment Details:
AKS Cluster 1.27.9
Keda Version: 2.13.1
HTTP Add-On version: 0.7.0
Beta Was this translation helpful? Give feedback.
All reactions