The max replicas should be replicas+maxSurge. Instead kuota-calc uses replicas+maxSurge-maxUnavailable. For a mostly stock Deployment with 10 replicas this means that there will be max 13 replicas, but kuota calc outputs 11.
This is both from my understanding of the kubernetes docs and a local test using the kubernetes install shipping with docker desktop.
The max replicas should be replicas+maxSurge. Instead kuota-calc uses replicas+maxSurge-maxUnavailable. For a mostly stock Deployment with 10 replicas this means that there will be max 13 replicas, but kuota calc outputs 11. This is both from my understanding of the kubernetes docs and a local test using the kubernetes install shipping with docker desktop.