Sreemanti Ghosh
4e503597b8
Unit test for Topology Manager policy_strict and policy_preferred
2019-05-30 05:44:01 +01:00
nolancon
eff568e496
Add Policies Strict and Preferred for Topology Manager
2019-05-30 05:44:01 +01:00
Kubernetes Prow Robot
68f728a89e
Merge pull request #78375 from mysunshine92/remove-unused-events-2
...
delete unused events
2019-05-29 21:29:08 -07:00
David Ashpole
a95cf017e1
add dashpole to kubelet owners files
2019-05-29 13:33:48 -07:00
Robert Krawitz
38753efcc7
Set sizeLimit to the smaller of the ephemeral storage limit and the emptydir limit (if set)
2019-05-29 15:17:47 -04:00
Robert Krawitz
f8661d6240
Use xfs_quota command to apply quotas
2019-05-29 15:12:28 -04:00
Robert Krawitz
448e0c44c6
Apply quotas via syscalls using cgo.
2019-05-29 15:12:28 -04:00
Robert Krawitz
5b97b2860d
Change fsGroup to mounterArgs in volume.SetUp() to allow for future extension.
2019-05-29 15:12:28 -04:00
Kubernetes Prow Robot
38468e4338
Merge pull request #70536 from mysunshine92/golint-hostpath
...
fix golint for pkg/volume/host_path
2019-05-29 11:25:46 -07:00
Kubernetes Prow Robot
9ca472da03
Merge pull request #72885 from lmdaly/topology-manager-interfaces
...
Add Topology Manager Interfaces
2019-05-29 09:44:25 -07:00
Kubernetes Prow Robot
f0812288a9
Merge pull request #78303 from mysunshine92/fix-typo-0524
...
fix some spelling error
2019-05-29 05:33:42 -07:00
lmdaly
c1a4457573
Update Bazel files to include SocketMask
2019-05-29 02:21:51 +01:00
Conor Nolan
d99bac12e6
Update Remove/AddPod to Container ( #26 )
...
More intuitive TopologyHints
2019-05-29 02:11:15 +01:00
lmdaly
e64c558a11
Added BUILD files and updates to Boilerplates
2019-05-29 02:11:15 +01:00
lmdaly
71bbc6d538
Add Topology Manager Interfaces
...
*Topology Manager
*Policy
2019-05-29 02:10:46 +01:00
yameiwang
af24f2a507
delete unused events
2019-05-29 06:52:11 +08:00
Kubernetes Prow Robot
3b4473f45a
Merge pull request #72913 from nolancon/topology-manager-socket-mask
...
Add Socket Mask for Topology Manager
2019-05-28 10:58:41 -07:00
nolancon
b7f6b8f8f1
Updated unit test for socketmask
2019-05-28 05:00:04 +01:00
nolancon
283dff9335
Update SocketMask based on feedback
...
TODO: Unit tests to be updated
2019-05-27 07:19:03 +01:00
Kubernetes Prow Robot
eaece39c86
Merge pull request #78323 from tallclair/docker
...
Add a special-cased runtime handler for dockershim
2019-05-25 09:01:50 -07:00
yameiwang
23b7d5e606
fix some spelling error
2019-05-25 06:51:31 +08:00
Tim Allclair
19a588eeda
Add a special-cased runtime handler for dockershim
2019-05-24 15:30:34 -07:00
Tim Allclair
91e593546c
Revert "Use consistent imageRef during container startup"
...
This reverts commit 26e3c8674e
.
2019-05-23 11:36:32 -07:00
Kubernetes Prow Robot
585fa3acc8
Merge pull request #78073 from mattjmcnaughton/mattjmcnaughton/fix-housekeeping-typos
...
Standardize housekeeping capitalization
2019-05-22 18:44:37 -07:00
Kubernetes Prow Robot
4f33b5f421
Merge pull request #77820 from dims/charrywanganthony-pr-71835-delete-kubelet-security-controls
...
Remove deprecated Kubelet security controls
2019-05-22 13:52:25 -07:00
Kubernetes Prow Robot
43b4d218b0
Merge pull request #75053 from RobertKrawitz/pid-limit-comment-typo
...
Fix typo in comments on SystemReserved and KubeReserved
2019-05-21 18:44:07 -07:00
Kubernetes Prow Robot
3517197bcb
Merge pull request #77699 from chardch/reset-extended
...
Reset extended resources only when node is recreated.
2019-05-21 17:02:08 -07:00
Kubernetes Prow Robot
b7b8addd62
Merge pull request #77068 from monstercy/nodeStatusReportFrequency
...
fix comment about nodeStatusReportFrequency in kubelet.go
2019-05-21 14:30:10 -07:00
Richard Chen
c9f1b57b5b
Reset extended resources only when node is recreated.
2019-05-21 14:16:54 -07:00
Kubernetes Prow Robot
ae2a1628f6
Merge pull request #75459 from wk8/wk8/gmsa_beta
...
Kubelet & API changes for Windows GMSA support
2019-05-21 11:40:08 -07:00
Kubernetes Prow Robot
e476a60ccb
Merge pull request #73241 from vikaschoudhary16/selinux-label
...
Add correct selinux label at plugin socket directory
2019-05-20 11:07:17 -07:00
mattjmcnaughton
c68690c640
Standardize housekeeping capitalization
...
Previously, the code base had both `housekeeping` and `houseKeeping`,
which made case sensitive search in vim difficult. Standardize on
`housekeeping`, which was by far the most popular.
2019-05-18 11:30:47 -04:00
vikaschoudhary16
58d1b4d564
Add correct selinux label at plugin socket directory
2019-05-18 12:35:17 +05:30
Kubernetes Prow Robot
a6b546eb72
Merge pull request #77936 from liggitt/shorten-cert-wait
...
Interrupt WaitForCertificate if desired kubelet serving cert changes
2019-05-17 00:26:19 -07:00
Kubernetes Prow Robot
3c02a38fdc
Merge pull request #77609 from tedyu/union-all-test
...
Add test for CPUSet#UnionAll
2019-05-16 20:39:26 -07:00
Jean Rouge
b39d8f4777
Kubelet & implementation changes for Windows GMSA support
...
This patch comprises the kubelet changes outlined in the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Updated tests.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 22:07:03 -04:00
Kubernetes Prow Robot
b276043051
Merge pull request #77421 from tedyu/cpu-free-no-sort
...
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-16 16:26:53 -07:00
Jean Rouge
181706b0f0
Auto-generated changes for Windows GMSA support
...
This patch comprises the auto-generated changes for the API changes outlined in
the Windows GMSA KEP
(https://github.com/kubernetes/enhancements/blob/master/keps/sig-windows/20181221-windows-group-managed-service-accounts-for-container-identity.md )
to add GMSA support to Windows workloads.
Signed-off-by: Jean Rouge <rougej+github@gmail.com>
2019-05-16 15:34:22 -07:00
Jordan Liggitt
739a75fc32
Interrupt WaitForCertificate if desired kubelet serving cert changes
2019-05-16 15:14:47 -04:00
Ted Yu
52f797188f
Add test for CPUSet#UnionAll
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-16 12:13:33 -07:00
chaowang
9ba0d47465
Remove deprecated Kubelet security controls
...
Change-Id: I9f770e6780b60e881092690f6f177d726f474fe3
2019-05-16 13:33:52 -04:00
Han Kang
2d48b3e81e
add process start time metric to metric probes since they use counters
2019-05-16 08:19:29 -07:00
Kubernetes Prow Robot
066549b4b5
Merge pull request #77892 from mikedanese/pluginwatcher
...
simplify pluginwatcher close by removing waitgroup
2019-05-16 06:06:26 -07:00
Kubernetes Prow Robot
ce3ce9a57a
Merge pull request #77023 from obitech/fix_golint_issues_in_kubelet_packages_oom
...
Fix golint issues in pkg/kubelet/oom
2019-05-15 22:56:21 -07:00
Kubernetes Prow Robot
37281a400d
Merge pull request #76442 from viegasdom/fix-golint-utils-bandwith
...
Fix golint failures of util/bandwith/*.go
2019-05-15 22:56:08 -07:00
Kubernetes Prow Robot
c50ff35a55
Merge pull request #77839 from mcrute/migrate-fake-cp
...
Staging legacy fake cloud provider
2019-05-15 12:32:23 -07:00
Kubernetes Prow Robot
adf6fa6987
Merge pull request #77888 from tallclair/standalone
...
Don't create a RuntimeClassManager without a KubeClient
2019-05-15 00:04:48 -07:00
Kubernetes Prow Robot
116f06e96e
Merge pull request #77661 from mfpierre/fix-static-pods-kubelet-status
...
Kubelet status manager sync the status of local Pods
2019-05-14 20:36:28 -07:00
Mike Danese
531a50c776
simplify pluginwatcher closing
2019-05-14 18:55:13 -07:00
Kubernetes Prow Robot
032b4d39c6
Merge pull request #77304 from cwdsuzhou/fix_leak_when_stop_error
...
Bugfix: fix chan leak when stop error
2019-05-14 18:24:55 -07:00
Tim Allclair
41ccf4c77e
Don't create a RuntimeClassManager without a KubeClient
2019-05-14 16:41:50 -07:00
Mike Crute
7d62316f8f
Migrate fake cloud provider to staging
2019-05-14 13:32:18 -07:00
Kubernetes Prow Robot
2525ab8572
Merge pull request #77759 from haiyanmeng/host
...
Remove the `host` label from the kubelet http traffic metrics
2019-05-13 13:15:36 -07:00
Kubernetes Prow Robot
0252a32342
Merge pull request #77788 from mysunshine92/wym-0510
...
fix typos
2019-05-13 11:52:31 -07:00
nolancon
e8566caa3f
Update to unit test and comment bug fixed
2019-05-13 06:41:44 +01:00
yameiwang
503ac59abe
fix typo in kuberuntime_manager.go
2019-05-13 08:35:01 +08:00
Kubernetes Prow Robot
ace60e8acb
Merge pull request #77684 from tedyu/pre-empt
...
Correct CriticalPodAdmissionHandler in godoc
2019-05-12 02:24:09 -07:00
Haiyan Meng
4751f40319
Remove the `host` label from the kubelet http traffic metrics
...
Signed-off-by: Haiyan Meng <haiyanmeng@google.com>
2019-05-10 13:46:35 -07:00
David Ashpole
f8dff6bd5b
only collect metrics for cgroups required by the summary API
2019-05-10 12:12:41 -07:00
Kubernetes Prow Robot
ef9e794a36
Merge pull request #77656 from yastij/check-cstat-mem
...
check if Memory is not nil for container stats
2019-05-09 17:52:23 -07:00
Kubernetes Prow Robot
b7dc0124a0
Merge pull request #77379 from tedyu/http-stat-map
...
Use map to check whether stack trace is needed
2019-05-09 14:13:34 -07:00
Ted Yu
0a9bf0d05e
Correct CriticalPodAdmissionHandler in godoc
2019-05-09 10:51:46 -07:00
JulienBalestra
27cccad822
Kubelet provides an updated and complete status of local-static Pods
2019-05-09 14:56:31 +02:00
Yassine TIJANI
f6087365e9
check if Memory is not nil for container stats
2019-05-09 14:53:38 +02:00
Kubernetes Prow Robot
60a4c3c003
Merge pull request #76603 from changyaowei/generic_ut_fix
...
fix TestEventChannelFull random fail
2019-05-08 17:14:47 -07:00
Ted Yu
85fc089855
Use map to check whether stack trace is needed
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-05-08 14:31:50 -07:00
Kubernetes Prow Robot
09c4e10333
Merge pull request #74021 from andrewsykim/move-features-component-base
...
Move feature gate package from k8s.io/apiserver to k8s.io/component-base
2019-05-08 13:06:34 -07:00
Daniel (Shijun) Qian
5268f69405
fix duplicated imports of k8s code ( #77484 )
...
* fix duplicated imports of api/core/v1
* fix duplicated imports of client-go/kubernetes
* fix duplicated imports of rest code
* change import name to more reasonable
2019-05-08 10:12:47 -07:00
Andrew Kim
c919139245
update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate
2019-05-08 10:01:50 -04:00
nolancon
7c525ffaa8
More intuitive TopologyHints - socketmask.go
2019-05-08 04:22:39 +01:00
Kubernetes Prow Robot
946087b422
Merge pull request #77426 from Random-Liu/remove-terminated-pod
...
Remove terminated pod from summary api.
2019-05-07 15:55:23 -07:00
Kubernetes Prow Robot
caad1635ce
Merge pull request #77409 from gnufied/add-volume-manager-approvers
...
Add jan and msau42 as approver for volumemanager
2019-05-07 15:54:59 -07:00
Kubernetes Prow Robot
b4211dea98
Merge pull request #77422 from tedyu/policy-set-union
...
Union all CPUSets in one round
2019-05-06 14:02:05 -07:00
caiweidong
a01f0b4e5e
Bugfix: fix channel leak when stop error
2019-05-05 23:06:13 +08:00
Lantao Liu
11cd4242f6
Remove terminated pod from summary api.
...
Signed-off-by: Lantao Liu <lantaol@google.com>
2019-05-03 18:34:54 -07:00
Ted Yu
e967c37068
Union all CPUSets in one round
2019-05-03 14:40:33 -07:00
Ted Yu
f83bac61a4
Obtain unsorted slice in cpuAccumulator#freeCores
2019-05-03 14:07:47 -07:00
Hemant Kumar
15e2421f90
Add jan and msau42 as approver for volumemanager
2019-05-03 13:34:50 -04:00
Kubernetes Prow Robot
6a8a368291
Merge pull request #77287 from tedyu/kube-long-running
...
Use map to check for long-running request
2019-05-02 16:23:09 -07:00
Kubernetes Prow Robot
98c4c1e2d8
Merge pull request #77291 from tedyu/cpu-pod-stat
...
Query pod status outside loop over containers
2019-05-01 23:28:56 -07:00
Kubernetes Prow Robot
a5a70b4de3
Merge pull request #74859 from ahadas/static_policy
...
kubelet/cm: code optimization for the static policy
2019-05-01 23:28:19 -07:00
Kubernetes Prow Robot
7d14d53999
Merge pull request #77162 from klueska/upstream-cpu-manager-find-init-containers
...
Add ability to find init Container IDs in cpumanager reconcileState()
2019-05-01 18:42:30 -07:00
Ted Yu
3fc16a7e82
Log pod name when pod status cannot be queried
2019-05-01 15:01:56 -07:00
Kubernetes Prow Robot
d457a5d214
Merge pull request #77157 from tedyu/kubelet-node-addr-read
...
Utilize read lock for getLastObservedNodeAddresses
2019-05-01 14:32:42 -07:00
Kubernetes Prow Robot
b219272a76
Merge pull request #77165 from mattjmcnaughton/mattjmcnaughton/77138-increase-max-msg-size-dockershim
...
Increase maxMsgSize for dockershim
2019-04-30 20:50:56 -07:00
Ted Yu
66ce52578a
Query pod status outside loop over containers
2019-04-30 19:35:32 -07:00
Ted Yu
fe6e50df3d
Use map to check for long-running request
...
Signed-off-by: Ted Yu <yute@vmware.com>
2019-04-30 19:32:35 -07:00
Kubernetes Prow Robot
16085784bc
Merge pull request #75110 from bertinatto/fix_race_watcher
...
Send events before adding watchers in traversePluginDir
2019-04-29 17:19:38 -07:00
mattjmcnaughton
0547167ad0
Increase maxMsgSize for dockershim
...
Increase the grpc max message size to be the same as the value defined
in `pkg/kubelet/remote/utils.go`.
Increase the limit because, `ListPodSandbox` (and possibly other) calls
are hitting the limit. Long term, the best solution to this issue is to
use pagination, but that is not currently available.
2019-04-27 13:26:31 -04:00
Kevin Klues
ef27f5f1a5
Add ability to find init Container IDs in cpumanager reconcileState()
...
The cpumanager loops through all init Containers and app Containers when
reconciling its state. However, the current implementation of
findContainerIDByName(), which is call by the reconciler, does not
resolve for init Containers.
This patch updates findContainerIDByName() to account for init
Containers and adds a regression test that fails before the change and
succeeds after.
2019-04-27 06:18:55 -07:00
obitech
9e35d3d709
Fix golint issues in pkg/kubelet/oom
2019-04-27 10:00:07 +02:00
Ted Yu
1be83c9d4d
Utilize read lock for getLastObservedNodeAddresses
2019-04-26 20:05:49 -07:00
changyaowei
850f4bbd36
modify random failure
2019-04-27 08:04:58 +08:00
Kubernetes Prow Robot
5b43333291
Merge pull request #76884 from SataQiu/fix-golint-pkg/kubelet/pod
...
Fix golint failures of pkg/kubelet/pod
2019-04-25 13:37:06 -07:00
Kubernetes Prow Robot
f4937619a2
Merge pull request #75442 from mars1024/bugfix/bandwidth_unit
...
change bandwidth units from Kb to b
2019-04-25 13:36:54 -07:00
Kubernetes Prow Robot
3bbd0e92e8
Merge pull request #75228 from haiyanmeng/kubelet
...
Add metrics to monitor the kubelet http server
2019-04-25 13:36:31 -07:00
Kubernetes Prow Robot
40a7a2370b
Merge pull request #76940 from cwdsuzhou/use_locked_func
...
fix: use locked func to replace the raw one to avoid concurrent read
2019-04-25 12:04:08 -07:00
Yu Cao
e8b60b1d8d
fix comment about nodeStatusReportFrequency in kubelet.go
2019-04-25 19:49:48 +08:00
SataQiu
1581055c3a
fix golint failures of pkg/kubelet/pod
2019-04-25 11:54:14 +08:00
SataQiu
bf37c8a217
fix golint failures of pkg/kubelet/checkpointmanager/checksum
2019-04-25 09:56:43 +08:00