Sascha Grunert
6459ed6717
Cleanup portforward streams after their usage
...
This implements a stream cleanup when using portforwardings. Before
applying this patch, the streams []httpstream.Stream within
`spdy/connection.go` would fill-up for each streaming request. This
could result in heavy memory usage. Now we use the stream identifier to
keep track of them and finally remove them again once they're no longer
needed.
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2021-03-15 09:43:46 +01:00
Aditi Sharma
461c0c1656
Fix structured logging for kuberuntime_manger.go
2021-03-15 10:13:18 +05:30
lala123912
b247240ad7
Migrate pkg/kubelet/cm/cpumanage/{topology/topology.go, policy_none.go, cpu_assignment.go} to structured logging
2021-03-15 09:42:07 +08:00
Amim Knabben
c1d24c87bb
Migrate devicemanager to structured logging
2021-03-14 11:57:06 -04:00
pacoxu
0bb911f90a
fix two data race in volume reconciler ut 99815
2021-03-14 13:20:34 +08:00
Antonio Ojea
e37519151b
initialize capabilities unit test
2021-03-13 10:53:47 +01:00
Dave Chen
4c5c349165
Update comments for the resource weight of RequestedToCapacityRatio plugin
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2021-03-13 14:27:59 +08:00
JUN YANG
90bfd38b83
Structured Logging migration: modify node and pod part logs of kubelet.
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn >
2021-03-13 12:31:09 +08:00
Aldo Culquicondor
e6c3d7b34d
Only default Job fields when feature gates are enabled
...
Also use pointer for completionMode enum
2021-03-12 20:46:52 +00:00
Utsav Oza
2f3a4ec9cb
Migrate remaining files in pkg/kubelet to structured logging
2021-03-12 22:36:28 +05:30
changshuchao
fa6654ff19
test case for pkg/kubelet/cri/remote/utils_test.go
2021-03-12 23:47:24 +08:00
JunYang
4e72e41387
test: fix the error of TestAuthenticationValidate
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn >
2021-03-12 23:10:21 +08:00
pacoxu
9e024e839b
update structured log for policy_static.go
2021-03-12 16:26:20 +08:00
Kubernetes Prow Robot
fcee7a0105
Merge pull request #99996 from learner0810/master
...
logcheck: check Windows files
2021-03-12 00:12:18 -08:00
pacoxu
4cf80f160d
update structured log for fake_cpu_manager.go
2021-03-12 16:06:52 +08:00
Kubernetes Prow Robot
faa5c8ccd4
Merge pull request #99375 from ehashman/probe-kep-2238
...
Add Probe-level terminationGracePeriodSeconds
2021-03-11 23:10:18 -08:00
chymy
c28be0baab
Fix staticcheck failures for pkg/controller/replicaset and pkg/kubelet/dockershim
2021-03-11 22:16:05 -05:00
hwdef
ae8c4c2656
kubelet: fix the bug that the number of cpu cannot be obtained normally under Windows
2021-03-12 10:22:01 +08:00
Amim Knabben
95db61e37b
Structured log for topologymanager
2021-03-11 20:50:14 -05:00
Kubernetes Prow Robot
bebb932bdf
Merge pull request #99479 from mengjiao-liu/migrate_to_structured_logs
...
Migrate `pkg/kubelet/lifecycle,oom` to structured logging
2021-03-11 17:28:33 -08:00
Kubernetes Prow Robot
d43ffff007
Merge pull request #99298 from zshihang/csi
...
graduate CSIServiceAccountToken to beta
2021-03-11 17:28:25 -08:00
Kubernetes Prow Robot
b5ba51b22b
Merge pull request #98154 from yangjunmyfm192085/run-test
...
migrate file kubelet_node_status.go logs to structured logging and fix error description of reconcileHugePageResource log
2021-03-11 17:28:18 -08:00
Elana Hashman
7df1259d09
Generated changes for probe terminationGracePeriodSeconds
2021-03-11 16:40:40 -08:00
Kubernetes Prow Robot
0f1db5891d
Merge pull request #99885 from qingwave/structred-log-kubelet-pluginmanager
...
Migrate pkg/kubelet/pluginmanager to structured logging
2021-03-11 16:24:18 -08:00
Kubernetes Prow Robot
6038755107
Merge pull request #100147 from alculquicondor/indexed-annotation
...
Rename job completion index annotation to not contain alpha
2021-03-11 15:02:30 -08:00
Elana Hashman
9fb6e712ff
Override terminationLivenessGracePeriod for probes
2021-03-11 14:38:03 -08:00
Elana Hashman
c88512d34f
Add feature flag ProbeTerminationGracePeriod, test field drop in API
2021-03-11 14:38:00 -08:00
Elana Hashman
81cfbccea4
Validate that readiness probes can't set terminationGracePeriodSeconds
2021-03-11 14:37:57 -08:00
Elana Hashman
9cdd673a8b
Add terminationGracePeriodSeconds to Probe API
2021-03-11 14:37:49 -08:00
Wei Huang
6384f397b4
sched: support PreEnqueueChecks prior to moving Pods
2021-03-11 12:31:50 -08:00
Aldo Culquicondor
ae0ac3109e
Rename job completion index annotation to not contain alpha
2021-03-11 19:25:11 +00:00
changshuchao
383744c849
fix Spelling error for Unmounter
2021-03-12 00:19:54 +08: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
zhongjun.li
cbc0d55912
logcheck: check Windows files
2021-03-11 17:40:07 +08:00
changshuchao
bf18a1ca53
Add test case for state.go
2021-03-11 17:06:56 +08:00
Kubernetes Prow Robot
eb0c118a9d
Merge pull request #99759 from jpbetz/apply-extract
...
Add Extract support to client-go apply builders
2021-03-11 00:18:36 -08:00
Kubernetes Prow Robot
98d3738f6d
Merge pull request #100108 from Jefftree/ssa-revertga
...
Revert SSA GA
2021-03-10 22:43:04 -08:00
Kubernetes Prow Robot
e2cdf0e3f7
Merge pull request #100103 from robscott/stale-tracker-fix-v2
...
Updating EndpointSlice controllers to avoid duplicate creations
2021-03-10 22:42:55 -08:00
mengjiao.liu
e557f61784
Migrate pkg/kubelet/lifecycle,oom to structured logging
...
Co-authored-by: Elana Hashman <ehashman@users.noreply.github.com >
2021-03-11 13:36:48 +08:00
Jefftree
4a41c474cc
Revert SSA GA
2021-03-10 18:04:40 -08:00
huchengze
334b31faf6
migrate log in pkg/volume/volume_linux.go
2021-03-11 09:16:03 +08:00
Rob Scott
730d7dc1c0
Updating EndpointSlice controllers to avoid duplicate creations
...
This updates the StaleSlices() method in EndpointSliceTracker to also
ensure that the tracker does not have more slices than have been
provided.
Co-Authored-By: Swetha Repakula <srepakula@google.com >
2021-03-10 13:13:13 -08:00
Maxime Lagresle
ce7a7bbf9b
fix rounding of volume storage requests
2021-03-10 21:09:46 +01:00
Kubernetes Prow Robot
4b6e3e164f
Merge pull request #99221 from jsturtevant/windows-host-stats-provider
...
Get filesystem stats for files on Windows
2021-03-10 11:09:23 -08:00
JunYang
923306b1ba
Fix TestGetNodeAddresses function error.
...
Signed-off-by: JunYang <yang.jun22@zte.com.cn >
2021-03-10 23:33:57 +08:00
Aldo Culquicondor
4af432bab3
Remove active pods past completions
2021-03-10 14:55:40 +00:00
Joe Betz
987657a80f
Add extract apply function generation
2021-03-10 06:13:51 -08:00
tanjing2020
cd6bf47a19
implement EnqueueExtensions interface in nodeaffinity
2021-03-10 19:22:08 +08:00
Kubernetes Prow Robot
b014610de3
Merge pull request #99958 from sbangari/winkubeproxylbservicefix
...
For LoadBalancer Service type don't create a HNS policy for empty or invalid external loadbalancer IP
2021-03-10 00:35:35 -08:00
Kubernetes Prow Robot
b7d23d7111
Merge pull request #99661 from kevindelgado/status-wiping
...
Server-Side Apply status wiping
2021-03-10 00:35:14 -08:00