Welcome to the Linux Foundation Forum!

cgroups vs systemd?

Options
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,165
    Options

    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
    Options

    thanks

Categories

Upcoming Training