Kubernetes Prow Robot
fed612c9f8
Merge pull request #103172 from niulechuan/cleanup/deprecated_flag
...
Remove deprecated flag --experimental-bootstrap-kubeconfig
2021-09-21 14:08:18 -07:00
Kubernetes Prow Robot
c79f7c1add
Merge pull request #104711 from claudiubelu/update-pause-3.6
...
update pause image references to use 3.6
2021-09-13 19:09:08 -07:00
Sascha Grunert
46077e6be7
Remove deprecated --seccomp-profile-root
/seccompProfileRoot
configuration
...
The configuration is deprecated and targets removal for v1.23. Tests
cases have been changed as well.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-08-31 09:55:28 +02:00
Claudiu Belu
18936d4785
updates pause image references
...
The pause:3.6 image has been published.
Also updates older / incorrect references.
2021-08-29 21:50:05 -07: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
Antonio Ojea
0cd75e8fec
run hack/update-netparse-cve.sh
2021-08-20 10:42:09 +02:00
tanjing2020
523b4c0918
Replace 'x.Sub(time.Now())' with 'time.Until(x)'
2021-07-23 10:03:36 +08:00
Francesco Romani
c5cb263dcf
smtalign: propagate policy options to cpumanager
...
The CPUManagerPolicyOptions received from the kubelet config/command line args
is propogated to the Container Manager.
We defer the consumption of the options to a later patch(set).
Co-authored-by: Swati Sehgal <swsehgal@redhat.com>
Signed-off-by: Francesco Romani <fromani@redhat.com>
2021-07-08 23:15:35 +02:00
Swati Sehgal
cc76a756e4
smtalign: add cpu-manager-policy-options flag in Kubelet
...
In this patch we enhance the kubelet configuration to support
cpuManagerPolicyOptions.
In order to introduce SMT-awareness in CPU Manager, we introduce a
new flag in Kubelet to allow the user to specify an additional flag
called `cpumanager-policy-options` to allow the user to modify the
behaviour of static policy to strictly guarantee allocation of whole
core.
Co-authored-by: Francesco Romani <fromani@redhat.com>
Signed-off-by: Swati Sehgal <swsehgal@redhat.com>
2021-07-08 23:14:59 +02:00
Li Bo
c3d9b10ca8
feature: support Memory QoS for cgroups v2
2021-07-08 09:26:46 +08:00
Kubernetes Prow Robot
8e56a34195
Merge pull request #102966 from SergeyKanzhelev/deprecateDynamicKubeletConfig
...
deprecate and disable by default DynamicKubeletConfig feature flag
2021-07-07 17:05:15 -07:00
Sergey Kanzhelev
dffc2a60a2
deprecate and disable by default DynamicKubeletConfig feature flag
2021-07-02 23:53:11 +00:00
Lukasz Szaszkiewicz
4a2aef00d6
adds metrics for authorization webhook
2021-06-30 09:26:25 +02:00
Lukasz Szaszkiewicz
322c18c147
adds metrics for authentication webhook
2021-06-29 09:49:14 +02:00
Niu Lechuan
606de85fca
Remove deprecated flag --experimental-bootstrap-kubeconfig in kubelet
...
Signed-off-by: Niu Lechuan <lechuan.niu@daocloud.io>
2021-06-25 11:10:25 +08:00
Kubernetes Prow Robot
2e93b3924a
Merge pull request #101943 from saschagrunert/seccomp-default
...
Add kubelet `SeccompDefault` alpha feature
2021-06-24 13:07:41 -07:00
Kubernetes Prow Robot
06dfe683ce
Merge pull request #103123 from dims/remove-fakefs-to-drop-spf13/afero-dependency
...
Remove fakefs to drop spf13/afero dependency
2021-06-24 07:57:41 -07:00
Davanum Srinivas
5feff280e1
remove fakefs to drop spf13/afero dependency
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-24 09:51:34 -04:00
Monis Khan
7e891e5d6c
csr: correctly handle backdating of short lived certs
...
This change updates the backdating logic to only be applied to the
NotBefore date and not the NotAfter date when the certificate is
short lived. Thus when such a certificate is issued, it will not be
immediately expired. Long lived certificates continue to have the
same lifetime as before.
Consolidated all certificate lifetime logic into the
PermissiveSigningPolicy.policy method.
Signed-off-by: Monis Khan <mok@vmware.com>
2021-06-23 15:36:11 -04:00
Sascha Grunert
8b7003aff4
Add SeccompDefault feature
...
This adds the gate `SeccompDefault` as new alpha feature. Seccomp path
and field fallbacks are now passed to the helper functions, whereas unit
tests covering those code paths have been added as well.
Beside enabling the feature gate, the feature has to be enabled by the
`SeccompDefault` kubelet configuration or its corresponding
`--seccomp-default` CLI flag.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
Apply suggestions from code review
Co-authored-by: Paulo Gomes <pjbgf@linux.com>
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-06-23 10:22:57 +02:00
Kubernetes Prow Robot
e55ff835b4
Merge pull request #102922 from SataQiu/update-link
...
cmd/kubelet: replace KEP link with the documentation one as it is available now
2021-06-19 13:10:50 -07:00
SataQiu
a47afdded0
cmd/kubelet: replace KEP link with the documentation one as it is available now
2021-06-16 23:38:58 +08:00
Davanum Srinivas
7fcdbbef06
Switch to github.com/coreos/go-systemd/v22 and drop older package
...
- We use the new v22 module released on May 10
- We drop the unmaintained `github.com/coreos/pkg`
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2021-06-16 11:14:16 -04:00
Kubernetes Prow Robot
71d6a48d3e
Merge pull request #102431 from serathius/loggingconfig
...
Use LoggingConfig within LogOptions
2021-06-16 02:21:59 -07:00
Kubernetes Prow Robot
7b9c335826
Merge pull request #98869 from liuxu623/master
...
fix kubelet flag description: --event-qps and --event-burst
2021-06-15 22:55:59 -07:00
Marek Siarkowicz
f9343f837d
Use LoggingConfig within LogOptions
...
Co-authored-by: mengjiao.liu <mengjiao.liu@daocloud.io>
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Co-authored-by: Heisenberg <yuzhiquanlong@gmail.com>
2021-06-15 17:14:43 +02:00
Kubernetes Prow Robot
29a8105cec
Merge pull request #101272 from Jiawei0227/deprecateflag
...
Remove CSIMigrationvSphereComplete flag
2021-06-05 10:40:38 -07:00
Sascha Grunert
b167fc24d7
Update pause image to v3.5
...
Update dependencies and the test images to use pause 3.5. We also
provide a changelog entry for the new container image version.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
2021-05-25 09:04:46 +02:00
Kubernetes Prow Robot
13cafd5cb0
Merge pull request #101480 from yuzhiquan/little-nit-for-kubelet
...
Fix some nit for kubelet
2021-05-24 21:49:05 -07:00
Jiawei Wang
94db1e18ba
Remove scaleio from volume plugins
2021-05-19 10:35:21 -07:00
Kubernetes Prow Robot
10b09e8a46
Merge pull request #100326 from wzshiming/fix/memory-leak
...
Fix watchForLockfileContention memory leak
2021-05-07 13:31:16 -07:00
Jiawei Wang
fa1a4100c6
Remove CSIMigrationVSphereComplete flag
2021-05-04 21:38:47 -07:00
yuzhiquan
ee2c3c1859
fix broken links by https
2021-04-26 14:58:42 +08:00
yuzhiquan
747c6f20dc
error string should not be capitalized
2021-04-26 14:56:39 +08:00
wangyx1992
5109c3d548
cleanup: fix errors in wrapped format and log capitalization in kubelet
...
Signed-off-by: wangyx1992 <wang.yixiang@zte.com.cn>
2021-04-25 11:09:24 +08:00
Kubernetes Prow Robot
95ef042fb3
Merge pull request #98152 from jianzzha/master
...
update --reserved-cpus cpu list validation
2021-04-24 07:56:59 -07:00
Kubernetes Prow Robot
43b9491055
Merge pull request #101057 from wangyysde/remove-chaos-chance
...
removing kubelet's flag chaos-chance
2021-04-23 19:27:52 -07:00
Kubernetes Prow Robot
1ceddc790d
Merge pull request #98516 from chymy/fix-kubelet-option
...
To be consistent with global flags in --logging-format description
2021-04-22 19:50:01 -07:00
Jianzhu Zhang
bbfbc5e889
Update --reserved-cpus cpu list validation so kubelet won't fail to start due to off-line CPUs
2021-04-22 21:39:20 -04:00
Kubernetes Prow Robot
1960a7becf
Merge pull request #100981 from songxiao-wang87/run-test3
...
spelling mistake
2021-04-22 13:18:40 -07:00
wangyysde
4467082ddb
removed kubelet's flag chaos-chance
2021-04-13 14:09:55 +08:00
songxiao-wang87
9c880ad907
spelling error server.go.
...
Signed-off-by: songxiao-wang87 <wang.xiaosong23@zte.com.cn>
2021-04-10 11:00:28 +08:00
navist2020
4f7d87f72c
Don't use Yoda conditions
2021-04-08 18:14:45 +08:00
chymy
ec7624b80d
Fix flag spelling err in kubelet options
...
Signed-off-by: chymy <chang.min1@zte.com.cn>
2021-04-06 10:06:27 +08:00
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
Shiming Zhang
a3d337491f
Fix watchForLockfileContention memory leak
2021-03-17 15:10:53 +08: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
liuxu
385b7d7ff0
fix --event-qps and --event-burst
2021-02-26 17:05:04 +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
Dan Winship
75242fce7a
kubelet: allow specifying dual-stack node IPs on bare metal
...
Discussion is ongoing about how to best handle dual-stack with clouds
and autodetected IPs, but there is at least agreement that people on
bare metal ought to be able to specify two explicit IPs on dual-stack
hosts, so allow that.
2020-10-07 17:25:54 -04:00
Srini Brahmaroutu
fbe5daed73
Change code to use staging/k8s.io/mount-utils
2020-09-16 21:51:24 -07:00
Kubernetes Prow Robot
5566dc93c4
Merge pull request #94508 from andrewsykim/remove-cni-alpha
...
kubelet: remove alpha warnings for CNI flags
2020-09-09 09:07:08 -07:00
Kubernetes Prow Robot
293a53f2c0
Merge pull request #94140 from derekwaynecarr/pid-ga
...
Promote PidLimits to GA
2020-09-09 06:35:52 -07:00
Lonng
8fe3b7f8b7
Avoid unnecessary calls if other error occurred
...
Signed-off-by: Lonng <heng@lonng.org>
2020-09-09 16:35:08 +08:00
Kubernetes Prow Robot
8728450be1
Merge pull request #94179 from ddymko/golint-fix-azuredd
...
fix golint for pkg/volume/azure_dd
2020-09-08 12:29:53 -07:00
Kubernetes Prow Robot
92042fe6ea
Merge pull request #72671 from yanghaichao12/dev0108
...
validate KubeletCgroups and KubeReservedCgroup
2020-09-08 07:33:43 -07:00
David Dymko
cda0070f28
fix golint for pkg/volume/azure_dd
2020-09-05 09:44:27 -04: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
Kubernetes Prow Robot
317540a28c
Merge pull request #87054 from changyaowei/kubelet_cmd
...
Made the flag which defined in cadvisor can be used when kubelet config start cmd
2020-09-03 12:31:41 -07:00
Daniel Smith
a86afc12df
update scripts
2020-09-02 10:49:40 -07:00
Daniel Smith
75f835aa08
move port definitions to a common location
2020-09-02 10:48:25 -07:00
Derek Carr
6f2153986a
Promote PidLimits to GA
2020-08-24 13:57:48 -04:00
Jordan Liggitt
93e2868d4e
Fix providerless kubelet startup
2020-07-31 12:30:12 -04:00
Kubernetes Prow Robot
2d327ac455
Merge pull request #91539 from andrewsykim/fix-cloud-provider-deprecation
...
only log cloud provider deprecation warning for in-tree components
2020-07-10 00:59:48 -07:00
Kubernetes Prow Robot
1e3eeba9fa
Merge pull request #91577 from knabben/kubelet-bootstrap
...
kubelet: remove the --bootstrap-checkpoint-path feature
2020-07-09 00:03:41 -07:00
Kubernetes Prow Robot
7e75a5ef43
Merge pull request #87273 from SaranBalaji90/kubelet-log-file
...
Add support for disabling /logs endpoint in kubelet
2020-07-07 04:09:58 -07:00
Sri Saran Balaji Vellore Rajakumar
05240c9218
Add support for disabling /logs endpoint in kubelet
2020-07-06 07:52:30 -07:00
chenjun.cj
db71941775
make Kubelet bootstrap certificate signal aware
2020-07-06 22:30:27 +08:00
amash
b92b04e7cd
add default for loggingconfiguration struct
2020-07-01 22:28:27 +04:30
amash
3ab25f1876
add LoggingConfiguration struct to component-base/config
2020-07-01 20:07:01 +04:30
amash
ac8d2e8978
add loggingConfig struct to kubelet config
2020-07-01 20:07:01 +04:30
amash
ba8189a4f2
add --logging-format flag to kubelet
2020-07-01 20:07:01 +04:30
Kubernetes Prow Robot
4a91ecb976
Merge pull request #91863 from knabben/kubelet-memcg-notification
...
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-25 00:20:37 -07:00
Amim Knabben
c39cf28ed3
Moving Kubelet kernel-memgc-notification to configuration file
2020-06-24 06:44:00 -04:00
Kobayashi Daisuke
4ae11dac2e
Replace StartLogging(klog.Infof) with StartStructuredLogging(0)
2020-06-15 17:48:35 +09:00
Kubernetes Prow Robot
ded1f58779
Merge pull request #90911 from divyenpatel/vsphere-csi-migration
...
Support for vSphere in-tree volumes migration to vSphere CSI driver
2020-06-13 04:25:55 -07:00
Kubernetes Prow Robot
3918393e04
Merge pull request #91578 from knabben/kubelet-node-allocate
...
Deprecating --experimental-allocatable-ignore-eviction flag
2020-06-10 19:14:56 -07:00
Kubernetes Prow Robot
9089568465
Merge pull request #91780 from liggitt/csr-v1-rotate-kubelet-client
...
CSR v1 - promote RotateKubeletClientCertificate to GA
2020-06-10 17:13:24 -07:00
Jordan Liggitt
a298c14f18
Switch cert manager to v1 CSR API by default, falling back to v1beta1
2020-06-10 02:30:54 -04:00
Amim Knabben
0ed41c3f10
Deprecating --bootstrap-checkpoint-path flag
2020-06-09 15:27:01 -04:00
Divyen Patel
148ef06a3d
vSphere in-tree volumes migration to vSphere CSI driver
2020-06-08 16:17:02 -07:00
Amim Knabben
df3998c98e
Deprecating --experimental-allocatable-ignore-eviction flag
2020-06-06 11:27:55 -04:00
Jordan Liggitt
71d77b54fd
Promote RotateKubeletClientCertificate to GA
2020-06-05 18:45:01 -04:00
Amim Knabben
222cae36ec
Moving Kubelet --cloud-provider and --cloud-config to configuration
2020-06-02 21:35:36 -04:00
Kubernetes Prow Robot
c00cd246dc
Merge pull request #91373 from knabben/kubelet-experimental-mount
...
Deprecating Kubelet mount related flags
2020-06-02 18:11:00 -07:00
Kubernetes Prow Robot
dcbdf1a7e1
Merge pull request #91275 from knabben/kubelet-node-status-image
...
Moving Kubelet --node-status-max-images flag to configuration
2020-06-02 18:10:45 -07:00
Andrew Sy Kim
ed3feac74d
only log cloud provider deprecation warning for in-tree components
...
Signed-off-by: Andrew Sy Kim <kim.andrewsy@gmail.com>
2020-05-28 11:55:56 -04:00
Amim Knabben
896cc4c0c4
Deprecating Kubelet mount related flags
2020-05-27 09:33:27 -04:00
Kubernetes Prow Robot
03cd30b9d7
Merge pull request #90494 from knabben/kubelet-provider
...
Migrating Kubelet --enable-server and --provider-id flags to config
2020-05-26 19:12:42 -07:00
Amim Knabben
ee3c1aeac6
Copying --seccomp-profile-root to Kubelet config file
2020-05-26 10:19:41 -04:00
Amim Knabben
f6246aba6e
Moving Kubelet --node-status-max-images flag to configuration
2020-05-21 22:37:01 -04:00
Davanum Srinivas
0608e8be25
update bazel BUILD files
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2020-05-20 10:57:47 -04:00
Paulo Gomes
550a67869a
Warn when insecure TLS ciphers are selected.
2020-05-18 13:16:32 +01:00
Kubernetes Prow Robot
5bace30840
Merge pull request #91148 from liggitt/kubelet-client-metric
...
Add kubelet_certificate_manager_client_ttl_seconds gauge
2020-05-16 19:00:24 -07:00
Kubernetes Prow Robot
b170451caa
Merge pull request #90183 from dims/update-kubernetes-to-klog-v2
...
Update kubernetes to klog v2
2020-05-16 18:59:51 -07:00
Amim Knabben
8459c9b6f4
Moving enable-server and provider-id
2020-05-16 21:34:13 -04:00
Kubernetes Prow Robot
45bfd14ee3
Merge pull request #90174 from tnqn/certdir-default-value
...
Delete the wrong comment about CertDirectory of kubelet
2020-05-16 07:36:03 -07: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
Jordan Liggitt
2408d8101f
Fix kubelet client certificate gauge
2020-05-15 12:57:34 -04:00
Kubernetes Prow Robot
c096a37226
Merge pull request #89158 from alena1108/mar16
...
Kubelet doc: clarification for api-qps/burst flags
2020-05-14 17:04:58 -07:00
Kubernetes Prow Robot
2ca3347dc0
Merge pull request #90499 from knabben/kubelet-testing-flags
...
Deprecating Kubelet not used testing flags
2020-05-13 15:58:37 -07:00
mattjmcnaughton
34c8f51dcb
Remove all uses of dockershim
from cmd/kubelet
...
We can remove all uses of `dockershim` from `cmd/kubelet`, by just
passing the docker options to the kubelet in their pure form, instead of
using them to create a `dockerClientConfig` (which is defined in
dockershim). We can then construct the `dockerClientConfig` only when we
actually need it.
2020-05-07 17:18:49 -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
Kubernetes Prow Robot
dc6c640a12
Merge pull request #90375 from cici37/removeConfigz
...
move pkg/util/configz to k8s.io/component-base
2020-05-04 13:46:09 -07:00
Amim Knabben
fe9eb1ba46
Migrating Kubelet testing flags to configuration
2020-04-30 22:12:39 -04:00
Kubernetes Prow Robot
8876563700
Merge pull request #90360 from tnozicka/fix-client-ca-reload
...
Fix client-ca dynamic reload in apiserver
2020-04-30 01:10:18 -07:00
cici37
7f4d19167e
Move pkg/util/configz to k8s.io/component-base
2020-04-29 12:17:25 -07:00
Tomas Nozicka
b22a170d46
Fix client-ca dynamic reload in apiserver
2020-04-29 16:03:09 +02:00
Kubernetes Prow Robot
f8297af392
Merge pull request #90284 from wawa0210/kubelet-nodename-clean
...
Remove duplicate calculation nodename、hostname、hostnameOverridden when kubelet is initialized
2020-04-24 12:15:34 -07:00
Kubernetes Prow Robot
30cefca5a6
Merge pull request #89128 from vincent178/move-runonce-kubeletconfiguration
...
move runonce from flag to config
2020-04-23 17:20:07 -07:00
wawa0210
40da2c521a
Remove duplicate calculation nodename 、hostname 、hostnameOverridden
2020-04-24 07:49:33 +08:00
cici37
15c844031f
Remove CCM dependency pkg/util/flag
2020-04-22 10:06:11 -07:00
Quan Tian
23e54301ab
Delete the wrong comment about CertDirectory of kubelet
...
The default value of CertDirectory was changed to /var/lib/kubelet/pki.
2020-04-18 00:37:27 +08:00
Kubernetes Prow Robot
1df63e7dc7
Merge pull request #88510 from steveazz/steveazz/68026-rlimit
...
Fix golint issues for `pkg/util/rlimit`
2020-04-15 15:22:45 -07:00
Kubernetes Prow Robot
6c499314cd
Merge pull request #88480 from savitharaghunathan/kubelet_flag_migration_1
...
Kubelet flag migration - Part 1
2020-04-14 12:33:39 -07:00
Steve Azzopardi
4936cd476b
Fix golint issues for pkg/util/rlimit
...
pkg/util/rlimit/rlimit_linux.go:25:1: exported function RlimitNumFiles should have comment or be unexported
pkg/util/rlimit/rlimit_linux.go:25:6: func name will be used as rlimit.RlimitNumFiles by other packages, and that stutters; consider calling this NumFiles
pkg/util/rlimit/rlimit_unsupported.go:25:1: exported function RlimitNumFiles should have comment or be unexported
pkg/util/rlimit/rlimit_unsupported.go:25:6: func name will be used as rlimit.RlimitNumFiles by other packages, and that stutters; consider calling this NumFiles
Ref: https://github.com/kubernetes/kubernetes/issues/68026
2020-04-14 21:00:41 +02:00
Kubernetes Prow Robot
105c0c6951
Merge pull request #88970 from mysunshine92/correct-NodeAllocatableRoot
...
fix function NodeAllocatableRoot
2020-04-14 11:04:13 -07:00
vincent178
745b742de5
move runonce from flag to config
2020-04-14 06:00:43 +08:00
Kubernetes Prow Robot
cf144eb485
Merge pull request #89656 from dashpole/json_flag
...
specify in the flag help text that --enable-cadvisor-json-endpoints d…
2020-04-06 17:47:48 -07:00
Kubernetes Prow Robot
ad4bd386eb
Merge pull request #86752 from SataQiu/fix-kubelet-20191231
...
Add error handler for rlimit.RlimitNumFiles
2020-04-01 22:14:38 -07:00
Tim Hockin
c27ceb6449
Edit log string
2020-04-01 15:34:29 -07:00
David Ashpole
3ec1043f83
specify in the flag help text that --enable-cadvisor-json-endpoints defaults to false
2020-03-30 09:32:33 -07:00
yameiwang
6783f991c3
fix function NodeAllocatableRoot
2020-03-26 18:48:05 +08:00
Kubernetes Prow Robot
907d4c1bb9
Merge pull request #89381 from dashpole/comment_disable_readonly
...
Add comment explaining when to remove cadvisor json endpoints
2020-03-23 20:31:19 -07:00
David Ashpole
b4ed7273da
add comment explaining when to remove the --enable-cadvisor-json-endpoints
2020-03-23 12:52:00 -07:00
Kubernetes Prow Robot
393bb44ea9
Merge pull request #88515 from SataQiu/fix-kubelet-20200225
...
kubelet: fix wrong flag types
2020-03-17 16:21:10 -07:00
Alena Prokharchyk
2c6b149bf0
Kubelet doc: clarification for api-qps/burst flags
...
Note that the flags don't rate limit the events and node heartbeat apis controlled by the diff set of flags
2020-03-16 13:27:57 -07:00
Ted Yu
ced2948fde
Remove wait.Until for running Kubelet Bootstrap
...
Signed-off-by: Ted Yu <yuzhihong@gmail.com>
2020-03-11 08:30:00 -07:00
Savitha Raghunathan
3234d34714
moving volume plugin dir to kubelet config - part 1
2020-03-10 16:22:29 -04:00
changyaowei
b8278e99b8
Made containerd-namespace flag can be used when kubelet config start cmd
2020-03-10 14:26:28 +08:00
James Munnelly
a983356caa
Add signerName field to CSR resource spec
...
Signed-off-by: James Munnelly <james.munnelly@jetstack.io>
2020-02-27 10:17:55 +00:00
Kubernetes Prow Robot
6ec3ea855d
Merge pull request #85282 from serathius/flag-kubelet
...
Add show-hidden-metrics-for-version to kubelet
2020-02-26 03:54:26 -08:00
Marek Siarkowicz
d44d5b35f3
Add show-hidden-metrics-for-version to kubelet
2020-02-25 20:46:34 +01:00
SataQiu
a7d927f1e7
kubelet: fix wrong flag types
2020-02-25 18:04:44 +08:00
Benjamin Elder
d827f2634a
update stale pause image comment
2020-02-14 14:03:19 -08:00
Benjamin Elder
1631825e44
bump pause to 3.2 in kubelet
2020-02-14 11:40:15 -08:00
Davanum Srinivas
bb587690fd
Default the --enable-cadvisor-endpoints flag to disabled
...
As part of #68522 , Switching off the cAdvisor v1 Json API that we expose
directly. These include /stats/, /stats/container, /stats/{podName}/{containerName},
and /stats/{namespace}/{podName}/{uid}/{containerName}
2020-01-21 17:30:46 -05:00
Kubernetes Prow Robot
61d36e4a43
Merge pull request #85850 from danwinship/kubelet-ipv6-node-ip
...
Allow "kubelet --node-ip ::" to mean prefer IPv6
2020-01-13 17:41:08 -08:00
Dan Winship
ce68edf700
Allow "kubelet --node-ip ::" to mean prefer IPv6
2020-01-07 07:53:21 -05:00
louisgong
324e5ce7e3
hollow-node use remote CRI
2020-01-07 11:00:45 +08:00
SataQiu
2a83443782
add error handler of unix.Setrlimit
2020-01-03 10:49:06 +08:00
Jacek Kaniuk
4303be3d9f
Revert pull request #85879 "hollow-node use remote CRI"
2019-12-19 10:52:35 +01:00
louisgong
e8e1cc9ee0
extract PreInitRuntimeService from NewMainKubelet
2019-12-18 11:48:29 +08:00
Benjamin Elder
820b7dfa1b
fix providerless build post-CSI migration
2019-11-19 09:47:44 -08:00
Travis Rhoden
0c5c3d8bb9
Remove pkg/util/mount (moved out of tree)
...
This patch removes pkg/util/mount completely, and replaces it with the
mount package now located at k8s.io/utils/mount. The code found at
k8s.io/utils/mount was moved there from pkg/util/mount, so the code is
identical, just no longer in-tree to k/k.
2019-11-15 08:29:12 -07:00
Kubernetes Prow Robot
372ebd24f5
Merge pull request #83098 from ddebroy/disable-intree
...
CSI Migration phase 2: disable probing of in-tree plugins
2019-11-14 20:51:42 -08:00
Deep Debroy
129f15328b
Disable in-tree plugins migrated to CSI
...
Signed-off-by: Deep Debroy <ddebroy@docker.com>
2019-11-14 17:28:21 -08:00
Jordan Liggitt
7349a824df
generated
2019-11-11 17:19:12 -05:00
Jordan Liggitt
d54a70db5c
Switch kubelet/aggregated API servers to use v1 subjectaccessreviews
2019-11-11 17:19:11 -05:00
Jordan Liggitt
5ef4fe959a
Switch kubelet/aggregated API servers to use v1 tokenreviews
2019-11-11 17:19:10 -05:00
Kubernetes Prow Robot
ae15368355
Merge pull request #84351 from wojtek-t/promote_node_lease_to_GA
...
Promote node lease to GA
2019-11-08 09:00:15 -08:00
Kubernetes Prow Robot
73b2c82b28
Merge pull request #83592 from jianzzha/opt-reserved-cpus
...
added --reserved-cpus kubelet command option
2019-11-06 22:14:42 -08:00