Example #1
0
def restart_cluster():
    if cmd_check_success("kubectl get nodes"):
        delete_cluster()
    create_and_start()
Example #2
0
def is_up():
    return cmd_check_success("kubectl get nodes")