diff --git a/src/xpk/commands/run.py b/src/xpk/commands/run.py index 74a3f0bbe..e5be3c7e0 100644 --- a/src/xpk/commands/run.py +++ b/src/xpk/commands/run.py @@ -30,7 +30,7 @@ ) from ..core.kueue import LOCAL_QUEUE_NAME from ..utils.console import xpk_exit, xpk_print -from ..utils.validation import validate_dependencies, should_validate_dependencies +from ..utils.validation import validate_dependencies_list, SystemDependency, should_validate_dependencies from .kind import set_local_cluster_command from .kjob_common import add_gpu_networking_annotations_to_command, add_TAS_annotations_to_command @@ -44,7 +44,11 @@ def run(args: Namespace) -> None: None """ if should_validate_dependencies(args): - validate_dependencies() + validate_dependencies_list([ + SystemDependency.KUBECTL, + SystemDependency.KJOB, + SystemDependency.GCLOUD, + ]) if not args.kind_cluster: add_zone_and_project(args) get_cluster_credentials(args)