def restart_cluster(): if cmd_check_success("kubectl get nodes"): delete_cluster() create_and_start()
def is_up(): return cmd_check_success("kubectl get nodes")