Paco Xu
a1def4b9c0
pod-infra-container-image: update comments as it will be removed in couple more releases
...
Signed-off-by: Paco Xu <paco.xu@daocloud.io>
2023-03-09 11:14:32 +08:00
calvin0327
0ffac50126
cleanup container runtime options
...
Signed-off-by: calvin0327 <wen.chen@daocloud.io>
2023-03-08 16:53:19 +08:00
Kubernetes Prow Robot
0b05897c30
Merge pull request #112021 from mrunalp/test_host_path_pv_selinux_fix
...
Set correct SELinux label for host paths volumes created by host path provisioner
2022-12-23 12:35:27 -08:00
Kubernetes Prow Robot
1bf4af4584
Merge pull request #111930 from azylinski/new-histogram-pod_start_sli_duration_seconds
...
New histogram: Pod start SLI duration
2022-11-04 07:28:14 -07:00
Kubernetes Prow Robot
98742f9d77
Merge pull request #110747 from harshanarayana/cleanup/GIT-110737/logging-improvements
...
structured-logging: replace KObjs with KObjSlice for logging
2022-11-03 00:49:34 -07:00
Artur Żyliński
b0fac15cd6
Make the interface local to each package
2022-10-26 11:28:18 +02:00
Artur Żyliński
9f31669a53
New histogram: Pod start SLI duration
2022-10-26 11:28:17 +02:00
Mrunal Patel
65e693eccb
Set correct SELinux label for host paths volumes created by host path provisioner
...
These host paths have a well known location under /tmp/hostpath_pv
and are therefore safe to be labeled with the shared SELinux label.
Without this label, the mounted volumes cannot be accessed by the
container processes.
Signed-off-by: Mrunal Patel <mpatel@redhat.com>
2022-08-24 17:57:47 -07:00
inosato
3b95d3b076
Remove ioutil in kubelet and its tests
...
Signed-off-by: inosato <si17_21@yahoo.co.jp>
2022-07-30 12:35:26 +09:00
Davanum Srinivas
a9593d634c
Generate and format files
...
- Run hack/update-codegen.sh
- Run hack/update-generated-device-plugin.sh
- Run hack/update-generated-protobuf.sh
- Run hack/update-generated-runtime.sh
- Run hack/update-generated-swagger-docs.sh
- Run hack/update-openapi-spec.sh
- Run hack/update-gofmt.sh
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-07-26 13:14:05 -04:00
Adrian Reber
564f0e9a25
kubelet: add checkpoint/restore infrastructure
...
This adds the first infrastructure code parts to the kubelet
to support checkpoint/restore.
Signed-off-by: Adrian Reber <areber@redhat.com>
2022-07-14 10:27:40 +00:00
Harsha Narayana
c3cbc443ef
structured-logging: replace KObjs with KObjSlice for logging
2022-07-01 09:52:07 +05:30
sunzhaochang
e833c64ef0
Fix missing of Lock in SeenAllSources
2022-06-29 11:54:22 +08:00
Ciprian Hacman
57638ae7a1
Mark pod-infra-container-image flag as deprecated
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-14 09:11:51 +02:00
Ciprian Hacman
0819451ea6
Clean up logic for deprecated flag --container-runtime in kubelet
...
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-02-10 13:26:59 +02:00
Kubernetes Prow Robot
feb758027c
Merge pull request #106907 from cyclinder/remove_dockershim_flags
...
Clean up dockershim flags in the kubelet
2022-01-18 09:09:09 -08:00
cyclinder
07999dac70
Clean up dockershim flags in the kubelet
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
Co-authored-by: Ciprian Hacman <ciprian@hakman.dev>
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-14 16:02:50 +02:00
Wojciech Tyczyński
6088fe4221
Remove no-longer used selflink code from kubelet
2022-01-14 10:38:23 +01:00
Kubernetes Prow Robot
19069665f9
Merge pull request #107094 from adisky/d-container-runtime
...
Mark container-runtime kubelet flag as deprecated
2022-01-11 10:48:46 -08:00
Kubernetes Prow Robot
a0dfd958d5
Merge pull request #107163 from cyclinder/fix_leak_goroutine
...
fix goroutine leaks in TestConfigurationChannels
2022-01-10 17:23:16 -08:00
cyclinder
928e686877
fix goroutine leaks in TestConfigurationChannels
...
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2022-01-10 19:51:16 +08:00
wq
4f38d4aaa1
fix a typo in the comment of ImageCredentialProviderConfigFile
2022-01-09 00:07:43 +09:00
Aditi Sharma
e03d7d3fdd
Mark container-runtime flag as deprecated
...
Signed-off-by: Aditi Sharma <adi.sky17@gmail.com>
2022-01-06 10:23:03 +05:30
yuzhiquanlong
be9e1fda5e
remove format pods func, instead with klog.Kobjs
2021-10-15 18:26:02 +08:00
Stephen Augustus
481cf6fbe7
generated: Run hack/update-gofmt.sh
...
Signed-off-by: Stephen Augustus <foo@auggie.dev>
2021-08-24 15:47:49 -04:00
Kubernetes Prow Robot
36a7426aa5
Merge pull request #99144 from bart0sh/PR0094-promote-HugePageStorageMediumSize-to-GA
...
promote huge page storage medium size to GA
2021-07-07 18:09:05 -07:00
Shiming Zhang
582b492cc0
Pre-allocated memory
2021-06-01 15:19:44 +08:00
Ed Bartosh
c12aa0f6b7
promote HugePageStorageMediumSize to GA
2021-05-10 15:57:55 +03:00
Kubernetes Prow Robot
afe567d0fc
Merge pull request #100750 from dabaooline/master
...
make clear PodConfigNotification's type
2021-04-26 12:53:29 -07:00
Kubernetes Prow Robot
19d47ed330
Merge pull request #101037 from BodilessSleeper/master
...
Fixed the broken link
2021-04-22 13:18:58 -07:00
Lubomir I. Ivanov
7deac5e697
pkg/kubelet: improve the node informer sync check
...
GetNode() is called in a lot of places including a hot loop in
fastStatusUpdateOnce. Having a poll in it is delaying
the kubelet /readyz status=200 report.
If a client is available attempt to wait for the sync to happen,
before starting the list watch for pods at the apiserver.
2021-04-21 22:46:27 +03:00
Rastko Sarcevic
4a99a6eb12
Deleted deprecated lines
2021-04-16 13:24:43 +02:00
Rastko Sarcevic
a245f73b34
Fixed the broken link
2021-04-12 19:23:41 +02:00
dabaooline
a03db16c5f
make clear PodConfigNotification's type
2021-04-01 18:53:16 +08:00
Kubernetes Prow Robot
ea07644522
Merge pull request #99926 from gjkim42/deflake-TestWatchFileChanged
...
kubelet_test: Deflake TestWatchFileChanged
2021-03-23 16:30:05 -07:00
Elana Hashman
6af7eb6d49
Migrate missed log entries in kubelet
...
Co-Authored-By: pacoxu <paco.xu@daocloud.io>
2021-03-18 14:26:26 -07:00
Geon-Ju Kim
d12072a23a
kubelet_test: Deflake TestWatchFileChanged
...
- Adjust the period to trigger PodUpdate event
- Fix lock race between 'changeFile' and 'expectUpdate'
- Await fsnotify to be ready
2021-03-16 00:11:44 +09:00
afrouz
27a99045e5
Migrate pkg/kubelet/config to structured logging
...
Co-authored-by: Shubheksha <shubheksha@users.noreply.github.com>
Co-authored-by: Marek Siarkowicz <marek.siarkowicz@protonmail.com>
Co-authored-by: Elana Hashman <ehashman@users.noreply.github.com>
2021-03-11 14:58:38 +03:30
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
xiaofei.sun
fd62f32125
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 18:06:29 +08:00
Davanum Srinivas
6150378d36
Mark commandline parameters related to dockershim as deprecated
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-02-10 21:04:19 -05:00
Kubernetes Prow Robot
61dc69ac2c
Merge pull request #87461 from bboreham/fix-uid-gen
...
kubelet: ensure static pod UIDs are unique
2020-12-01 08:18:50 -08:00
Andrew Sy Kim
51441fd052
kubelet: support alpha credential provider exec plugins
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-11-10 13:44:06 -05:00
Bryan Boreham
19de43137b
kubelet: ensure pod UIDs are unique
...
Ensure node name and file path are included in the hash which produces
the pod UID, otherwise all pods created from the same manifest have
the same UID across the cluster.
The real author of this code is Yu-Ju Hong <yjhong@google.com>.
I am resurrecting an abandoned PR, and changed the git author to pass
CLA check.
Signed-off-by: Bryan Boreham <bjboreham@gmail.com>
2020-11-10 10:04:04 +00:00
Tim Allclair
a439bc5572
Remove --redirect-container-streaming functionality ( #95935 )
...
* Remove --redirect-container-streaming functionality
* Update bazel
2020-11-09 11:50:11 -08:00
Andrew Sy Kim
76386cf3c3
kubelet: remove alpha warnings for CNI flags
...
CNI is no longer alpha and is widely used by almost every Kubernetes cluster, we should remove the alpha warnings that were originally added from the early days of CNI
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-09-04 09:35:34 -04:00
Morgan Bauer
7de68309d4
update test to match validation filter of pods
...
invalid pod filter changed to name only
changed for k8s v1.9 in 811447ea0a
PR#53194
2020-08-31 09:14:49 -07:00
Amim Knabben
0ed41c3f10
Deprecating --bootstrap-checkpoint-path flag
2020-06-09 15:27:01 -04:00
Davanum Srinivas
07d88617e5
Run hack/update-vendor.sh
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:33 -04:00
Davanum Srinivas
442a69c3bd
switch over k/k to use klog v2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-16 07:54:27 -04:00