Commit 337e12a
Marcelo Guerrero
WIP Skip pods marked for deletion
In cases where the amount of ips is limited, pods affected by
a node shutdown remain in Terminating state and do not release
their allocations. Deployments are not able to create pods in
healthy nodes due to the lack of ips. These changes force the
ip reconciler to skip pods marked as deletion by a Taint Manager.
The toleration node.kubernetes.io/unreachable is expected to trigger
this. However, it is safe if other tolerations with NoExecute also
trigger the cleaning up.
Signed-off-by: Marcelo Guerrero <marguerr@redhat.com>1 parent c5e45aa commit 337e12a
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
54 | 60 | | |
55 | 61 | | |
56 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
57 | 72 | | |
58 | 73 | | |
59 | 74 | | |
| |||
0 commit comments