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
mattjmcnaughton
53adde65ce
Remove ExperimentalDockershim
from kubelet
...
Remove one of two uses of Dockershim in `cmd/kubelet`. The other is for
creating a docker client which we pass to the Kubelet... we will handle
that refactor in a separate diff.
I'm fairly confident, though need to double check, that no one is
actually using this experimental dockershim behavior. If they are, I
think we will want to find a new way to support it (that doesn't require
using the Kubelet only to launch Dockershim).
2020-05-07 17:18:48 -04:00
Jordan Liggitt
23e9fb1bb5
Fix podIP validation
2020-04-30 19:49:45 -04:00
Kubernetes Prow Robot
851efa8a34
Merge pull request #84051 from bart0sh/PR0079-multiple-sizes-hugepages
...
Implement support for multiple sizes huge pages
2020-02-25 14:40:27 -08:00
Tim Allclair
98ad7416fa
Start deprecation process for StreamingProxyRedirects
2020-02-19 10:53:45 -08:00
Ed Bartosh
0eb65bd7da
Implement support for multiple sizes huge pages
...
This implementation allows Pod to request multiple hugepage resources
of different size and mount hugepage volumes using storage medium
HugePage-<size>, e.g.
spec:
containers:
resources:
requests:
hugepages-2Mi: 2Mi
hugepages-1Gi: 2Gi
volumeMounts:
- mountPath: /hugepages-2Mi
name: hugepage-2mi
- mountPath: /hugepages-1Gi
name: hugepage-1gi
...
volumes:
- name: hugepage-2mi
emptyDir:
medium: HugePages-2Mi
- name: hugepage-1gi
emptyDir:
medium: HugePages-1Gi
NOTE: This is an alpha feature.
Feature gate HugePageStorageMediumSize must be enabled for it to work.
2020-02-19 18:15:40 +02:00
Kubernetes Prow Robot
8dca390262
Merge pull request #84927 from mattjmcnaughton/mattjmcnaughton/fix-kubelet-config-common
...
Fix golint failures for pkg/kubelet/config/...
2020-01-07 21:09:40 -08:00
mattjmcnaughton
794d0d9b4d
Remove rkt
from container runtime options
...
Part of efforts to clean up mentions of rkt in kubelet.
rkt was removed entirely in 1.11, in favor of using `rktlet` and CRI
instead. It should no longer be listed at all as a runtime.
2020-01-05 09:27:38 -05:00
Jordan Liggitt
5d5b444c4d
Remove use of testapi codecs, selflink, resourcepath functions
2019-12-13 11:56:29 -05:00
wojtekt
067d173266
Eliminate couple unnecessary conversions
2019-11-12 15:00:09 +01:00
mattjmcnaughton
d30319711e
Fix golint failures for pkg/kubelet/config/...
...
Address the final golint failure by adding a comment explaining our
blank import.
2019-11-07 09:36:22 -05:00
Jordan Liggitt
297570e06a
hack/update-vendor.sh
2019-11-06 17:42:34 -05:00
clarklee92
f86f5ee14e
Modify the status code number to HTTP status semantics
...
Signed-off-by: clarklee92 <clarklee1992@hotmail.com>
2019-11-06 01:18:37 +08:00
Tim Allclair
a2c51674cf
Cleanup more static check issues (S1*,ST*)
2019-08-21 10:40:21 -07:00