Open YiannisGkoufas opened 3 years ago
Hi!
Was wondering how I can wait for a pod to be ready if it's created by TestClient:
def test_one(kube: client.TestClient): pod = kube.load_pod("./tests/alpine.yaml") kube.create(pod)
Is there an alternative to time.sleep and periodically check? Or I should just use a deployment instead?
time.sleep
Hi!
Was wondering how I can wait for a pod to be ready if it's created by TestClient:
Is there an alternative to
time.sleep
and periodically check? Or I should just use a deployment instead?