How to migrate Kubernetes cluster from CentOS 7 to Redhat 8 with podman

We are currently using Kubernetes v1.19.14 cluster in CentOS 7 Instances with docker. We are running Spark jobs scheduled via Volcano.
We want to transfer our k8s cluster to RHEL 8 with podman.
Please let me know the steps that we need to follow for this task?

We cannot give advice on issues you are having in your workplace, however what I can tell you is that you cannot use podman as a container runtime for Kubernetes.

Once you upgrade Kubernetes to 1.24 of higher, then you cannot use Docker either. You must move to containerd or CRI-O. These are already supported in 1.19, so moving off docker ASAP is recommended.

It is perfectly fine to use podman to build the dockerfiles to images that you intend to use in any cluster irrespective of the container runtime.

1 Like