Skip to content

Auto detect CRI #1117

@rosti

Description

@rosti

With CRIs different than Docker gaining more and more popularity, we need to improve the user experience of kubeadm by not having to supply --cri-socket on every command if something different than Docker is used.

Most of the other CRIs have well known default paths for Unix domain sockets, thus detecting the default installations of CRIs on the local machine should not be too difficult.

Currently kubeadm will fail if --cri-socket is not specified and Docker is not installed on the system. But the bigger problem here is that, if --cri-socket is forgotten and Docker is installed, the wrong CRI could be used and the operation to succeed (like with kubeadm init).

/area UX
/area ecosystem
/kind feature

Metadata

Metadata

Assignees

Labels

area/UXarea/ecosystemkind/featureCategorizes issue or PR as related to a new feature.lifecycle/activeIndicates that an issue or PR is actively being worked on by a contributor.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions