diff --git a/sky/provision/kubernetes/instance.py b/sky/provision/kubernetes/instance.py index 40f6eb85e3d..1fd1795fafc 100644 --- a/sky/provision/kubernetes/instance.py +++ b/sky/provision/kubernetes/instance.py @@ -576,6 +576,7 @@ def _create_pods(region: str, cluster_name_on_cloud: str, } }] } + } pod = kubernetes.core_api(context).create_namespaced_pod( namespace, pod_spec) diff --git a/tests/test_smoke.py b/tests/test_smoke.py index 71609e54d88..b5fa4421355 100644 --- a/tests/test_smoke.py +++ b/tests/test_smoke.py @@ -2143,6 +2143,8 @@ def test_kueue_labels_kubernetes(): f'sky down -y {name}; kubectl delete --ignore-not-found -f tests/kubernetes/kueue-single-clusterqueue.yaml; kubectl delete --ignore-not-found -f tests/kubernetes/kueue-manifest.yaml', ) run_one_test(test) + + # ---------- Container logs from task on Kubernetes ---------- @pytest.mark.kubernetes def test_container_logs_multinode_kubernetes():