Azure Aks automatic PDB
Azure AKS Automatic PDB provides automatic protection for your deployments during kubernetes upgrades or evictions. It supports HPA, KEDA and straight up deployment. One significant benenift is AKS upgrade sometimes are blocked by too restrictive PDB, with this extension we would be able to manage our cluster Installing the extension az feature register --namespace Microsoft.KubernetesConfiguration --name Extensions # Verify registration status az feature show --namespace Microsoft.KubernetesConfiguration --name Extensions # After the feature shows "Registered", refresh the provider az provider register -n Microsoft.KubernetesConfiguration Verifying the installation kubectl get pdb -A -o custom-columns=NAME:.metadata.name,NAMESPACE:.metadata.namespace,MIN-AVAILABLE:.spec.minAvailable,OWNER:.metadata.annotations.ownedBy | grep EvictionAutoScaler Setting up cluster wide PDB management Here we will target specific all namespaces az k8s-extension create --cluster-name <cluste...