Open balonik opened 1 year ago
Hi @balonik yeah with 0.5.0
you will be able to customize the PDB further. Also note that the PDB is opt-in now and it's not created by default.
That said, I think it would be great if we support a PDB per type (JobManager / TaskManager) instead of global one. PR around this is very welcomed if you are interested.
I don't know the intentions of https://github.com/spotify/flink-on-k8s-operator/pull/353 and if it is supposed to be only for jobs or also for
TaskManager
orJobManager
. In current setup, there is only onePodDisruptionBudget
per cluster which includes all pods: jobs, taskmanager, jobmanager, ..., because the selector labels are not specific enough. Or the logic behind how desired number of pods is calculated is faulty.spec of existing
PodDisruptionBudget
and running pods:
This means that Pod can never be safely evicted to another node and just dies after the node is removed from the cluster or shutdown. I would prefer to have PdB per Pod type.
I have version
0.4.0
, I will try the0.5.0
if there are any changes around this.