Skip to content
Discussion options

You must be logged in to vote

Thanks for the great writeup, and welcome! A 4-node Raspberry Pi 5 cluster running multiple Gemma 4 models on LLMKube is exactly the edge use case I had in mind when starting this project. Seeing it actually working is huge.

To your question: llama.cpp's server has a built-in --parallel flag that controls how many parallel inference slots a single process serves. Setting it to 1 makes each replica serialize requests at the runtime level, so subsequent requests queue inside llama-server until the active one finishes. Combined with the Kubernetes Service round-robining across your 3 replicas, that should give you exactly what you want without any external load balancer.

Today you'd configur…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Faylixe
Comment options

Faylixe Apr 27, 2026
Collaborator Author

@Defilan
Comment options

@Defilan
Comment options

Answer selected by Faylixe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants