The post-remove action fails during the kubectl delete node action because with rc: 2, command not found. The kubectl is not in the system PATH and the full path to the binary is required
Drain node except daemonsets resource Use reset cluser for delete deploy data Then delete node