k3s/pkg/kubelet
Kubernetes Submit Queue 47e6463bbb
Merge pull request #60159 from jingxu97/Feb/localephemeralBeta
Automatic merge from submit-queue (batch tested with PRs 60159, 60731, 60720, 60736, 60740). 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>.

Promote LocalStorageCapacityIsolation feature to beta

The LocalStorageCapacityIsolation feature added a new resource type ResourceEphemeralStorage "ephemeral-storage" so that this resource can be allocated, limited, and consumed as the same way as CPU/memory. All the features related to resource management (resource request/limit, quota, limitrange) are available for local ephemeral storage.

This local ephemeral storage represents the storage for root file system, which will be consumed by containers' writtable layer and logs. Some volumes such as emptyDir might also consume this storage.

Fixes issue #60160

This PR also fixes data race issues discovered after open the feature gate. Basically setNodeStatus function in kubelet could be called by multiple threads so the data needs lock protection. Put the fix with this PR for easy testing.

**Release note**:

```release-note
ACTION REQUIRED: LocalStorageCapacityIsolation feature is beta and enabled by default. 
```
2018-03-02 18:35:49 -08:00
..
apis API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
cadvisor Merge pull request #59743 from feiskyer/stats 2018-02-23 20:09:32 -08:00
certificate Merge pull request #59316 from smarterclayton/terminate_early 2018-02-21 15:40:41 -08:00
checkpoint Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
client Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
cm Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
config Merge pull request #59849 from yue9944882/forcibly-lower-staticpod-name 2018-02-25 18:29:51 -08:00
configmap Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
container Merge pull request #59842 from ixdy/update-rules_go-02-2018 2018-02-19 22:23:05 -08:00
custommetrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
dockershim API Changes for RunAsGroup and Implementation and e2e 2018-02-28 22:09:56 -08:00
envvars Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
events Improve messaging on resize 2018-01-29 15:07:51 -05:00
eviction fix running with no eviction thresholds 2018-02-20 13:49:14 -08:00
gpu Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
images Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubeletconfig expunge the word 'manifest' from Kubelet's config API 2018-02-23 11:44:06 -08:00
kuberuntime Merge pull request #59333 from feiskyer/win 2018-02-27 20:34:13 -08:00
leaky
lifecycle Support cluster-level extended resources in kubelet and kube-scheduler 2018-02-27 17:25:30 -08:00
logs Generated code 2018-02-23 01:42:35 +00:00
metrics Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
mountpod Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
network Auto-updated BUILD files 2018-02-27 11:18:11 -08:00
pleg Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
pod Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
preemption Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
prober Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
qos Make a few code paths compile cleanly with 32-bit Go. 2018-02-27 13:53:32 -08:00
remote Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
rkt Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
secret Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
server Merge pull request #59842 from ixdy/update-rules_go-02-2018 2018-02-19 22:23:05 -08:00
stats Add CPU/Memory pod stats for CRI stats. 2018-02-26 19:29:47 +00:00
status Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
sysctl clean up sysctl code 2018-02-23 16:41:53 +08:00
types Merge pull request #58835 from ravisantoshgudimetla/critical-pod-with-priority 2018-02-23 11:22:31 -08:00
util Autogenerated: hack/update-bazel.sh 2018-02-16 13:43:01 -08:00
volumemanager Merge pull request #60505 from jsafrane/fix-logf 2018-02-28 06:07:24 -08:00
winstats fix "make test" 2018-02-24 17:39:21 +08:00
BUILD update bazel 2018-02-27 20:23:36 +08:00
OWNERS
active_deadline.go
active_deadline_test.go
doc.go
kubelet.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_getters.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_getters_test.go
kubelet_network.go fix all the typos across the project 2018-02-11 11:04:14 +08:00
kubelet_network_test.go Move DNS related kubelet codes into its own package 2017-11-15 10:56:44 -08:00
kubelet_node_status.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_node_status_test.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_pods.go update import 2018-02-27 20:23:35 +08:00
kubelet_pods_test.go Increment CRI version from v1alpha1 to v1alpha2 2018-02-07 09:06:26 +01:00
kubelet_pods_windows_test.go
kubelet_resources.go
kubelet_resources_test.go
kubelet_test.go Promote LocalStorageCapacityIsolation feature to beta 2018-03-02 15:10:08 -08:00
kubelet_volumes.go
kubelet_volumes_test.go update import 2018-02-27 20:23:35 +08:00
oom_watcher.go
oom_watcher_test.go
pod_container_deletor.go
pod_container_deletor_test.go
pod_workers.go
pod_workers_test.go
reason_cache.go
reason_cache_test.go
runonce.go
runonce_test.go
runtime.go Remove setInitError. 2018-01-29 21:44:54 -08:00
util.go
volume_host.go update import 2018-02-27 20:23:35 +08:00