Skip to content

Commit

Permalink
document docker cgroupdriver req (kubernetes#5937)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehannaford authored and colemickens committed Oct 26, 2017
1 parent a5baeaf commit 97a38a9
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/setup/independent/install-kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,20 @@ systemctl enable docker && systemctl start docker

{% endcapture %}

**Note**: Make sure that the cgroup driver used by kubelet is the same as the one used by
Docker. To ensure compatability you can either update Docker, like so:

```bash
cat << EOF > /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=systemd"]
}
EOF
```

and restart Docker. Or ensure the `--cgroup-driver` kubelet flag is set to the same value
as Docker (e.g. `cgroupfs`).

{% assign tab_set_name = "docker_install" %}
{% assign tab_names = "Ubuntu, Debian or HypriotOS;CentOS, RHEL or Fedora" | split: ';' | compact %}
{% assign tab_contents = site.emptyArray | push: docker_ubuntu | push: docker_centos %}
Expand Down

0 comments on commit 97a38a9

Please sign in to comment.