zet

Fix “cannot evict pod as it would violate pod disruption budget”

This means there is probably a HorizontalPodAutoscaler or the PodDistributionBudget update and only one replica preventing the pod from being drained. Try this procedure:

  1. Change spec.minReplicas to 2
  2. Wait for additional replica to come up (on another node)
  3. Change back to 1
  4. Check that pod on node being blocked from drain is ‘Terminating’
  5. Try drain again and should work