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

[POC] odo without kubernetes cluster / odo on podman #5865

Closed
1 task
Tracked by #5871
kadel opened this issue Jun 22, 2022 · 3 comments
Closed
1 task
Tracked by #5871

[POC] odo without kubernetes cluster / odo on podman #5865

kadel opened this issue Jun 22, 2022 · 3 comments
Assignees
Labels
kind/user-story An issue of user-story kind

Comments

@kadel
Copy link
Member

kadel commented Jun 22, 2022

/kind user-story

User Story

As an odo user, I want to be able to run my development environment locally without requiring kubernetes/openshift cluster
So that

  • I don't need to run the cluster locally and save resources
  • I get a quick response (quicker than when using cluster)

Acceptance Criteria

  • It should be possible to run odo dev on a simple devfile that doesn't use kubernetes components

more info

It should be possible to leverage podman for local development.
Podman already understands some of the kubernetes resources https://docs.podman.io/en/latest/markdown/podman-play-kube.1.html

/triage needs-more-information

/kind user-story

@openshift-ci openshift-ci bot added the kind/user-story An issue of user-story kind label Jun 22, 2022
@kadel kadel added triage/needs-information Indicates an issue needs more information in order to work on it. and removed kind/user-story An issue of user-story kind labels Jun 22, 2022
@redhat-developer redhat-developer deleted a comment from openshift-ci bot Jun 22, 2022
@kadel kadel changed the title odo without kubernetes cluster / odo on podman [POC] odo without kubernetes cluster / odo on podman Jun 23, 2022
@kadel kadel added linked-to-epic kind/user-story An issue of user-story kind labels Jun 23, 2022
@kadel
Copy link
Member Author

kadel commented Aug 29, 2022

The idea is that odo will try to use existing k8s resources that it generates and just pass it down to the podman play kube command.

  • deployments generated by odo can be almost used as it is with two exceptions

    • hostPort needs to be added to tell podman to expose port
    • emptyDir is not supported by podman and needs to be replaced with PVC
  • Service is not supported by podman play kube. But it is not necessary required to make everything work.

  • The most work will be to re-write file syncing logic to work with podman container instead of the container running on the cluster.

  • podman cp command can be used for transferring files between local filesystem and container

@feloy feloy mentioned this issue Sep 20, 2022
3 tasks
@rm3l rm3l removed the triage/needs-information Indicates an issue needs more information in order to work on it. label Oct 10, 2022
@rm3l
Copy link
Member

rm3l commented Oct 10, 2022

Closing this issue as completed.
Issues created via #6135 and added to the parent epic: #5871

/close

@openshift-ci
Copy link

openshift-ci bot commented Oct 10, 2022

@rm3l: Closing this issue.

In response to this:

Closing this issue as completed.
Issues created via #6135 and added to the parent epic: #5871

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@openshift-ci openshift-ci bot closed this as completed Oct 10, 2022
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
Projects
Archived in project
Status: Done
Development

No branches or pull requests

2 participants