maxSurge and maxUnavailable in Kubernetes
maxSurge determines how many additional pods can be created beyond the desired number of replicas during a rolling update. It allows Kubernetes to temporarily exceed the target number of replicas to ensure availability while deploying new versions. The primary purpose of maxSurge is to minimize downtime by ensuring that new pods are created and ready …