• Davanum Srinivas's avatar
    Support nsenter in non-systemd environments · 2f98d7a3
    Davanum Srinivas authored
    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.
    2f98d7a3
nsenter_mount.go 11.6 KB