SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 12+ clouds). Get unified execution, cost savings, and high GPU availability via a simple interface.
In both cases verified logs are written to container stdout and can be read with kubectl logs -f. Also made sure the tail process is terminated after the task completes.
Many images (e.g., ubuntu, nemo) don't have
lsof
installed by default, which would cause our log tailing to k8s container output to fail.This PR removes the dependence on lsof by using our own minimal version of lsof.
Tested:
sky launch -c test --cloud kubernetes -- 'seq 1 10 | xargs -I {} sh -c "echo {}; sleep 1"'
sky launch -c test --cloud kubernetes --image-id docker:ubuntu:18.04 -- 'seq 1 10 | xargs -I {} sh -c "echo {}; sleep 1"'
In both cases verified logs are written to container stdout and can be read with
kubectl logs -f
. Also made sure thetail
process is terminated after the task completes.