我将 KEDA 与具有最小设置的服务总线一起使用,但是当我推送一个缩放对象时,操作员告诉我连接字符串丢失了。所以没有创建 HPA,当然也没有缩放。我真的不知道我错过了什么
{"level":"error","ts":1585898856.2814944,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"scaledobject-controller","request":"keda/azure-servicebus-queue-scaledobject","error":"error getting scaler for trigger #0: error parsing azure service bus metadata: no connection setting given",
我尝试了不同的格式,有或没有 entityPath,我不太了解 Go,但我应该只知道连接字符串为空
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: azure-servicebus-queue-scaledobject
labels:
deploymentName: my-deploy
spec:
scaleTargetRef:
deploymentName: my-deploy
pollingInterval: 5
minReplicaCount: 2
maxReplicaCount: 10
triggers:
- type: azure-servicebus
metadata:
queueName: keda
connection: Endpoint=sb://test-keda.servicebus.windows.net/;SharedAccessKeyName=reader;SharedAccessKey=BLABLABLA;EntityPath=keda
queueLength: "5"
知道我缺少什么吗?谢谢