Skip to content

Commit

Permalink
remove unused commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
hagak authored Nov 15, 2024
1 parent 5df49ea commit 8f3db7c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions node-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,7 @@ __node_failed_payload() {
else
message="FAILED to apply node taints on $node."
fi

#First check if we have done a kube delete over 8 min ago

#If not run kubectl delete pod <PODNAME> --grace-period=0 --force --namespace <NAMESPACE> for all pods in terminating status
#Then set a timestamp file for when we did this

IFS=$'\n'
for podline in $(kubectl --context $context get pods --all-namespaces -o wide --field-selector spec.nodeName=$node); do
IFS=' '
Expand Down

0 comments on commit 8f3db7c

Please sign in to comment.