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

User's k8s namespace creation routine #20164

Closed
skabashnyuk opened this issue Jul 21, 2021 · 0 comments
Closed

User's k8s namespace creation routine #20164

skabashnyuk opened this issue Jul 21, 2021 · 0 comments
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator area/che-server engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. severity/P1 Has a major impact to usage or development of the system.

Comments

@skabashnyuk
Copy link
Contributor

skabashnyuk commented Jul 21, 2021

Is your task related to a problem? Please describe.

Quite a few issues #19236 #19972
related to the way how and when a user's namespace should/can be created. I would like to propose a way how
we can solve several issues.

  • Pre-create the User's namespace if it does not exist. That should happen regularly since it can be deleted and we can't resist that.
  • For devworkspace engine, we need to prepopulate k8s namespace with self-signed secretes, proxy settings etc.
  • We would like to make the user's profile/preferences more k8s friendly (migrate from PostgreSQL)

Describe the solution you'd like

  • To have the REST Service on the Che server-side that will initiate k8s namespace provisioning and create CheUser CR in the user’s namespace. This method can be called from:
    On dashboard page load, from dashboard before each workspace related operation, before factory resolve
    From traefik on each request, with some caching (1-5 minutes)
  • To have a controller that will manage the creation of necessary configmaps in user's namespace
  • CheUser CR can later be used to store user’s preferences.

Implementation

Describe alternatives you've considered

n/a

Additional context

@skabashnyuk skabashnyuk added kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. area/che-server labels Jul 21, 2021
@che-bot che-bot added the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 21, 2021
@skabashnyuk skabashnyuk removed the status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. label Jul 21, 2021
@AndrienkoAleksandr AndrienkoAleksandr added the severity/P1 Has a major impact to usage or development of the system. label Jul 21, 2021
@l0rd l0rd removed this from the DevWorkspace Integration - STEP3 milestone Oct 4, 2021
@l0rd l0rd closed this as completed Oct 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/che-operator Issues and PRs related to Eclipse Che Kubernetes Operator area/che-server engine/devworkspace Issues related to Che configured to use the devworkspace controller as workspace engine. kind/epic A long-lived, PM-driven feature request. Must include a checklist of items that must be completed. severity/P1 Has a major impact to usage or development of the system.
Projects
None yet
Development

No branches or pull requests

4 participants