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(demo): Demo server #46

Open
gaocegege opened this issue Nov 1, 2022 · 5 comments
Open

feat(demo): Demo server #46

gaocegege opened this issue Nov 1, 2022 · 5 comments

Comments

@gaocegege
Copy link
Member

Description

Ref https://goharbor.io/docs/1.10/install-config/demo-server/

The demo server is cleaned and reset every two days.

We could have a demo server for envd-server on Kubernetes, and envd dashboard.


Message from the maintainers:

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

@kemingy
Copy link
Member

kemingy commented Dec 23, 2022

Explore:

  • cloud service
  • how to deploy our demo service
  • our remote builder

@kemingy kemingy self-assigned this Dec 29, 2022
@kemingy
Copy link
Member

kemingy commented Dec 29, 2022

After trying the harbor demo service, I think there are several things for us to do:

  1. serve and expose the envd dashboard frontend to public
  2. the envd server should run in noauth: false mode (weird name, I think auth: true is better), users are required to sign up and log in
  3. provide the tutorial for users to create the context and access the envd server
  4. set restrictions
  • image size (need to develop [optional])
  • number of environments (need to develop the global limit)
  • CPU/GPU/Memory for each environment (need to develop the global maximum limit)
  • destroy all the environment every midnight (maybe a cron job)
  • collect idle environment aggressively (need to develop)

Requirements for the service:

  • should be able to access APT/PyPI/GitHub/S3
  • GPUs (TBD)
  • could be a single VM or a Kubernetes cluster

Candidates:

I only tried GKE before. For such a demo service, VM with kind should also be possible.

Deployment:

  • if the Kubernetes cluster is ready, we only need to install the Helm chart and set up the cron job
  • need to configure the exposed port

Remote builder requirements:

@gaocegege
Copy link
Member Author

https://demo.questdb.io/

Here is another demo server example.

@kemingy
Copy link
Member

kemingy commented Dec 29, 2022

https://demo.questdb.io/

Here is another demo server example.

It's a read-only demo.

We can also disable the user sign-up and provide only one demo user.

Users can use envd build --push to build their images locally and push them to the docker registry. But some of them may suffer from network issues.

@kemingy kemingy removed their assignment Dec 30, 2022
@VoVAllen
Copy link
Member

apply for cloud resource

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

No branches or pull requests

3 participants