Custom CRI runtime
k0s supports users bringing their own CRI runtime (for example, docker). In which case, k0s will not start nor manage the runtime, and it is fully up to the user to configure it properly.
To run a k0s worker with a custom CRI runtime use the option --cri-socket
. It takes input in the form of <type>:<socket>
where:
type
: Eitherremote
ordocker
. Usedocker
for pure docker setup,remote
for anything else.socket
: Path to the socket, examples:unix:///var/run/docker.sock
To run k0s with pre-existing docker setup run the worker with k0s worker --cri-socket docker:unix:///var/run/docker.sock <token>
.
When docker
is used as a runtime, k0s will configure kubelet to create the dockershim socket at /var/run/dockershim.sock
.
当前内容版权归 k0sproject 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 k0sproject .