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

Document how to configure the namespace per user strategy #18390

Closed
sunix opened this issue Nov 17, 2020 · 8 comments
Closed

Document how to configure the namespace per user strategy #18390

sunix opened this issue Nov 17, 2020 · 8 comments
Labels
area/doc Issues related to documentation kind/task Internal things, technical debt, and to-do tasks to be performed.

Comments

@sunix
Copy link
Contributor

sunix commented Nov 17, 2020

Is your task related to a problem? Please describe.

It looks like the kubernetes namespace per user strategy is not set by default in non Openshift installation.

See: #18381

We should document how to configure the namespace per user strategy.

https://www.eclipse.org/che/docs/che-7/installation-guide/configuring-namespace-strategies/

Describe the solution you'd like

I don't think so and I agree that this should be at least documented. Something like "if you want to have namespace per user strategy, grant these cluster permissions ClusterRole blablabla to che SA and set server.workspaceNamespaceDefault:'che-<username>'"...

@sunix sunix added the kind/task Internal things, technical debt, and to-do tasks to be performed. label Nov 17, 2020
@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 Nov 17, 2020
@vzhukovs vzhukovs added area/doc Issues related to documentation and removed status/need-triage An issue that needs to be prioritized by the curator responsible for the triage. See https://github. labels Nov 17, 2020
@yhontyk
Copy link

yhontyk commented Jan 28, 2021

Docs Jira issue https://issues.redhat.com/browse/RHDEVDOCS-2573

@themr0c
Copy link
Contributor

themr0c commented Feb 9, 2021

@sunix Is the issue still relevant?

@sunix
Copy link
Contributor Author

sunix commented Feb 9, 2021

@themr0c I don't know, I have an existing installation, workspaces are all running in the same namespace and not sure what is the procedure to fix it.

@yhontyk
Copy link

yhontyk commented Feb 23, 2021

@sunix
@sparkoo has added some documentation in this PR eclipse-che/che-docs#1747
Here it is on the website, PTAL https://www.eclipse.org/che/docs/che-7/installation-guide/configuring-namespace-strategies/#_one_namespace_per_user_strategy

Is this sufficient or needs to be expanded?

@sunix
Copy link
Contributor Author

sunix commented Feb 23, 2021

Thanks @boczkowska
I will try to update my own che cluster to see if this is OK. Closing for now, will open a new one if I have any issue.

@sunix sunix closed this as completed Feb 23, 2021
@sunix sunix reopened this Feb 23, 2021
@sunix
Copy link
Contributor Author

sunix commented Feb 23, 2021

Just a question @sparkoo :

(first paragraph of https://www.eclipse.org/che/docs/che-7/installation-guide/configuring-namespace-strategies/)

By default, every workspace is deployed in a distinct Kubernetes namespace or OpenShift project,

I thought the default was 1 namespace per user ?

@sparkoo
Copy link
Member

sparkoo commented Feb 23, 2021

@sunix I can see the changeset comes in this PR eclipse-che/che-docs#1741, so it's better to ask @themr0c. I know that 1 namespace per user is the desired default, but I'm not sure it's default for all deployments. TBH I've lost a track. Maybe @tolusha can tell if all deployments has default 1ns/user ?

@skabashnyuk
Copy link
Contributor

Already implemented

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/doc Issues related to documentation kind/task Internal things, technical debt, and to-do tasks to be performed.
Projects
None yet
Development

No branches or pull requests

7 participants