Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

What does the `maxReplicas` property mean in the pipeline yaml in Azure in context of the k8s deployment?

What does the maxReplicas property mean in the pipeline yaml in Azure in context of the k8s deployment?

E.g. in this documentation the maxReplicas: 10 is mentioned. But there is no explanation about what it means. At least I was not able to find one. Would be grateful if someone will help me to find the documentation on that.

I have two assumptions.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

First, it means that we need to duplicate pods. I.e. with the maxReplicas: 10 we may have up to 10 clusters with identical pods.

Second assumption, the maxReplicas: 10 means that in a k8s cluster we can have no more than 10 pods.

>Solution :

It refers to the Kubernetes Horizontal Pod Autoscaler.

https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale-walkthrough/

Example: https://learn.microsoft.com/en-us/azure/aks/tutorial-kubernetes-scale?tabs=azure-cli

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading