Score:0

Traffic is not being spread evenly between replicas of OpenFaas functions

cn flag

As per this documentation, I have configured direct_functions to false, which allows the provider to balance traffic between replicas of OpenFaas functions. But it sends the traffic to only one replica. Without using any service mesh solution how do I archive the fairly balance the traffic to all pods that are related to one openfaas function? I have deployed OpenFaas on the EKS cluster.

Score:1
br flag

I hope you have set the service type as loadbalancer. Additionally please check the following link.

https://github.com/openfaas/faas-netes/tree/master/chart/openfaas#endpoint-load-balancing

Damith Udayanga avatar
cn flag
As per the above link, Disabling the KeepAlive connection cant be done because there is a requirement to have a KeepAlive connection. At last, I have configured the Linkerd as a solution for this. Thank you for your suggestion.
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.