Was the database connection working before you introduced the resource limits? If so, the pods might not have enough resources to handle the workload, especially with a CPU limit of 0.1 cores per pod.
I’d start by checking for CPU throttling, OOM kills, and pod restarts, then review the Temporal and database logs for connection errors or timeouts around the same time.
"temporal server pods I saw the error “no usable DB connections found” in the temoral-server pods.
Dont think this error is related to Temporal server resources. This is db call failure (conn refused by db itself). Look for what server wrote above this in logs should be like
sql handle: unable to refresh database connection pool error: …
and share please.
For cluster resources we have a playbook here that could help to determine your baseline before the workload, can help with estimating needed resources with workflow in place too. If you go through it you’ll see how your numHistoryShards in static config plays a role there and also what server does without any workloads in terms of resource utilization and db calls. Hope helps…