kubernetes/cmd
Kubernetes Submit Queue aa1ec693c3
Merge pull request #62951 from dims/support-nsenter-better-in-non-systemd-envs
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
```
2018-04-25 01:08:10 -07:00
..
clicheck Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cloud-controller-manager Merge pull request #62749 from andrewsykim/ccm-approvers 2018-04-17 15:14:50 -07:00
controller-manager Fix hpa-use-rest-clients help text 2018-04-24 13:29:08 -04:00
gendocs Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
genkubedocs Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
genman Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
genswaggertypedocs Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
genutils Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
genyaml Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
hyperkube Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
importverifier Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
kube-apiserver Merge pull request #61711 from crassirostris/audit-size-limiting 2018-04-24 13:28:17 -07:00
kube-controller-manager Always Start pvc-protection-controller and pv-protection-controller 2018-04-20 19:54:50 +02:00
kube-proxy Add --ipvs-exclude-cidrs flag to kube-proxy. 2018-04-13 10:09:14 -07:00
kube-scheduler Fix scheduler Pod informers to receive events when pods are scheduled by other schedulers. 2018-04-23 11:07:53 -07:00
kubeadm Merge pull request #59220 from neolit123/test-token 2018-04-24 19:01:10 -07:00
kubectl Merge pull request #60339 from mikedanese/deadpkg 2018-03-28 09:39:15 -07:00
kubelet Support nsenter in non-systemd environments 2018-04-22 22:10:36 -04:00
kubemark Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
linkcheck Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
BUILD gke-certificates-controller: rm -rf 2018-02-15 12:01:00 -08:00
OWNERS Updated top level owners file to match new format 2017-01-19 11:29:16 -08:00