• Kubernetes Submit Queue's avatar
    Merge pull request #46089 from karataliu/wincri1 · 5e853709
    Kubernetes Submit Queue authored
    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**:
    5e853709
Name
Last commit
Last update
..
cache Loading commit data...
csr Loading commit data...
format Loading commit data...
ioutils Loading commit data...
queue Loading commit data...
sliceutils Loading commit data...
BUILD Loading commit data...
doc.go Loading commit data...
util.go Loading commit data...
util_linux.go Loading commit data...
util_test.go Loading commit data...
util_unsupported.go Loading commit data...
util_windows.go Loading commit data...