-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
sealo init kubernetes 1.20+ error when use yum docker-ce/containerd and is running(default) or Use systemd Cgroup driver #582
Labels
kind/feature
New feature or request
Comments
oldthreefeng
added a commit
to oldthreefeng/sealos
that referenced
this issue
Jan 16, 2021
Signed-off-by: oldthreefeng <louisehong4168@gmail.com>
Closed
sealos使用默认的containerd配置. 默认的 snapshotter = "overlayfs"。 使用 overlayfs 时, 如果是xfs系统。 则需要设置 ftype 为1. 具体设置如下. 查看ftype. 1表示支持, 0 表示不支持.
|
tmp fixed |
Closed
由于 用 |
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
哪个命令或者组件
sealos init
描述这个缺陷
sealos init 安装1.20.+ ,
运行前提背景
用户已经安装了docker-ce / containerd. 并自定义
/etc/containerd/config.toml
. 使用了 systemd 作为containerd的cgroup驱动。 或者containerd
默认禁用了cri插件功能临时解决方法:
对应
yum install contained.io
或者yum install docker-ce
. 默认containerd是禁止了cri的. yum的配置如下:解决方法
因为
sealos
1.20+ 不支持docker. 建议用户卸载docker . 最快的解决方法对应使用
cgroupfs
和systemd
有疑问的, 可以查询以下issue.xref:
containerd/containerd#4581
kubernetes/kubernetes#89900
kubernetes/kubernetes#98112
如果需要使用systemd。 按照 98112 issue解决。
目前sealos 1.20 采用的使用默认
cgroupfs
。待 kubernetes/kubeadm#2376 这个功能完成后。 官方会默认kubelet的cgroup driver为
systemd
.后面会按需修改.
The text was updated successfully, but these errors were encountered: