The current implementation uses maxUnavailable set to 1 for the PDB policy. However, according to Kubernetes documentation, pods with arbitrary controllers cannot use it. Instead, minAvailable should be used.
This fix is important since PDB policy will prevent node draining/rebooting forever.
The current implementation uses
maxUnavailable
set to 1 for the PDB policy. However, according to Kubernetes documentation, pods with arbitrary controllers cannot use it. Instead,minAvailable
should be used.This fix is important since PDB policy will prevent node draining/rebooting forever.