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

leaderelection.go:320] error retrieving resource lock keda/operator.keda.sh: invalid character ', after object key #5793

Open
AShengQiang opened this issue May 10, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@AShengQiang
Copy link

Report

No response

Expected Behavior

created scaledobject, then create hpa。

Actual Behavior

created scaledobject, hpa not create。

Steps to Reproduce the Problem

1.POST https://4ddf94a9-57a3-11ee-b348-0255ac1000b2.cce.cn-east-204-dev.myhuaweicloud.com/(11.108.28.110):443/apis/keda.sh/v1alpha1/namespaces/ns-cce-codehub-advanced-szv-g-az2/scaledobjects
2.2024-03-14 10:27:00.629 [vert.x-eventloop-thread-1] INFO HttpTaskHelper[395] - HTTP Response: 201 Created\r\n{"apiVersion":"keda.sh/v1alpha1","kind":"ScaledObject","metadata":{"creationTimestamp":"2024-03-14T02:27:00Z","generation":1,"managedFields":[{"apiVersion":"keda.sh/v1alpha1","fieldsType":"FieldsV1","fieldsV1":{"f:spec":{".":{},"f:advanced":{".":{},"f:horizontalPodAutoscalerConfig":{".":{},"f:behavior":{".":{},"f:scaleUp":{".":{},"f:policies":{},"f:selectPolicy":{},"f:stabilizationWindowSeconds":{}}}},"f:restoreToOriginalReplicaCount":{}},"f:cooldownPeriod":{},"f:maxReplicaCount":{},"f:minReplicaCount":{},"f:pollingInterval":{},"f:scaleTargetRef":{".":{},"f:name":{}},"f:triggers":{}}},"manager":"cfe-apiserver","operation":"Update","time":"2024-03-14T02:27:00Z"}],"name":"edge","namespace":"ns-cce-codehub-advanced-szv-g-az2","resourceVersion":"123442902","uid":"f3926d09-e388-4043-aced-4d59808607f9"},"spec":{"advanced":{"horizontalPodAutoscalerConfig":{"behavior":{"scaleUp":{"policies":[{"periodSeconds":15,"type":"Percent","value":100},{"periodSeconds":15,"type":"Pods","value":2}],"selectPolicy":"Max","stabilizationWindowSeconds":0}}},"restoreToOriginalReplicaCount":true},"cooldownPeriod":300,"maxReplicaCount":2,"minReplicaCount":1,"pollingInterval":30,"scaleTargetRef":{"name":"codehubedge-advanced-szv-g-regular-az2"},"triggers":[{"metadata":{"type":"Utilization","value":"4"},"name":"cpu","type":"cpu"},{"metadata":{"type":"Utilization","value":"4"},"name":"memory","type":"memory"}]}}\n

Logs from KEDA operator

keda version:2.0.0

image

KEDA Version

< 2.10.0

Kubernetes Version

None

Platform

None

Scaler Details

No response

Anything else?

No response

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

Hello,
What KEDA version are you using?

@AShengQiang
Copy link
Author

Hello, What KEDA version are you using?

keda 2.0.0

@zroubalik
Copy link
Member

this is way to old, unsupported version, please update to newer one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants