rootfs / node-fencing

Apache License 2.0
5 stars 6 forks source link

clean resources from fenced node #14

Open bronhaim opened 6 years ago

bronhaim commented 6 years ago

maintain node's resource after fence - this is done by the controller in following steps:

  1. storage-fence - delete all statefulsets that are connected to fenced pv
  2. pm-fence - delete all pods running on the fenced node
bronhaim commented 6 years ago

when using statefulset we want to remove pods from unresponsive node immediately after starting pm-fencing (https://kubernetes.io/docs/tasks/run-application/force-delete-stateful-set-pod/)