• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

OpenShift in Action: Docker CE support

 
Greenhorn
Posts: 20
IntelliJ IDE Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Jamie and John,

We are using plain Kubernetes (without OpenShift) with Docker CE 18.3 as a container engine. I know that this is not supported combination now but it works and we need newer Docker for multistage builds.

Now one customer wants to run our application in OpenShift - will it be problem to use Docker version 18.3 instead of 1.13 which is tested with OpenShift 3.9?
Is there a plan to support new Docker versions in OpenShift even if they are not in official RHEL and Fedora repositories anymore?
Or is there any plan to leave Docker and use Cri-o instead of it?

Thanks a lot,
Lukas

BTW: What a coincidence! I started with OpenShift yesterday ;-)
 
Author
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, Lukas.

Are you using the 'integrated' kubernetes with Docker products? Or did you deploy kubernetes on its own?

I ask because kubernetes only validates functionality up through docker version 1.13 (https://github.com/kubernetes/kubernetes/blob/release-1.10/CHANGELOG-1.10.md#external-dependencies).

This has been the case for some time, due to some choices made within the docker (now moby) project. Using a more upstream version of docker could cause ... random weirdness. Or worse.

OpenShift will stay true to the testing/validation that's done in Kubernetes. That decision is a long discussion in a whole host of github issues for kubernetes and docker.

In version 3.10, our current plan is to make Cri-o fully supported, with docker as the default container runtime. In 3.11, we hope to make Cri-o the default container runtime, with docker fully supported.

When we released RHEL 7 we stated that we'd support docker for the entire 10 year lifecycle, and we'll stay true to that. The political stuff that comes with the versions of docker and how they're released is something that's way beyond my paygrade.

Does that help?

-jduncan

 
Lukas Machacek
Greenhorn
Posts: 20
IntelliJ IDE Fedora Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you Jamie for your reply.

I'm using own Kubernetes 1.10 cluster installed by kubeadm.

Kubernetes 1.9 and 1.10 are also validated with Docker 17.03 as it is written in the linked change-log you provided:

The validated docker versions are the same as for v1.9: 1.11.2 to 1.13.1 and 17.03.x (ref)


Nevertheless multistage builds are from version 17.05 and there we had some problems with high CPU usage which was gone in version 18.03. This is the reason why we use this "unvalidated" combination now.

I understand that this is difficult - on one side there is enterprise world with long term support (10 years for RHEL) and on the other side are Kubernetes with 3 months release cycle. And who knows if there are friendly relations between Docker and Kubernetes community ...

You helped me for sure - now I know that I should finally try Cri-O and hope that multistage build will be also available there in the future ;-)

Is there any chapter about Cri-O in your book?

Lukas
 
Jamie Duncan
Author
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I didn't even notice the 17.03 reference. thanks!

+1 for Cri-O. I wish we had room in the book for multiple chapters on Cri-O and its toolset like podman, buildah, etc. If we get to do a second edition it's definitely in there.

Best of luck and shout if we can help with anything.

-jduncan
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic