-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
How to update che which was installed using chectl server:deploy --installer=helm
as described in the official documentation for "Installing Che on AWS"
#20712
Comments
cc @mmorhun |
Hello @philipreimer. Helm installer that deploys Che is deprecated, there is issue #20552 about that. |
What is the recommended way to do that?
How do I do that? Is there some kind of migration guide available? We are using EKS ("plain" kubernetes, no openshift). The che docs only mention the "helm-installer" for AWS. In fact table 3 on the Supported Platforms page seems to indicate that the operator only works with openshift? How do I migrate values from How do I make sure that all configurations (keycloak users, etc.) are migrated to my new deployment? |
Hello @philipreimer. Sorry for delay.
Ideally, devfile should be present in the repository, so Che can just create workspace from the repository (just paste repository URL in the dashboard). Of course, before moving commit and push all your changes.
Unfortunately, there is no migration guide I know about. But it is very easy to deploy Che with Operator installer even on vanilla Kubernetes (ingress controller should be set up, though). Just use chectl server:deploy --platform=kubernetes --installer=operator --domain=your.domain.com
The doc is wrong. Operator installer works on vanilla Kubernetes for a long time already (two years for sure). I use this installation method for testing very often.
You have to provide spec:
server:
disableInternalClusterSVCNames: true
devfileRegistryImage: docker.io/user/image:tag
k8s:
singleHostExposureType: native And sources might be helpful as well.
That's the hardest part and I don't have a good answer, really sorry... Attempt 1 Attempt 2
Actually Operator installer is much better because it can dynamically change Che configuration. Say, one has deployed Che and then decide to change some settings. No need to redeploy. Just run If something is not clear, feel free to ask more questions. Sorry for inconvenience... |
If PostgreSQL pod failed to start, then repeat steps 9-10 again.
|
Finally guide above #20712 (comment) works |
How would you do that? It seems that not even an admin account can list - let alone manage - all users' workspaces. Neither with |
@philipreimer |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
/remove-lifecycle stale |
Please re-open. The issue is not resolved. |
Summary
How does one update che, which has been deployed on AWS following the official documentation for Installing Che on AWS?
Relevant information
Che was installed following the official documentation for Installing Che on AWS, i.e.:
chectl server:deploy --installer=helm --platform=k8s --domain=...
When trying to follow the instructions for Upgrading Che using the CLI management tool, I get the following error:
The error log says:
Cause: Error: che-operator deployment is not found in namespace ...
But
server:update
does not allow to specify--installer=helm
likeserver:deploy
does.So how to tell
chectl
to look for a helm-based deployment?The text was updated successfully, but these errors were encountered: