• Kubernetes Submit Queue's avatar
    Merge pull request #62951 from dims/support-nsenter-better-in-non-systemd-envs · aa1ec693
    Kubernetes Submit Queue authored
    Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
    
    Support nsenter in non-systemd environments
    
    **What this PR does / why we need it**:
    
    In our CI, we run kubekins image for most of the jobs. This is a
    debian image with upstart and does not enable systemd. So we should
    
    * Bailout if any binary is missing other than systemd-run.
    * SupportsSystemd should check the binary path to correctly
      identify if the systemd-run is present or not
    * Pass the errors back to the callers so kubelet is forced to
      fail early when there is a problem. We currently assume
      that all binaries are in the root directory by default which
      is wrong.
    
    
    **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*:
    Fixes #
    
    **Special notes for your reviewer**:
    
    **Release note**:
    
    ```release-note
    NONE
    ```
    aa1ec693
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kube-scheduler Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...