gpushare-scheduler-extender icon indicating copy to clipboard operation
gpushare-scheduler-extender copied to clipboard

Kubernetes removing docker as a runtime in late 2021

Open mmenbawy opened this issue 3 years ago • 5 comments

Docker as an underlying runtime is being deprecated in favor of runtimes that use the Container Runtime Interface (CRI) created for Kubernetes.

It will not be removed before Kubernetes 1.22, meaning the earliest release without dockershim would be 1.23 in late 2021. https://kubernetes.io/blog/2020/12/02/dockershim-faq/#when-will-dockershim-be-removed

Will this affect the gpushare-scheduler-extender since it requires nvidia-docker2?

mmenbawy avatar Apr 26 '21 12:04 mmenbawy

It doesn't depend on nvidia-docker2, it depends on nvidia-container-runtime which also work for containerd.

cheyang avatar May 08 '21 16:05 cheyang

Can you please how the installation will change, since the existing one requires nvidia-docker? And how to configure containerd with nvidia-container runtime?

mmenbawy avatar May 08 '21 18:05 mmenbawy

I think this has already removed for a few managed services including to azure k8s. were you able to figure out a resolution?

SinghDivneet avatar May 27 '21 20:05 SinghDivneet

I think this has already removed for a few managed services including to azure k8s. were you able to figure out a resolution?

I didn't try it with managed clusters as AKS. However, it is currently working on a bare metal cluster that is set up using kubeadm and still using docker as a CRI.

mmenbawy avatar May 27 '21 22:05 mmenbawy

Dockershim removal is coming in v1.24. For those developing or running alpha and beta versions, dockershim will be removed in December at the beginning of the 1.24 release development cycle.

https://kubernetes.io/blog/2021/11/12/are-you-ready-for-dockershim-removal/

mmenbawy avatar Nov 13 '21 11:11 mmenbawy