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.81k stars 513 forks source link

sky serve update doesn't roll out updated service unless the yaml config changes #4301

Open alita-moore opened 1 week ago

alita-moore commented 1 week ago

When I run sky serve update <config>.yaml it seems to only roll out a new service version if the provided config has changed. But this is not desirable because of the case where I want to rollout a change that is present inside of the image that's being loaded. In other words, when the docker image is updated I want a new version of the service to be rolled out.

Version & Commit info:

concretevitamin commented 1 week ago

Thanks for the report @alita-moore! In the image_id field, did you use a ...:latest tag, or did version in the tag change?

alita-moore commented 1 week ago

I didn't use exactly :latest but the version of the tag did change, yeah.