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
Jordan Liggitt
297570e06a
hack/update-vendor.sh
2019-11-06 17:42:34 -05:00
Jianzhu Zhang
89dfd24483
added --reserved-cpus kubelet command option
2019-11-06 07:33:52 -05:00
wojtekt
ffad401b4e
Promote NodeLease feature to GA
2019-11-05 09:01:12 +01:00
Mike Danese
fe51712288
refactor into seperate authority package
2019-11-04 10:56:06 -08:00
Kubernetes Prow Robot
c16f668799
Merge pull request #83881 from SataQiu/fix-kubelet-20191014
...
Fix bug of kubelet enable-cadvisor-json-endpoints flag
2019-10-29 05:52:43 -07:00
David Eads
6beb96261e
wire up a means to dynamically reload ca bundles for kube-apiserver
2019-10-23 11:01:56 -04:00
SataQiu
90db2a479d
fix bug of kubelet flag
2019-10-14 14:28:02 +08:00
Kubernetes Prow Robot
91b2a7af87
Merge pull request #83184 from odinuge/dynamic-kubelet-config
...
Fix init order during starup for dynamic kubelet config
2019-10-10 13:41:20 -07:00
David Eads
51195dd860
add ability to authenticators for dynamic update of certs
2019-10-01 09:50:20 -04:00
Odin Ugedal
2292873fdd
Fix dynamic kubelet config init order
...
If the metrics ain't created, the values will not be registered, and the
metrics will not be visible in the metric endpoint.
Therefore move init of dynamic kubelet config below the startup of the
kubelet server (and the init of metrics).
2019-09-28 11:55:43 +02:00
Han Kang
866ea74326
remove pkg/version and some of redundant copies of it
...
Change-Id: Ia58367c1b1274bfb49c8a4784051463abaf795de
2019-09-16 16:24:35 -07:00
Kubernetes Prow Robot
7d40536c81
Merge pull request #82024 from codenrhoden/mv-hostutil
...
Move HostUtil to pkg/volume/util/hostutil
2019-08-30 19:21:49 -07:00
Travis Rhoden
935c23f2ad
Move HostUtil to pkg/volume/util/hostutil
...
This patch moves the HostUtil functionality from the util/mount package
to the volume/util/hostutil package.
All `*NewHostUtil*` calls are changed to return concrete types instead
of interfaces.
All callers are changed to use the `*NewHostUtil*` methods instead of
directly instantiating the concrete types.
2019-08-30 10:14:42 -06:00
Louise Daly
f6c085f60e
Added Single NUMA Node Policy which ensure resource are
...
aligned on a single NUMA node
Co-authored-by: Kevin Klues <kklues@nvidia.com>
2019-08-30 07:17:17 +01:00
Kubernetes Prow Robot
de1cfa9bc1
Merge pull request #81787 from lmdaly/topology-manager-rename-strict-policy
...
Renaming strict policy to restricted policy
2019-08-28 01:38:04 -07:00
Benjamin Elder
5a3301a59d
s/nolegacyproviders/providerless/
2019-08-22 15:30:56 -07:00
Benjamin Elder
ece112524b
hack/update-bazel.sh
2019-08-22 14:53:35 -07:00
Benjamin Elder
93c479793d
make it possible to build kubelet without legacy cloud providers
2019-08-22 14:53:35 -07:00
Louise Daly
2fb94231d0
Renaming strict policy to restricted policy
...
Restricted policy will fail admission of guaranteed pods where
all requested resources are not available on a single NUMA Node
2019-08-22 07:57:55 +01:00
Tarun Pothulapati
e3c21d6495
update dependencies to include k8s.io/utils/inotify
...
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2019-08-07 21:09:40 +05:30
Tarun Pothulapati
a7d007958e
fix linting issues
...
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2019-08-07 21:00:53 +05:30
Tarun Pothulapati
f4e2907477
use k8s.io/utils/inotify instead of github.com/go-sigma/inotify
...
Signed-off-by: Tarun Pothulapati <tarunpothulapati@outlook.com>
2019-08-07 21:00:29 +05:30
Kubernetes Prow Robot
93e6fb30f0
Merge pull request #74357 from lmdaly/topology-manager-container-manager
...
Updates to container manager and internal container lifecycle to accommodate TopologyManager
2019-08-01 11:52:17 -07:00
Kubernetes Prow Robot
23649560c0
Merge pull request #80301 from klueska/upstream-rename-topologymanager-preferred-best-effort
...
Rename 'preferred' TopologyManager policy to 'best-effort'
2019-07-27 09:25:56 -07:00
Kevin Klues
7eccc71c9e
Rename 'preferred' TopologyManager policy to 'best-effort'
2019-07-25 10:44:36 +02:00
Louise Daly
9f0081cc36
Updates to container manager and internal container lifecycle to accommodate Topology Manager
...
Co-authored-by: Conor Nolan <conor.nolan@intel.com>
2019-07-24 08:09:38 +01:00
David Xia
fabfd950b1
cleanup: fix some log and error capitalizations
...
Part of https://github.com/kubernetes/kubernetes/issues/15863
2019-07-20 18:26:16 -04:00
Jordan Liggitt
a6db3fd6fa
Update unit test with expected query parameters
2019-07-16 20:54:26 -04:00
Davanum Srinivas
3b2a61dead
Remove deprecated --containerized flag in kubelet
...
This flag was deprecated in 1.14
2019-07-11 17:47:21 -04:00
Kubernetes Prow Robot
bbef01a202
Merge pull request #74411 from nolancon/topology-manager-flags-feature-gate
...
Add feature gate and kubelet flags for Topology Manager
2019-07-03 15:16:13 -07:00
Seth Jennings
0c7ce5a7d7
kubelet: add allowed sysctl to KubeletConfiguration
2019-07-02 12:19:47 -05:00
nolancon
705f97e171
Enable feature gate and kubelet flags for Topology Manager
...
Nit: remove capitalization of preferred
Remove line from kubelet and add to separate PR for easier merge
nit: dependency added to separate PR
Add check to ensure strict policy cannot be set without feature gate enabled
Topology Manager runs "none" policy by default.
Added constants for policies and updated documentation.
2019-07-02 06:50:17 +01:00
Kubernetes Prow Robot
6f73ab2219
Merge pull request #78908 from dcbw/cni-0.7.1-snapshot
...
vendor: bump CNI to v0.7.1 snapshot
2019-07-01 21:33:21 -07:00
Kubernetes Prow Robot
cdddcf9b48
Merge pull request #71170 from atlassian/rand-cleanup2
...
Cleanup math/rand package usage
2019-07-01 21:33:08 -07:00