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

feat(CLI): envd create command #957

Closed
Tracked by #179
gaocegege opened this issue Sep 30, 2022 · 2 comments · Fixed by #1001
Closed
Tracked by #179

feat(CLI): envd create command #957

gaocegege opened this issue Sep 30, 2022 · 2 comments · Fixed by #1001
Assignees

Comments

@gaocegege
Copy link
Member

Description

envd create will be introduced as the new command. It builds the image and launches the container/pod. If the runner is envd-server, the image needs to be pushed first.

Here, the endpoint from envd-server needs to be designed carefully.

POST /v1/environments
To be determined.

And, the pod name should be searchable. The envd-server needs to find the correct pod from the limited information (identity token and project name) when users run ssh.

Ref #303 #939


Message from the maintainers:

Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

@gaocegege
Copy link
Member Author

And, in the issue, we need to refactor the func StartEnvd() in the engine interface.

@gaocegege
Copy link
Member Author

gaocegege commented Oct 7, 2022

We will implement pod creation first:

envd create --image=xxx

It's optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant