Welcome to the Linux Foundation Forum!

cgroups vs systemd?

ivonet
ivonet Posts: 8
edited March 2021 in LFD259 Class Forum

quote from LFD259: "Both cgroups and Linux namespaces are at the heart of containers today, including Docker."
why is it then that during installation of docker you get warnings that cgroups should be replaced with systemd?
Same goes for the pre-flight checks of kubeadm?

    [preflight] Running pre-flight checks
[WARNING IsDockerSystemdCheck]: detected "cgroupfs" as the Docker cgroup driver. The recommended driver is "systemd". P. lease follow the guide at https://kubernetes.io/docs/setup/cri/

Comments

  • chrispokorni
    chrispokorni Posts: 2,349

    Hi @ivonet,

    As Kubernetes transitions away from supporting Docker as its runtime, such warnings will be occasionally seen during cluster init phases.

    Regards,
    -Chris

  • ivonet
    ivonet Posts: 8

    thanks

Categories

Upcoming Training