AliyunContainerService / gpushare-scheduler-extender

GPU Sharing Scheduler for Kubernetes Cluster
Apache License 2.0
1.39k stars 308 forks source link

Kubernetes removing docker as a runtime in late 2021 #150

Open mmenbawy opened 3 years ago

mmenbawy commented 3 years ago

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?

cheyang commented 3 years ago

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

mmenbawy commented 3 years ago

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

SinghDivneet commented 3 years ago

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

mmenbawy commented 3 years ago

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 commented 2 years ago
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/