openkruise / kruise

Automated management of large-scale applications on Kubernetes (incubating project under CNCF)
https://openkruise.io
Other
4.67k stars 767 forks source link

[BUG] When my k8s cluster (containerd runtime) host also has a docker runtime, kruise will recognize the k8s cluster runtime as docker #1825

Open J4sonZ opened 3 days ago

J4sonZ commented 3 days ago

What happened: When my k8s cluster (containerd runtime) host also has a docker runtime, kruise will recognize the k8s cluster runtime as docker image image

So in this case, I need to specify the sock path of containerd image

image

What you expected to happen:

Kruise can automatically identify the real runtime of k8s without specifying parameters, instead of hard-coding the logic image

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Environment:

J4sonZ commented 2 days ago

image Please add log