skypilot-org / skypilot

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.
https://skypilot.readthedocs.io
Apache License 2.0
6.74k stars 501 forks source link

sky-serve-controller use an image from private registry #4092

Open shengkaixuan opened 2 weeks ago

shengkaixuan commented 2 weeks ago

the default sky serve controller use the image: us-central1-docker.pkg.dev/skypilot-375900/skypilotk8s/skypilot:20240613

i want to put it to a private registry, so local k8s nodes can pull it quickly.

so where can configure it ?

romilbhardwaj commented 2 weeks ago

Hey @shengkaixuan, if you have a mirror to our image, you can modify your local ~/.sky/catalogs/v5/kubernetes/images.csv and change the path to the default image to point to your private registry.

shengkaixuan commented 2 weeks ago

got it, thank you, by the way, it will be nice to modify the serve controller image in the serve yaml file.