Score:0

Kubernetes - NodePort with persistent connections

lu flag

I am running a multi-node cluster of UDP game servers that need to be accessible to the player on a single domain name and port, i.e. example.com:19132. The game runs in a way that requires a series of UDP packets to be sent consistently to the same server after the initial connection.

The problem is, I want to have multiple and separate instances of the game. If I use a NodePort service, I'm afraid individual packets will get routed to different instances mid-session and ruin the connection.

Is there a way to do that without limiting the amount of scaling I can do? Am I limited to only running one instance per IP or is there a better way of balancing load consistently?

I sit in a Tesla and translated this thread with Ai:

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.