diff --git a/kelpy/deployment.py b/kelpy/deployment.py index e46c4b3..81cefa8 100644 --- a/kelpy/deployment.py +++ b/kelpy/deployment.py @@ -55,7 +55,7 @@ def pod_selector(client, name, namespace="default"): return None -def delete(client, name, namespace="default", wait_for_timeout=300): +def delete(client, name, namespace="default", wait_for_timeout=180): try: response = client.delete_namespaced_deployment(name, namespace) except ApiException as e: diff --git a/kelpy/namespace.py b/kelpy/namespace.py index 4a6f16f..16cf3d4 100644 --- a/kelpy/namespace.py +++ b/kelpy/namespace.py @@ -40,7 +40,7 @@ def get(client, name): return None -def delete(client, name, wait_for_timeout=300): +def delete(client, name, wait_for_timeout=180): try: response = client.delete_namespace(name) except ApiException as e: