-
Notifications
You must be signed in to change notification settings - Fork 6
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
Update OpenShift guide to use the Operator #411
Comments
Should we also update the Kubernetes guide (or guides)? |
Make sense to consider for the Kubernetes guides too. |
This version also uses an older version of OpenShift so we may need to update that to take advantage of operators. |
I was asked to look at the guide for different reasons, and whereas I understand the desire to use this same sample across different tutorials, it just doesn't make for a good Docker-based example, more so when paired with the OpenShift platform. My comments:
|
@arthurdm ^^ |
hi @nastacio - regarding point 4: The Operator is meant to replace things like the DeploymentConfig, not BuildConfig. So you can definitely still use things like new-build or any other way to build the image or image stream, and then use the OL Operator to actually deploy it - with a much larger set of QoS available than what a vanilla Deployment or DeploymentConfig would allow. |
How about |
The |
I can understand Denilson's point 1 and 2 particularly in the context of CI/CD. Then, another key consideration is what is the optimal workflow for developers during development. A war and then image build can be reasonable. @gkwan-ibm @meswan, these are what we need to feed into OpenLiberty/open-liberty#9890 and validate with stakeholders/users. The focus of this issue will be to use Open Liberty Operator for deployment for the OpenShift guide. Can have new issues to cover similar updates to the other guides if appropriate. (Use of Operator isn't specific to Open Liberty but a general trend/direction.) |
Keep the current version around until OpenShift in the other clouds are updated to 4.x. Create a separate version that shows Operator for now. |
When you look at the
|
Re: comment above, the integration with |
@nastacio +1. We added image stream support to our Operators recently. It reacts (i.e. rolling deployment) to changes in it. |
Hello all. I'm tasked with re-writing the guide to incorporate operators as well as any additional features discussed in this thread or pointed out to me. I wanted to take a moment to showcase what I updated in the draft to incorporate said changes:
The above changes have been implemented in a new branch, here: OpenLiberty/archived-guide-cloud-openshift#53. It includes the Additional features that I will be or will be thinking of implementing are:
I wanted some quick reviews before proceeding with the guide update to ensure that it looks good to you all, and if there are any comments/questions/concerns with the process thus far. @nastacio @arthurdm @yeekangc @gkwan-ibm @gcharters @jamiecoleman92. Also CCing @leochr and @navidsh as they provided some ideas on the guide content. |
As indicated in a prior comment, the version with Operator should be in a new guide. The existing one should be kept around for users that need it. |
|
|
|
|
|
|
|
|
|
Signing off assuming the latest PRs will be merged. Please proceed to publish. |
Our strategic direction is to use the Liberty Operator for deploying to OpenShift, but our current OpenShift guide doesn't use this approach (because the operator didn't exist when it was written). We should update the OpenShift guide to use the operator-based approach.
This may resolve #303 or could be separate.
The text was updated successfully, but these errors were encountered: