mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 46124, 46434, 46089, 45589, 46045) Support TCP type runtime endpoint for kubelet **What this PR does / why we need it**: Currently the grpc server for kubelet and dockershim has a hardcoded endpoint: unix socket '/var/run/dockershim.sock', which is not applicable on non-unix OS. This PR is to support TCP endpoint type besides unix socket. **Which issue this PR fixes** This is a first attempt to address issue https://github.com/kubernetes/kubernetes/issues/45927 **Special notes for your reviewer**: Before this change, running on Windows node results in: ``` Container Manager is unsupported in this build ``` After adding the cm stub, error becomes: ``` listen unix /var/run/dockershim.sock: socket: An address incompatible with the requested protocol was used. ``` This PR is to fix those two issues. After this change, still meets 'seccomp' related issue when running on Windows node, needs more updates later. **Release note**: |
||
---|---|---|
.. | ||
cache | ||
csr | ||
format | ||
ioutils | ||
queue | ||
sliceutils | ||
BUILD | ||
doc.go | ||
util.go | ||
util_linux.go | ||
util_test.go | ||
util_unsupported.go | ||
util_windows.go |