Failing to setting up KEDA azure-queue ScaledObjects #2014
-
Greetings, I am trying to set up KEDA with azure-queue so my deployment would scale-out if more than 2 messages are in queue. I tried using both
Here is my YAML file for using connectionFromEnv:
AZUREQUEUESTORAGECS is properly set within deployment:
Here is my YAML file for using authenticationRef:
with the proper secret set as:
NOTE: I tried replacing the whole connectionString with its base64encode equivalent. There error remains the same.
What am I missing? Why KEDA is failing to connect to azure-queue storage? Best Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
The secret that you create is called |
Beta Was this translation helpful? Give feedback.
-
I got it to work with the following confirguration: first, I created a secret:
then I applied this configuration:
It works perfectly! Cheers to @zroubalik and @tomkerkhove for their time on this matter! Best Regards, |
Beta Was this translation helpful? Give feedback.
I got it to work with the following confirguration:
first, I created a secret:
kubectl create secret generic my-secret --from-literal=azure-storage-connectionstring="DefaultEndpointsProtocol=https;AccountName=my-storage;AccountKey=V0aPXTlPDWg6dkId/fBSD73TO8lugdkwpfHIRbaPNFcUlQY1RSCqynNt1SQdDpQfquQUxwSFlkxL2XMUnSBc8Q==;EndpointSuffix=core.windows.net"
then I applied this configuration: