Skip to content

Commit

Permalink
Merge pull request #204 from yussufsh/master
Browse files Browse the repository at this point in the history
Timeout added while removing worker node
  • Loading branch information
ltccci authored Apr 29, 2021
2 parents 21fcdc9 + c22a893 commit ae419af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/4_nodes/nodes.tf
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ resource "null_resource" "remove_worker" {
on_failure = continue
inline = [<<EOF
oc adm cordon worker-${count.index}
oc adm drain worker-${count.index} --force --delete-local-data --ignore-daemonsets
oc adm drain worker-${count.index} --force --delete-local-data --ignore-daemonsets --timeout=180s
oc delete node worker-${count.index}
EOF
]
Expand Down

0 comments on commit ae419af

Please sign in to comment.