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**: |
||
---|---|---|
.. | ||
cm | ||
errors | ||
fixtures/seccomp | ||
libdocker | ||
remote | ||
securitycontext | ||
testing | ||
BUILD | ||
checkpoint_store.go | ||
checkpoint_store_test.go | ||
convert.go | ||
convert_test.go | ||
doc.go | ||
docker_checkpoint.go | ||
docker_checkpoint_test.go | ||
docker_container.go | ||
docker_container_test.go | ||
docker_image.go | ||
docker_image_test.go | ||
docker_legacy.go | ||
docker_legacy_test.go | ||
docker_sandbox.go | ||
docker_sandbox_test.go | ||
docker_service.go | ||
docker_service_test.go | ||
docker_streaming.go | ||
exec.go | ||
helpers.go | ||
helpers_linux.go | ||
helpers_test.go | ||
helpers_unsupported.go | ||
helpers_windows.go | ||
naming.go | ||
naming_test.go | ||
security_context.go | ||
security_context_test.go |