Score:0

Laravel in php-fpm is not connection to new mysql pods in service of k8s in digitalocean

ci flag

I have a k8s cluster running in digitalocean. Within this cluster we have several pods running php-fpm (7.4) with a laravel application (v8.18) connected to a number of mysql database replica's.

When i load test the system the php and database nicely scale up but the already existing php pods only query to the already existing. To nicely balance everything i need to restart all the php-fpm pods. The databases do get added to the clusterip service but only the new pods seem to connect to them.

Can you help me what is going on here, because as far as i can see the connection is not persistent but it seems like the connection does not get closed between requests.

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.