r/openshift • u/[deleted] • Jun 06 '20
OpenShift 3 AIO Install
I am getting to grips with OpenShift and need to install OpenShift 3 - not v.4 since there is no Docker anymore with 4.
I am following this simple guide:
https://www.openshift.com/blog/openshift-all-in-one-aio-for-labs-and-fun
I am using a Red Hat Developer Subscription which is fresh and current.
Part of these instructions are to enable a repo called "rhel-7-server-ose-3.11-rpms"
Yes, the OpenShift 3 repo ... however it does not appear in the list of my available repo subscriptions.
How can I get a subscription to this ?
6
u/Benemon Jun 07 '20 edited Jun 07 '20
The presence (or not) of Docker is an implementation detail that you as a user and administrator of OpenShift do not need to care about.
You orchestrate your container deployments with OpenShift. OpenShift tells the container runtime what to do.
Docker and CRI-O (OpenShift v4's container runtime) are built to work with OCI containers, which is an open standard. This means you can build containers outside OpenShift using Docker - or use containers other people have built using Docker - and run them in Openshift. You can also build containers inside OpenShift 4, and run them elsewhere on different runtimes as long as the runtime is OCI compliant.
If you want a full cluster, you have two options:
You can install a 60 day evaluation of OpenShift 4 from try.openshift.com.
Alternatively, you can install the upstream community version, called OKD.
3
u/Rhopegorn Jun 07 '20
Developer versions ( from developer.redhat.com ) are
3.x minishift
4.x code ready containers
3
u/Shonucic Jun 07 '20 edited Jun 07 '20
As others have said, all OCI containers will work on all OCI-compliant container runtimes (cri-o, containerd, docker, etc).
Many Kubernetes clusters these days, not just OpenShift, no longer use docker as the container runtime either (in lieu of either cri-o or containerd). The tool docker is bloated for the job of running Kubernetes containers and the company Docker didn't really play all that nice with the community, so the community moved on from using it as the primary Kubernetes container runtime (hence why OpenShift uses cri-o optionally in 3.11 and as the default in 4.x).
If you use OpenShift / OKD 4.4+ the Red Hat CoreOS hosts are entitled automatically and you don't have to fiddle with subscription-manager.
If you are set on using OpenShift 3.11 (which is starting to show its age and is quite a bit more unwieldy to manage than 4.x) then you'll need to have a Red Hat account that has access to a subscription with a pool that contains the repositories used to deploy OpenShift.
You can find information on which repositories are needed for this in the documentation Registering Hosts.
# subscription-manager repos \
--enable="rhel-7-server-rpms" \
--enable="rhel-7-server-extras-rpms" \
--enable="rhel-7-server-ose-3.11-rpms" \
--enable="rhel-7-server-ansible-2.9-rpms"I do not believe there is a free tier for this in 3.11, you'll have to deploy OKD 3.11 on CentOS instead, which uses public repositories.
There is a free-tier for OpenShift 4.x however. You just need to create a Red Hat developer account and then log in to https://cloud.redhat.com/openshift/install.
2
u/Kaelin Jun 06 '20
I don't believe Openshift is even part of the developer subscription (even if it was Developer sub only covers the most recent releases - for example RH7 is not part of it but RH8 is). It does come online with a 60 day trial I think.
6
u/GargantuChet Jun 07 '20
Why does it matter about Docker? It still accepts docker images and can generate images from Dockerfiles.