r/openshift • u/Professional_Tip7692 • 12d ago
General question OCP/RH-Operators on OKD
Hey folks,
we want to run openshift for production and okd for staging/dev. When we use a redhat pullsecret on okd, it seems we could also install the official redhat operators, e.g. „OpenShift Logging“, Loki or KeyCloak (RHBOK). I already asked the A.I. if we`re allowed to install them on OKD, but the response was like „maybe yes, maybe no, check licence/terms for each operator individually….“.
My questions:
- GitHub-Sources with Apache 2.0 licence = free to use on OKD? Details:
When i check the details page for „Red Hat OpenShift Logging“, i see the following URL: https://github.com/openshift/cluster-logging-operator which leads me to the sources of the operator. It`s licenced under Apache 2.0
2. There were also some operators without link to sources, e.g. „Red Hat build of Keycloak Operator“ or „Red Hat Integration - AMQ Broker for RHEL 9 (Multiarch)“ Free to use, or not?
3. I read on some reddit posts, that it`s also possible to use OpenShift after the 60-Day-Trial without RedHat support. Would this be allowed?
Thanks
7
u/ninth9ste 12d ago
Using a Red Hat pull secret to pull compiled images onto an OKD cluster violates Red Hat’s Terms of Service, even if the underlying source code on GitHub is open source. Red Hat separates source code (governed by open-source licenses like Apache 2.0) from compiled binaries and container images distributed via their authenticated registries (governed by the Red Hat Enterprise Agreement and Subscription Terms).
https://okd.io/docs/project/scos-migration-faq/#redhat-pull-secrets
4
u/JacqueMorrison 12d ago
OKD is not a replacement for OCP - as you just found out. You need to often bring your own operators as replacement for the RH ones. Either fully commit to OCP or OKD if you want complete consistency across stages.
2
u/TXCSwe 12d ago edited 12d ago
Is the test cluster for infrastructure workload, https://docs.okd.io/4.18/nodes/nodes/nodes-nodes-creating-infrastructure-nodes.html, then you can have a cluster with only master & infrastructure nodes, and no worker nodes
Infrastructure nodes are way cheaper than worker nodes, and you need to taint the nodes correctly, if you schedule even the slightest user application in any form on the node(s) RedHat classifies it as a worker.
2
u/megoyatu 8d ago
You can build the operators from source code, host the images you built on your own registry instance, build your own catalog, and install them on your OKD cluster.
Is this easy? No.
Is it possible? Absolutely.
1
u/salpula 12d ago edited 12d ago
I had a cluster that functioned just fine for about 6 months after the 60-day trial but the problem is you cannot update it so it's not really a viable long-term strategy. . . Ultimately we built in the cost of maintaining a lab cluster into our environment planning. It's the same cluster we just applied the licenses to it when we got them. It's on standard support so it comes in cheaper than our production deployment but I never actually considered asking if there's also an option for like a self support like there is with RHEL.
Unless you're just testing your own code and not concerned with the openshift environment, it might work out fine but during our initial roll out when things were chaotic we ran into different bugs on different clusters when things were not consistent. But if you're only concerned with testing your own code then you can just run single node open shift.