-
Notifications
You must be signed in to change notification settings - Fork 235
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
OpenShift Compatibility for Jenkins Operator #826
Comments
Generally speaking I don't think we have something specific that will let the operator to not run correctly in openshift. Coming back to ocp: I belive that we may have some issue if we do not run the jenkins pod with an scc that will grants the anyuid, or the specific jenkins image id to be set as running user of the container. I'm not sure, we need to test it to understand if my guess will be true. But apart of this I do not expect any other critical issue in running vs ocp. Now the real problem is: testing. |
@brokenpip3 I don't think RedHat will support minishift for ocp 4.x any longer. They have moved on to https://github.com/crc-org/crc for ocp 4.x, due to lot of changes in installation. |
yes I saw that but the |
I followed the issue crc-org/crc#557 and it led to this issue crc-org/crc#2507, which aims to reduce the resource requirements of OCP 4.8. I think we are blocked until this issue has some meaningful progress. There were some experimental changes done by crc team crc-org/snc#241 to do this but doesn't look ready for our use here. |
If someone can try to deploy it in openshift and send here the logs, decribe, evetns will be great, I can take a look and try a fix if needed (90% will be a scc issue) |
@brokenpip3 The following are my deployment steps:
However, the jenkins instance pod keeps getting terminated soon after initiation. The following are the logs from jenkins operator pod. jenkins-operator-v0.60.log |
@akilada could you please try by using the latest version (0.8.0)? |
@brokenpip3 I used the example CR in your doc. Here is the log of the terminated pod: The rest looks similar to @akilada logs |
This is similar to deployment of the helm chart on Openshift/OKD You just need to adapt some environment vars for the plugin manager tool to download to a writtable location |
in our case it's slightly better you can choose to:
In any cases we should change our helmchart, or even better the code to always use |
That worked out great. |
Can you also attach the operator log? |
Also kubernetes events if possible |
Atm the Pod keeps getting a different problem: Operator log: I dont have a eventrouter on the Openshift running. |
to me seems that kubelet that is terminating the pod
you just need to run also this part of the code is something I never touched, and will be hard to have a testing env, its seems kind of broken, I don't think we should handle the ocp route for the user, like we do with the ingress
|
Good morning, this is what i get. not really meaningful... Which parameter can I use to increase the log level? The created route looks fine for me. |
the issue is this one:
I don't know who is changing the security context of the pod.
I wish I can take a look but since I can't afford a ocp cluster it will be very hard to have a proper support for openshift 4.x. |
Good news: there may be a company that will provide us some ocp compute time to verify and implement the openshift compatibility, will share more news as soon I will have more info |
Describe the solution you'd like
Since v0.6.0, it was mentioned that Jenkins Operator is not compatible with OpenShift.
https://github.com/jenkinsci/kubernetes-operator/releases/tag/v0.6.0
Describe alternatives you've considered
Is there working documentation for OpenShift using which I can test the compatibility of latest release on OpenShift?
Or should exactly the same documentation as for Kubernetes work on OpenShift as well?
@brokenpip3
The text was updated successfully, but these errors were encountered: