Davanum Srinivas
ba56884d91
Ensure providerless kubelet does not pull cloud providers
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-03-21 21:36:38 -04: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
wawa0210
ae381fcf09
When the parameters are incorrect, kubelet only outputs the error log instead of the entire stack log
2021-03-17 08:35:55 +08:00
Kubernetes Prow Robot
5ead6af84e
Merge pull request #99994 from AfrouzMashayekhi/sl-cmd-kubelet
...
Migrate cmd/kubelet and pkg/kubelet/cadvisor , pkg/kubelet/cri/remote/util , pkg/kubelet/images to structured logging
2021-03-16 14:49:56 -07:00
Kubernetes Prow Robot
b0a5fbdec0
Merge pull request #99289 from yuzhiquan/fix-kubelet-logformat-flag
...
Fix kubelet log format flag error
2021-03-16 14:48:43 -07:00
Peri Thompson
46738b7f48
Added check for Windows Permissions
2021-03-10 11:15:42 +00:00
yuzhiquan
819d66ddf7
fix kubelet logformat flag error display
2021-03-10 11:34:59 +08:00
afrouz
8f2e927b4a
Migrate cmd/kubelet, image, cadvisor and cri to structured logging
2021-03-09 23:12:10 +03:30
Kubernetes Prow Robot
7863e8f891
Merge pull request #99248 from pandaamanda/kubelet_duplicate_default_value
...
remove duplicate default message for some flag
2021-03-05 01:56:22 -08:00
Kubernetes Prow Robot
983cac7f96
Merge pull request #97000 from mlevesquedion/avoid-logging-headers
...
Avoid logging headers from kubelet configuration
2021-03-04 13:38:22 -08:00
pacoxu
cd54bd94e9
deprecate cAdvisor json metrics collected by Kubelet
...
- remove unused code for cadvisor json metrics collected
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-03-02 15:36:21 +08:00
Kubernetes Prow Robot
ef47564f46
Merge pull request #99247 from KofClubs/delete-redundancy-kubelet-options.go
...
Deleted a redundant line from #91275
2021-03-01 21:09:36 -08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
xiongzhongliang
ac0f4977d4
remove duplicate default message for some flag
...
remove duplicate default message for some flag
2021-02-23 22:24:52 +08:00
Kubernetes Prow Robot
031f2afbba
Merge pull request #98931 from michaelbeaumont/kubelet_well_known
...
Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis
2021-02-20 11:55:41 -08:00
Zhang Zhanpeng
b0b4867ba8
Deleted a redundant line missing from #91275
...
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
2021-02-20 10:55:38 +08:00
Sri Saran Balaji Vellore Rajakumar
af05a7eca3
Refactor Kubelet Server to take kubeConfiguration instead of multiple fields
2021-02-11 16:15:35 -08:00
Sri Saran Balaji Vellore Rajakumar
51cdf4e97b
Add support to disable /debug/pprof and /debug/flags/v endpoint
...
Co-authored-by: xiaofei.sun <sunxiaofei@kuaishou.com>
Co-authored-by: SaranBalaji90 <srisaranbalaji@gmail.com>
2021-02-11 15:56:53 -08:00
Michael Beaumont
a5a6762d33
Move pkg/kubelet/apis to k8s.io/kubelet/pkg/apis
2021-02-09 21:37:39 +01:00
Kubernetes Prow Robot
943e67c01f
Merge pull request #95479 from mgjeong/feature-memory-manager-working
...
Memory manager
2021-02-09 03:40:56 -08:00
Artyom Lukianov
932134034c
memory manager: update API constant to have camel case format
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:02 +02:00
Artyom Lukianov
7561a0f96e
memory manager: provide new flag var to parse reserved-memory parameter
...
The new flag will parse the `--reserved-memory` flag straight forward
to the []kubeletconfig.MemoryReservation variable instead of parsing
it to the middle map representation.
It gives us possibility to get rid of a lot of unneeded code and use the single
presentation for the reserved-memory.
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:01 +02:00
Artyom Lukianov
ff2a110920
memory manager: provide the new type to contain resources for each NUMA node
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:10:00 +02:00
Artyom Lukianov
24be74e759
memory manager: update bazel files
...
Signed-off-by: Artyom Lukianov <alukiano@redhat.com>
2021-02-09 01:09:59 +02:00
Krzysztof Wiatrzyk
711e85af24
memory manager: adding additional tests for server.go file, for parseReservedMemoryConfig() function.
2021-02-09 00:54:58 +02:00
Artyom Lukianov
93accb51e4
memory manager: add memory manager flag under kubelet options and kubelet config
...
The commit also includes generated files after `make generated_files`.
Signed-off-by: Byonggon Chun <bg.chun@samsung.com>
2021-02-09 00:54:58 +02:00
pacoxu
8946f26769
update pause to 3.4.1 for kubelet/kubeadm
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2021-02-05 21:33:01 +08:00
Jiawei Wang
bda557b4bc
Disable in-tree plugin without enabling CSI migration
...
This commit replaces the CSIMigrationXXXComplete flag
with InTreePluginXXUnregister flag. This new flag will
be a superset of the CSIMigrationXXXComplete. But this
decouple the plugin unregister from CSI migration. So
if a K8s distribution want to go directly with CSI and
do not support in-tree, they can use this flag directly.
Testing:
1. Enable the InTreePluginXXUnregister and not CSIMigrationXXX,
verify that the PVC using old plugin name will have error
saying cannot find the plugin
2. Enable both the InTreePluginXXUnregister and CSIMigrationXXX
verify that the PVC using old plugin name will start to use
the migrated CSI plugin
2021-01-22 16:58:51 -08:00
Kubernetes Prow Robot
0da0d186a6
Merge pull request #96675 from pacoxu/fix/volume-stats-agg-period
...
fix: volume stats disabled when value is negative.(Currently, 0 means defualt 1m)
2021-01-19 22:17:58 -08:00
Kubernetes Prow Robot
fe58a937bd
Merge pull request #96857 from jnummelin/kubelet-cri-endpoint-help
...
Finetune container-runtime-endpoint option help text
2021-01-15 16:17:43 -08:00
Antonio Ojea
2e4aed2d4a
bind-address flag usage
2020-12-11 18:47:24 +01:00
pacoxu
4901855fdd
fix doc/comments error: volume stats agg period default value 1m and disable when it is negative like -1s.
...
Signed-off-by: pacoxu <paco.xu@daocloud.io>
2020-12-07 11:46:54 +08:00
Michaël Lévesque-Dion
046ec59a8b
use 'masked' instead of 'redacted'
2020-12-03 11:01:41 -05:00
Michaël Lévesque-Dion
0841b13e37
use deepcopy to actually operate on a copy
2020-12-02 14:44:11 -05:00
Michaël Lévesque-Dion
ec271c0e4f
use a copy of the config
2020-12-02 12:57:17 -05:00
Michaël Lévesque-Dion
4ab4801139
avoid logging kubelet configuration headers
2020-12-01 18:36:48 -05:00
wangyamei
f6d7cab203
Update the help text for kubelet's enable-cadvisor-json-endpoints flag to explicitly mention that it has no effect on the /stats/summary endpoint.enable-cadvisor-json-endpoints
2020-11-28 21:59:57 +08:00
Jussi Nummelin
3f284fa892
Finetune container-runtime-endpoint option help text
...
Signed-off-by: Jussi Nummelin <jussi.nummelin@gmail.com>
2020-11-25 10:04:34 +00:00
Kubernetes Prow Robot
71331d8596
Merge pull request #96372 from serathius/sanitization-kubelet
...
Add --experimental-logging-sanitization flag to kubelet
2020-11-12 11:21:12 -08:00
Marek Siarkowicz
8e60d75c15
Add --experimental-logging-sanitization flag to Kubelet
...
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
2020-11-12 12:32:19 +01:00
sw.han
d070bff273
Add kubelet configuration flag 'topology-manager-scope'
...
add kubelet config option.
* --topology-manager-scope=[ container | pod ]
* default=container
Signed-off-by: Krzysztof Wiatrzyk <k.wiatrzyk@samsung.com>
2020-11-12 12:25:54 +01:00
Kubernetes Prow Robot
d233111f5b
Merge pull request #94196 from andrewsykim/registry-creds
...
kubelet: add alpha credential provider plugins
2020-11-11 19:59:11 -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
pigletfly
19a36d4b9a
Remove duplicate import
2020-11-10 19:11:46 +08: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
Kubernetes Prow Robot
10221a8dac
Merge pull request #94643 from lonng/simplify-code
...
Avoid unnecessary calls if other error occurred
2020-11-09 11:49:57 -08:00
Kubernetes Prow Robot
2ee1003430
Merge pull request #96051 from ravisantoshgudimetla/add-priority-flag
...
[kubelet] Allow priority to be set for kubelet process on Windows
2020-11-02 13:41:52 -08:00
ravisantoshgudimetla
784098f8b6
Build files
2020-11-03 01:19:00 +05:30
ravisantoshgudimetla
f4c2dcd030
[kubelet] Allow priority to be set for kubelet process on Windows
2020-11-03 01:18:59 +05:30
Abu Kashem
2f812c3194
set webhook retry backoff parameters for kubelet
2020-11-01 10:22:21 -05:00