Restart pod on Podman when related information is changed in Devfile #6458
Labels
area/dev
Issues or PRs related to `odo dev`
area/odo-on-podman
Issues or PRs related to running odo against Podman
kind/user-story
An issue of user-story kind
priority/High
Important issue; should be worked on before any other issues (except priority/Critical issue(s)).
sprint demo
Indicates an issue for which a demo should be recorded and presented at the end of the sprint.
Milestone
/kind user-story
User Story
As a user running
odo
against Podman, I want changes to my Devfile to be detected and applied, So that I can continuously iterate on my project without having to restartodo dev
manually.Restarting
odo dev
manually every time I edit something in the Devfile can be annoying and time-consuming.Currently, it detects any changes to the Devfile and warns users that
odo dev
needs to be restarted (see #6336). Even changes that would not affect the running Pod (like changes to thebuild
orrun
commands) are ignored.Acceptance Criteria
[ ] It should recreate the Pod on Podman if there are changes in the Devfile that would modify the Pod spec (e.g., changes in the container component, ...)[ ] It should not recreate the Pod on Podman if there are changes in the Devfile that would not modify the Pod spec (e.g., changes to therun
command only)[ ] Similarly to howodo dev
works against a cluster, it should notify users of the current Pod state[ ] Similarly to howodo dev
works against a cluster, external factors that might affect the running Pod should also be handled by recreating the Pod if needed (but that can be a separate issue)Links
odo dev
needs to handle changes indevfile.yaml
#5728/kind user-story
The text was updated successfully, but these errors were encountered: