0 downtime with 1 replica

Hi everyone,

I’v got a process to update cluster and node : im doing a cordon and then a drain. Since some deployments i have are using1 replica id like to achieve 0 downtime upgrade on these deployments.
I know i can use 2 replicas with pdb, i tested and its working but id like to try a method to have 0 downtime with 1 replica. I saw it was possible to use maxsurge to do that but can you explain me how to do that ? Thanks !