Skip to content

Commit

Permalink
Implement drain fallback with --disable-eviction to ignore PDBs (kube…
Browse files Browse the repository at this point in the history
…rnetes-sigs#8102)

Signed-off-by: Utku Ozdemir <[email protected]>
  • Loading branch information
utkuozdemir authored and Nick-0314 committed Jan 9, 2023
1 parent fbc241a commit 67b7904
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/upgrade/pre-upgrade/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
- drain_nodes
- drain_fallback_enabled
- result.rc != 0

rescue:
- name: Set node back to schedulable
command: "{{ kubectl }} uncordon {{ kube_override_hostname|default(inventory_hostname) }}"
Expand Down

0 comments on commit 67b7904

Please sign in to comment.