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

Pull application from cluster (Devfile as a ConfigMap in the cluster) #5869

Open
8 tasks
rm3l opened this issue Jun 23, 2022 · 5 comments
Open
8 tasks

Pull application from cluster (Devfile as a ConfigMap in the cluster) #5869

rm3l opened this issue Jun 23, 2022 · 5 comments
Labels
kind/user-story An issue of user-story kind lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done.

Comments

@rm3l
Copy link
Member

rm3l commented Jun 23, 2022

User Story

  • As on odo user
  • I want to be able to import/pull application running on the cluster (I don't have it's devfile, and I don't know where the source code is)
  • So that I can make changes to the application and run it with my changes

Acceptance Criteria

  • It should sync the Devfile content to a ConfigMap in the cluster
    - [ ] It should watch for changes to this ConfigMap and handle them in its reconcile loop
  • This ConfigMap should be the parent Kubernetes owner object of all the other objects odo creates (Deployments, Services, ...)
  • This ConfigMap should be used whenever we need to retrieve all Kubernetes objects that pertain to the Devfile
  • Leave room for extension in the ConfigMap spec
  • Make sure the naming scheme allows to store this in a shared namespace. Naming scheme should be consistent with what will be done in Allow multiple odo users share one namespace #5862
  • Update odo delete logic to use this
  • Make sure Devfile changes are handled even if the devfile.yaml is Git-ignore'd. For example, changes to the commands in the Devfile should cause the commands to be restarted in the container. See odo dev: react to changes as soon as possible #5933 (comment)
  • It should also not break the --no-watch flag

Notes

  • side effect odo codebase could be simplified (e.g., ownerReferences / deletion handling, selecting all dependent resources)

- Use new approach based on reconcile loop POC: https://github.com/feloy/odo-dev-controller-poc

Links

/kind user-story

@openshift-ci openshift-ci bot added the kind/user-story An issue of user-story kind label Jun 23, 2022
@rm3l rm3l added the priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done. label Jun 27, 2022
@cdrage
Copy link
Member

cdrage commented Aug 2, 2022

Blocked by #5933

@valaparthvi
Copy link
Member

This is be helpful with #6453 for describing details that we abstract from the Devfile.

@kadel
Copy link
Member

kadel commented Feb 20, 2023

updated user story so it is clear what will be benefit for users

@kadel kadel changed the title odo dev: Devfile as a ConfigMap in the cluster Pull application from cluster (Devfile as a ConfigMap in the cluster) Feb 20, 2023
@github-actions
Copy link
Contributor

A friendly reminder that this issue had no activity for 90 days. Stale issues will be closed after an additional 30 days of inactivity.

@github-actions github-actions bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Oct 10, 2023
@rm3l
Copy link
Member Author

rm3l commented Oct 10, 2023

Still relevant.

/remove-lifecycle stale
/lifecycle frozen

@openshift-ci openshift-ci bot added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Oct 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/user-story An issue of user-story kind lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. priority/Low Nice to have issue. It's not immediately on the project roadmap to get it done.
Projects
Status: No status
Development

No branches or pull requests

4 participants