diff --git a/src/zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py b/src/zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py index 72aa9a613d8..7a2b812656c 100644 --- a/src/zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py +++ b/src/zenml/integrations/kubeflow/orchestrators/kubeflow_orchestrator.py @@ -252,9 +252,9 @@ def list_manual_setup_steps( global_config_dir_path = zenml.io.utils.get_global_config_directory() kubeflow_commands = [ f"> k3d cluster create CLUSTER_NAME --registry-create {container_registry_name} --registry-config {container_registry_path} --volume {global_config_dir_path}:{global_config_dir_path}\n", - f"> kubectl --context CLUSTER_NAME apply -k github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref={KFP_VERSION}", + f"> kubectl --context CLUSTER_NAME apply -k github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref={KFP_VERSION}&timeout=1m", "> kubectl --context CLUSTER_NAME wait --timeout=60s --for condition=established crd/applications.app.k8s.io", - f"> kubectl --context CLUSTER_NAME apply -k github.com/kubeflow/pipelines/manifests/kustomize/env/platform-agnostic-pns?ref={KFP_VERSION}", + f"> kubectl --context CLUSTER_NAME apply -k github.com/kubeflow/pipelines/manifests/kustomize/env/platform-agnostic-pns?ref={KFP_VERSION}&timeout=1m", f"> kubectl --namespace kubeflow port-forward svc/ml-pipeline-ui {self.kubeflow_pipelines_ui_port}:80", ] diff --git a/src/zenml/integrations/kubeflow/orchestrators/local_deployment_utils.py b/src/zenml/integrations/kubeflow/orchestrators/local_deployment_utils.py index 125b3dd2282..bc5a10a7821 100644 --- a/src/zenml/integrations/kubeflow/orchestrators/local_deployment_utils.py +++ b/src/zenml/integrations/kubeflow/orchestrators/local_deployment_utils.py @@ -133,7 +133,7 @@ def deploy_kubeflow_pipelines(kubernetes_context: str) -> None: kubernetes_context, "apply", "-k", - f"github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref={KFP_VERSION}", + f"github.com/kubeflow/pipelines/manifests/kustomize/cluster-scoped-resources?ref={KFP_VERSION}&timeout=1m", ] ) subprocess.check_call( @@ -155,7 +155,7 @@ def deploy_kubeflow_pipelines(kubernetes_context: str) -> None: kubernetes_context, "apply", "-k", - f"github.com/kubeflow/pipelines/manifests/kustomize/env/platform-agnostic-pns?ref={KFP_VERSION}", + f"github.com/kubeflow/pipelines/manifests/kustomize/env/platform-agnostic-pns?ref={KFP_VERSION}&timeout=1m", ] )