k3s/pkg
Kubernetes Submit Queue 93f3249e3c
Merge pull request #65595 from sjenning/feature-gate-lsi-capacity
Automatic merge from submit-queue (batch tested with PRs 60150, 65467, 65487, 65595, 65374). 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>.

kubelet: feature gate LSI capacity calculation

Currently if `cm.cadvisorInterface.RootFsInfo()` fails, the whole kubelet bails.  If `/var/lib/kubelet` is on a tmpfs or bindmount, this can happen (this is the case for some of our CI envs https://github.com/openshift/origin/issues/19948).

We would be able to workaround this, in the short term, by disabling the LSI feature gate if the capacity calculate was protected by the gate, but currently it isn't.

This PR adds the gate check around setting the ephemeral storage capacity.

@liggitt @derekwaynecarr @dashpole 

It might be a different discussion about whether or not this should be fatal.  If it isn't fatal, seems that it would just prevent pods that had a ephemeral storage request from being scheduled.

/sig node
2018-06-28 19:15:15 -07:00
..
api Autogenerated stuff 2018-06-27 13:31:10 +02:00
apis Autogenerated stuff 2018-06-27 13:31:10 +02:00
auth Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
capabilities
client Autogenerated stuff 2018-06-27 13:31:10 +02:00
cloudprovider Merge pull request #65120 from freehan/revendor 2018-06-28 02:20:16 -07:00
controller Add metrics for attachable volumes in use 2018-06-28 11:50:51 -04:00
credentialprovider Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
features Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
fieldpath Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
generated Autogenerated stuff 2018-06-27 13:31:10 +02:00
kubeapiserver Merge pull request #63653 from WanLinghao/token_expiry_limit 2018-06-27 00:31:08 -07:00
kubectl Merge pull request #65434 from yue9944882/bugfix-show-kind-for-crd 2018-06-28 02:20:23 -07:00
kubelet Merge pull request #65595 from sjenning/feature-gate-lsi-capacity 2018-06-28 19:15:15 -07:00
kubemark Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
master Merge pull request #64246 from wojtek-t/lease_object_type 2018-06-27 08:17:10 -07:00
printers Merge pull request #65463 from smarterclayton/jobs_output 2018-06-28 02:20:20 -07:00
probe Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
proxy Merge pull request #65388 from DataDog/lbernail/fix-ipvs-from-host 2018-06-23 05:52:04 -07:00
quota Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
registry Merge pull request #64246 from wojtek-t/lease_object_type 2018-06-27 08:17:10 -07:00
routes
scheduler Merge pull request #65424 from liggitt/scheduler-config 2018-06-25 00:21:35 -07:00
security Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
securitycontext Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
serviceaccount fix a nit error in log 2018-06-27 14:21:27 +08:00
ssh Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
util Merge pull request #65447 from wongma7/mapvolume-symlink 2018-06-27 02:15:12 -07:00
version Set gazelle:importmap_prefix for everything under staging/src 2018-06-22 16:22:57 -07:00
volume Merge pull request #64660 from figo/master 2018-06-28 14:53:44 -07:00
watch/json Run hack/update-bazel.sh 2018-06-22 16:22:57 -07:00
windows/service Update to gazelle 0.12.0 and run hack/update-bazel.sh 2018-06-22 16:22:18 -07:00
.import-restrictions
BUILD Autogenerated stuff 2018-06-27 13:31:10 +02:00
OWNERS