Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use 'odo delete` to delete a component that's running locally with odo #2581

Closed
3 tasks
johnmcollier opened this issue Feb 7, 2020 · 5 comments
Closed
3 tasks
Assignees
Labels
area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/user-story An issue of user-story kind
Projects

Comments

@johnmcollier
Copy link
Member

johnmcollier commented Feb 7, 2020

User Story

As a user, I will need to be able to delete the applications I've deployed and developed with locally (on Docker), just as I can on Kube right now. odo delete <component> should remove all of the running containers for that application, alongside any volumes or other resources that were created.

Acceptance Criteria

  • It should clean up all of the resources deployed for that component + the component's config
  • It should use the same command as on Kube
  • When delete, only remove the container and leave the images around

Links

/kind user-story

@openshift-ci-robot openshift-ci-robot added the kind/user-story An issue of user-story kind label Feb 7, 2020
@johnmcollier
Copy link
Member Author

/area devfile

@openshift-ci-robot openshift-ci-robot added the area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. label Feb 7, 2020
@kadel
Copy link
Member

kadel commented Feb 13, 2020

/area local

@elsony elsony added this to For consideration in Sprint 182 via automation Mar 27, 2020
@jgwest
Copy link
Contributor

jgwest commented Mar 31, 2020

/assign

@girishramnani girishramnani moved this from For consideration to To do in Sprint 182 Apr 2, 2020
@elsony elsony moved this from To do to In progress in Sprint 182 Apr 9, 2020
@girishramnani girishramnani removed this from In progress in Sprint 182 Apr 20, 2020
@girishramnani girishramnani added this to For consideration in Sprint 183 via automation Apr 20, 2020
@girishramnani girishramnani moved this from For consideration to In progress in Sprint 183 Apr 20, 2020
@jgwest
Copy link
Contributor

jgwest commented Apr 23, 2020

First PR has merged. Since the first PR does not include support for deleting non-source volumes (John's non-source volumes PR had not been merged at time of first PR) I will be posting a second PR shortly to complete this user story.

This issue should remain open until second PR has merged.

@elsony elsony moved this from In progress to For review in Sprint 183 Apr 28, 2020
@girishramnani girishramnani removed this from For review in Sprint 183 May 11, 2020
@girishramnani girishramnani added this to For consideration in Sprint 184 via automation May 11, 2020
@girishramnani girishramnani moved this from For consideration to For review in Sprint 184 May 11, 2020
@elsony
Copy link

elsony commented May 12, 2020

Code merged, feature done

@elsony elsony closed this as completed May 12, 2020
Sprint 184 automation moved this from For review to Done May 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/devfile-spec Issues or PRs related to the Devfile specification and how odo handles and interprets it. kind/user-story An issue of user-story kind
Projects
No open projects
Sprint 184
  
Done
Development

No branches or pull requests

5 participants