k3s/pkg/kubelet/dockershim
Kubernetes Submit Queue 5e853709a7 Merge pull request #46089 from karataliu/wincri1
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**:
2017-05-25 21:40:02 -07:00
..
cm Support TCP type runtime endpoint for kubelet. 2017-05-25 09:16:11 +08:00
errors update bazel 2017-02-15 10:06:49 -08:00
fixtures/seccomp Add the seccomp profile loading test to dockershim 2017-05-03 12:55:56 -07:00
libdocker Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
remote Support TCP type runtime endpoint for kubelet. 2017-05-25 09:16:11 +08:00
securitycontext Use dedicated Unix User and Group ID types 2017-05-05 14:07:38 +02:00
testing update bazel 2017-02-15 10:06:49 -08:00
BUILD Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
checkpoint_store.go dockershim: call sync() after writing the checkpoint 2017-03-14 18:36:51 -07:00
checkpoint_store_test.go initialize directory while creating checkpoint file store 2017-02-17 16:56:46 -08:00
convert.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
convert_test.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
doc.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
docker_checkpoint.go Make the dockershim root directory configurable 2017-04-12 09:06:21 -04:00
docker_checkpoint_test.go Add checkpointHandler to DockerService 2017-02-02 10:19:34 -08:00
docker_container.go Merge pull request #44326 from xlgao-zju/forcibly-remove 2017-05-16 10:39:05 -07:00
docker_container_test.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
docker_image.go continue remove image when can't find image id with ref 2017-05-15 19:12:29 +08:00
docker_image_test.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
docker_legacy.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
docker_legacy_test.go Move docker client code from dockertools to dockershim/dockerlib 2017-05-05 11:48:08 -07:00
docker_sandbox.go fix typo in kubelet 2017-05-23 19:54:10 +08:00
docker_sandbox_test.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
docker_service.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
docker_service_test.go Refactor move of client-go/util/clock to apimachinery 2017-05-20 14:19:48 -04:00
docker_streaming.go Use streaming constants from pkg/api/v1 instead of pkg/api 2017-05-15 17:00:14 +03:00
exec.go Move client/unversioned/remotecommand to client-go 2017-05-15 16:28:56 +03:00
helpers.go dockershim: get sysctls from sandbox config instead of annotations 2017-05-15 12:53:32 +08:00
helpers_linux.go More dockertools cleanup 2017-05-03 11:22:06 -07:00
helpers_test.go dockershim: get sysctls from sandbox config instead of annotations 2017-05-15 12:53:32 +08:00
helpers_unsupported.go More dockertools cleanup 2017-05-03 11:22:06 -07:00
helpers_windows.go More dockertools cleanup 2017-05-03 11:22:06 -07:00
naming.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
naming_test.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
security_context.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00
security_context_test.go Reorganize kubelet tree so apis can be independently versioned 2017-05-12 10:02:33 -07:00