Kubernetes version: Client Version: v1.19.7
Server Version: v1.19.16
Cloud being used: (put bare-metal if not on a public cloud) Rancher
Installation method: Terraform
Host OS: control plane Centos7, worker nodes Centos 8
CNI and version: flannel 0.15.1
CRI and version: docker 20.10.6
My cluster is set up with two different StatefulSet (data-az1 and data-az2), deployed in two different availability zone (AZ1 and AZ2). Is it possible to bring down all the PODS at a time in one availability zone using PodDisruptionBudget (100% maxUnavailable). Suppose for any maintenance activity (i.e nodes upgrade) we want to bring down all the pods in AZ1 and AZ2 will serve the request.
We have tried with data-az1-pdb (100% maxUnavailability) and during upgrade all the pods restarting one by one. We need to somehow force down all the pods in one AZ1 and it should not recreate as part of STS.
Is is possible to bring down all the pods in one AZ using PodDisruptionBudget.
Could anyone please clarify this.