If I want to increase the number of pods which file do I have to change? The deployment.yaml file or de values.yaml file?
Thanks
Hello @VictoriaSexmer1
It all depends on whether the number of pod replicas is parameterized or not. If yes, then it is enough to make changes only to the value file. If not, then you need to change the deployment file. In this case, a more complex solution is possible - set the number of replicas through a parameter in the deployment file and determine the value of this parameter in the value file. This solution affects both files
Good luck
Hello @VictoriaSexmer1
It all depends on whether the number of pod replicas is parameterized or not. If yes, then it is enough to make changes only to the value file. If not, then you need to change the deployment file. In this case, a more complex solution is possible - set the number of replicas through a parameter in the deployment file and determine the value of this parameter in the value file. This solution affects both files
Good luck
Thanks for the answer. But I need to know which fields of this files have to change. Wil be these ones?
deployment.yaml --> spec.replicas
values.yaml --> replicaCount
Thank you
Regards
Hi
It is definitly correct for deployment file, but it depends of name , which used for pod's replicas in value file. "replicaCount" looks good, but may be correct in one case and may be incorrect in other.
Good luck
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.