k8s pdb eviction policy - AlwaysAllow - for 1.27

 

Example where we can set PDB to evict pods altho it is not necessarily in a ready state - this will be useful for evicting pods that are buggy

apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
  name: nginx-pdb
spec:
  selector:
    matchLabels:
      app: nginx
  maxUnavailable: 1
  unhealthyPodEvictionPolicy: AlwaysAllow

Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm