Scaling for spring boot application using spring cloud

2/7/2022

I am using spring boot with Kubernetes and Eventhub. To connect with Azure Eventhub i use spring cloud stream. What is the math to determine the number of pods assuming non reactive spring boot application with apache tomcat?

Edit 1: to reframe my question, how do you factor in spring boot performance , request rate , user count, etc while scaling the pods?

-- user1354825
kubernetes
microservices
spring-boot

1 Answer

2/7/2022

In general the number of pods can be managed with a Deployment in Kubernetes. For more information you can see here kubernetes.io. In a Deployment you tell Kubernetes how many Replicas you want, which means how many Pods should be running. I don't know what you mean with non reactive spring boot application with apache tomcat. I also don't know about spring cloud stream.

-- Kerem
Source: StackOverflow