keda - getting error reading from azure keyvault with context failed

This can be a confusing error from keda. On one hand it is saying unable to read from keyvault while others trigger authentication is able to work without issues. Let's say I have a scaledobject that has 4 event hub scaler configured, two are happy while another 2 are not working. 

All are using the same keyvault and authentication approach. 

When i check keda operator logs i see, "unable to read from keyvault" - yet 2 of those scaler are working. I noticed that the reason it is failing is "context cancelled". This could mean that it failed while performing other operations such as trying to connect to event hub via a specific connection strings. 

After debugging those event hub connection string - i found that the issue is due to this. All i have to do is, do a 

kubectl describe scaledobject/my-scaled-app -n mynamespace

Figure out which event hub scaler that is not working / happy. Then focus on fixing those - instead of trying to review the keda operator logs for clue.

 



Comments

Popular posts from this blog

gemini cli getting file not defined error

NodeJS: Error: spawn EINVAL in window for node version 20.20 and 18.20

vllm : Failed to infer device type