sealer
sealer copied to clipboard
unsupported graph driver: vfs
What happen?
在使用sealer部署k8s时,抛出如下错误:
系统版本: rhel 7.7 内核版本: 3.10.1062 文件系统: xfs
Relevant log output?
No response
What you expected to happen?
No response
How to reproduce it (as minimally and precisely as possible)?
No response
Anything else we need to know?
No response
What is the version of Sealer you using?
{"gitVersion":"v0.8.5","gitCommit":"f9c3d99","buildDate":"2022-04-28 14:16:58","goVersion":"go1.16.15","compiler":"gc","platform":"linux/amd64"}
What is your OS environment?
rhel 7.7
What is the Kernel version?
3.10.0-1062.18.1.el7.x86_64
Other environment you want to tell us?
- Cloud provider or hardware configuration:
- Install tools:
- Others:
Please refer to https://github.com/labring/sealos/issues/531 . @yanruogu Maybe we can get more hints.
按这个 https://github.com/labring/sealos/issues/531 说法,要么使用ext4,要么使用xfs的时候开启d_type支持? 但生产系统的根文件系统两种条件肯定都办不到; 那么有没有一种可能,就是sealer提供可定制的docker的graph路径,我将其改到一块独立挂载的目录上;而挂载这个目录的磁盘,我可以重新格式化,无论是使用ext4,还是继续使用xfs开启d_type支持皆可?
mark
https://github.com/sealerio/sealer/blob/main/docs/api/cloudrootfs.md
http://sealer.cool/docs/concept/clusterfile.html#config-api
可通过 Clusterfile Config 覆盖 basefs 中的 docker.sh,在脚本里修改 docker daemon 配置
docker的data-root单独一块盘很正常,我们公司的内部产品和一些每天清理的构建机器就是data-root是一块非系统盘上