apache / airflow-on-k8s-operator

Airflow on Kubernetes Operator
https://airflow.apache.org/
Apache License 2.0
89 stars 26 forks source link

PDB prevents node draining #28

Open jimmyjones2 opened 4 years ago

jimmyjones2 commented 4 years ago

The PDB's have minAvailable set to 100%. As per the docs the means:

you are requiring zero voluntary evictions. When you set zero voluntary evictions for a workload object such as ReplicaSet, then you cannot successfully drain a Node running one of those Pods. If you try to drain a Node where an unevictable Pod is running, the drain never completes.

I don't think this is desirable!