r/openshift • • Jan 06 '22

Just wrote about the differences between OpenShift and Kubernetes. Tell me what you think?

0 Upvotes

10 comments sorted by

16

u/CoaxVex Jan 06 '22

It would be more interesting to compare Openshift with other ways to deploy and manage an on-prem Kubernetes cluster like kubespray or Rancher. Don’t forget that Openshift actually IS Kubernetes with a bunch of extra stuff around it, or configured in a specific way. The way you have written the article makes it look like Openshift is a completely different product.

12

u/BadUsername_Numbers Jan 06 '22

Not gonna lie, I think it's a pretty bad comparison - Openshift is basically k8s and metric ton of other stuff. Kubernetes is merely the orchestrator.

8

u/saucier_dossier Jan 06 '22

As others have said, you are comparing two technologies where it doesn't make sense. Comparing OpenShift to Kubernetes is like comparing an automobile to an engine. The engine is a major component of the whole automobile, but it's only one component.

With that said, there are some other glaring issues with the article:

With OpenShift 4.x, Docker containers were replaced with CRI-O containers. OpenShift can still run Docker containers if they're OCI-compliant, but they are not the default.

OpenShift can be integrated with Jenkins, but the integrated OpenShift Pipelines CI/CD solution are built on Tekton, not Jenkins. Also, CircleCI is a third-party tool for CI/CD that can be used with OpenShift. OpenShift does not rely on CircleCI, it is one of many available third-party CI/CD solutions.

The entire Deployment section doesn't make sense. OpenShift supports deployments based on YAML files, container images, Dockerfiles, templates, Operators, and yes, Helm charts. Again, OpenShift is built on top of Kubernetes, so in almost every case, base Kubernetes features are available in OpenShift.

6

u/Wirebraid Jan 06 '22 edited Jan 06 '22

Nice.

I'm no expert but I work with both platforms. I think the CNCF could make an effort to make K8s a bit more affordable accesible for begginers, and create some official quality of life addons. The learning curve is terrible if you go by your own.

A container registry would be a good idea, and also some work in the dashboard.

I love K8s, but coming from Openshift I miss some things.

1

u/BadUsername_Numbers Jan 06 '22

How could it be more affordable than free? They give you money for running it?

4

u/Wirebraid Jan 06 '22

I meant accesible, like in easy to learn, I used the wrong word :)

2

u/BadUsername_Numbers Jan 06 '22

Right, makes more sense.

2

u/R3D3MPT10N Jan 06 '22

Some notes:

Yeah, I mean you don't HAVE to pay Red Hat to use OpenShift. Here is the free version:
https://docs.okd.io/latest/welcome/index.html

Regarding deployments. You can use Helm with OpenShift as well, it will work fine. It is, after all just Kubernetes.

A really big point that you missed is that OpenShift uses Operators to manage the lifecycle of the cluster. The Operators manage adding and removing nodes, upgrades and updates, and generally keeping things running:
https://docs.okd.io/latest/operators/understanding/olm-what-operators-are.html
https://cloud.redhat.com/blog/helm-and-operators-on-openshift-part-2
https://docs.okd.io/latest/operators/operator-reference.html
https://github.com/openshift/cluster-version-operator

Networking really depends which adventure you choose. OpenShiftSDN and OVN-Kubernetes are the two you're most likely to be choosing between when you deploy it:
https://docs.okd.io/latest/networking/ovn_kubernetes_network_provider/about-ovn-kubernetes.html
https://docs.okd.io/latest/networking/openshift_sdn/about-openshift-sdn.html

Both are based on OVS, yes, but OVN probably deserves a mention on it's own since it's a fair bit more than just traditional OVS.
https://www.ovn.org/en/

1

u/softwareburnout Jan 06 '22

I'm not super familiar with OpenShift (yet!) but I think it is a good article!
As constructive criticisim, I would recommend to use the term Linux Container instead of Docker Container; Docker is really just one engine used to run Linux containers and its being (or has been?) phased out from Kubernetes as a runtime engine (replaced by either containerd directly or cri-o). Same thing with Docker registry.

0

u/waagalsen Jan 06 '22

I have a laptop with 32GB RAM I am able to run a 2 nodes kerbernetes cluster. It allowed me to train myself on how to install on baremetal or VMs.

For Openshift in order for me to build a lab without using the cloud, it is impossible. The specs are too much for my laptop to handle.