Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Here's how to make sure docker and kubelet use same cgroups driver by explicitly configuring both:
- Docker:
- ```shell
- $ cat /etc/docker/daemon.json
- {
- "exec-opts": ["native.cgroupdriver=cgroupfs"]
- }
- ```
- Kubelet (when set up using with `kubeadm`):
- ```shell
- $ cat /etc/systemd/system/kubelet.service.d/05-custom.conf
- [Service]
- Environment="KUBELET_EXTRA_ARGS=--cgroup-driver=cgroupfs"
- ```
- Don't forget to `systemctl daemon-reload` and restart the services after changing the configs.
Add Comment
Please, Sign In to add comment