def METHOD_NAME(label_selector):
    print("label selector: %s, wait all containers ready" % (label_selector))
    while True:
        if containers_all_ready(label_selector):
            break
        print('not all containers ready, sleep for 5 seconds...')
        time.sleep(5)