kubernetes/pkg/kubelet
Kir Kolyshkin 37761a329e
pkg/kubelet: changes to update runc to 1.1.0
The changes (mostly in pkg/kubelet/cm) are there to adopt changed
runc 1.1 API, and simplify things a bit. In particular:

1. simplify cgroup manager instantiation, using a new, easier way of
   libcontainers/cgroups/manager.New;

2. replace libcontainerAdapter with a boolean variable (all it did
   was passing on whether systemd manager should be used);

3. trivial change due to removed cgroupfs.HugePageSizes and added
    cgroups.HugePageSizes();

4. do not calculate cgroup paths in update / destroy, since libcontainer
   cgroup managers now calculate the paths upon creation (previously,
   they were doing that only in Apply, so using e.g. Set or Destroy right
   after creation was impossible without specifying paths).

We currently still calculate cgroup paths in Exists -- this is to be
addressed separately.

Co-Authored-By: Elana Hashman <ehashman@redhat.com>
2022-03-28 16:23:20 -07:00
..
apis Merge pull request #108847 from adisky/update-credential-api 2022-03-24 20:05:53 -07:00
cadvisor Regen mocks using go 1.18 2022-03-23 10:19:38 -07:00
certificate Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
checkpointmanager remove fakefs to drop spf13/afero dependency 2021-06-24 09:51:34 -04:00
client Merge pull request #96004 from serathius/datapolicy-kubelet-pkg 2022-03-04 15:34:51 -08:00
cloudresource
cm pkg/kubelet: changes to update runc to 1.1.0 2022-03-28 16:23:20 -07:00
config Mark pod-infra-container-image flag as deprecated 2022-02-14 09:11:51 +02:00
configmap Migrate to k8s.io/utils/clock in pkg/kubelet 2021-09-10 12:20:09 +02:00
container Regen mocks using go 1.18 2022-03-23 10:19:38 -07:00
cri Merge pull request #96004 from serathius/datapolicy-kubelet-pkg 2022-03-04 15:34:51 -08:00
custommetrics
envvars
events kubelet: add shutdown events 2021-06-23 16:44:19 -05:00
eviction Regen mocks using go 1.18 2022-03-23 10:19:38 -07:00
images Remove no-longer used selflink code from kubelet 2022-01-14 10:38:23 +01:00
kubeletconfig remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
kuberuntime pkg/kubelet: changes to update runc to 1.1.0 2022-03-28 16:23:20 -07:00
leaky
lifecycle Merge pull request #103934 from boenn/tainttoleration 2022-02-09 16:53:46 -08:00
logs Add support for CRI verbose fields 2022-02-10 17:12:26 +01:00
metrics Revert "add volume kubelet_volume_stats_health_abnormal to kubelet" 2022-03-16 13:44:09 +01:00
network Change the name of the constant 2021-12-14 22:42:57 +09:00
nodeshutdown Merge pull request #108193 from utkarsh348/myfeature 2022-03-27 05:55:21 -07:00
nodestatus cloud-provider handles kubelet's --node-ip 2022-03-22 16:58:37 +00:00
oom generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
pleg enhance and fix log calls 2022-03-24 11:13:50 +01:00
pluginmanager Fix typo in pkg/kubelet/pluginmanager/cache/actual_state_of_world 2022-02-24 16:20:24 -05:00
pod Regen mocks using go 1.18 2022-03-23 10:19:38 -07:00
preemption migrated preemption.go, stateful.go, resource_allocation.go to structured logging 2021-11-08 22:52:47 +05:30
prober Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
qos
runtimeclass
secret Migrate to k8s.io/utils/clock in pkg/kubelet 2021-09-10 12:20:09 +02:00
server Merge pull request #108531 from tallclair/redirects 2022-03-25 15:34:23 -07:00
stats Clean up logic for deprecated flag --container-runtime in kubelet 2022-02-10 13:26:59 +02:00
status Regen mocks using go 1.18 2022-03-23 10:19:38 -07:00
sysctl Upgrade preparation to verify sysctl values containing forward slashes by regex 2021-11-04 11:49:56 +08:00
token Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
types Clean up dockershim flags in the kubelet 2022-01-14 16:02:50 +02:00
util Fix typo in watch_based_manager_test 2022-03-01 10:21:17 +08:00
volumemanager Merge pull request #108929 from gnufied/move-expansion-feature-gate-ga 2022-03-25 18:08:16 -07:00
winstats add bootid support for windows node. 2022-03-18 02:17:52 +00:00
active_deadline_test.go Migrate to k8s.io/utils/clock in pkg/kubelet 2021-09-10 12:20:09 +02:00
active_deadline.go Migrate to k8s.io/utils/clock in pkg/kubelet 2021-09-10 12:20:09 +02:00
doc.go
errors.go
kubelet_getters_test.go
kubelet_getters.go pkg/kubelet: improve the node informer sync check 2021-04-21 22:46:27 +03:00
kubelet_network_linux.go Create a KUBE-IPTABLES-HINT chain for other components 2022-03-27 14:12:36 -04:00
kubelet_network_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_network_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_network.go Move iptables consts to kubelet_network_linux.go. 2022-03-26 11:22:51 -04:00
kubelet_node_status_others.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_node_status_test.go [kubelet]: Sync label periodically 2021-11-05 18:47:43 -04:00
kubelet_node_status_windows.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_node_status.go migrate --register-with-taints to KubeletConfiguration 2021-11-16 19:10:36 +08:00
kubelet_pods_linux_test.go Clean up logic for deprecated flag --container-runtime in kubelet 2022-02-10 13:26:59 +02:00
kubelet_pods_test.go Merge pull request #100424 from yangjunmyfm192085/run-test30 2022-03-17 00:41:19 -07:00
kubelet_pods_windows_test.go Clean up logic for deprecated flag --container-runtime in kubelet 2022-02-10 13:26:59 +02:00
kubelet_pods.go Merge pull request #107845 from smarterclayton/wait_on_create 2022-03-22 12:21:59 -07:00
kubelet_resources_test.go
kubelet_resources.go
kubelet_test.go kubelet: Delay writing a terminal phase until the pod is terminated 2022-03-16 13:15:00 -04:00
kubelet_volumes_linux_test.go generated: Run hack/update-gofmt.sh 2021-08-24 15:47:49 -04:00
kubelet_volumes_test.go kubelet: Remove the deprecated flag --experimental-check-node-capabilities-before-mount 2022-01-06 11:47:11 +08:00
kubelet_volumes.go Fix error logging statement to make it easier to understand 2022-02-26 15:25:56 +08:00
kubelet.go Merge pull request #107986 from wzshiming/promote/shutdown-based-on-pod-priority 2022-03-23 08:06:09 -07:00
OWNERS Check in OWNERS modified by update-yamlfmt.sh 2021-12-09 21:31:26 -05:00
pod_container_deletor_test.go
pod_container_deletor.go
pod_workers_test.go kubelet: Delay writing a terminal phase until the pod is terminated 2022-03-16 13:15:00 -04:00
pod_workers.go kubelet: Delay writing a terminal phase until the pod is terminated 2022-03-16 13:15:00 -04:00
reason_cache_test.go
reason_cache.go
runonce_test.go kubelet: Remove the deprecated flag --experimental-check-node-capabilities-before-mount 2022-01-06 11:47:11 +08:00
runonce.go kubelet: Delay writing a terminal phase until the pod is terminated 2022-03-16 13:15:00 -04:00
runtime.go
time_cache_test.go
time_cache.go
volume_host.go use node informer to check volumes attachment status before backoff 2021-12-20 11:57:05 -05:00