Lukas Grossar
d76f5dae67
Add a comment to roleRef to document that it is immutable
2023-04-24 22:35:20 +02:00
Kubernetes Prow Robot
6662b2921a
Merge pull request #117488 from mborsz/point
...
Avoid volume copy in checkAttachableInlineVolume
2023-04-24 12:33:20 -07:00
Kubernetes Prow Robot
b1f901acf4
Merge pull request #117229 from yanggangtony/duplicate-code-schedule
...
Delete duplicate code in schedule.go
2023-04-22 21:35:14 -07:00
Kubernetes Prow Robot
5f22ab3c5f
Merge pull request #117390 from lowang-bh/less-funcations-calls-for-schedule-util
...
enhancemanet: reduce calculation calls
2023-04-22 20:41:12 -07:00
Kubernetes Prow Robot
25a25e27a9
Merge pull request #110477 from halfcrazy/feat/hostnetwork-fieldsel
...
support fieldSelector spec.hostNetwork
2023-04-21 18:13:11 -07:00
Kubernetes Prow Robot
7fe63a9b1a
Merge pull request #116902 from sourcelliu/cast
...
Remove unnecessary int type conversion
2023-04-20 19:15:10 -07:00
Kubernetes Prow Robot
9d34ca5b66
Merge pull request #117276 from pacoxu/image-pull-event
...
kubelet: truncate the precision at a millisecond for image pull event message
2023-04-20 17:45:10 -07:00
Kubernetes Prow Robot
8d494c49d1
Merge pull request #114068 from cyclinder/feature_gate
...
remove GA feature-gate for 1.28
2023-04-20 09:25:11 -07:00
Maciej Borsz
5c584269a7
avoid volume copy in checkAttachableInlineVolume
2023-04-19 20:10:22 +00:00
Kubernetes Prow Robot
ff4eff24ac
Merge pull request #116104 from daman1807/conntrack
...
Unified Conntrack Cleaning
2023-04-19 00:42:47 -07:00
lowang_bh
eaba1703b1
enhancemanet: reduce calculation calls
...
Signed-off-by: lowang_bh <lhui_wang@163.com >
2023-04-18 22:27:35 +08:00
Kubernetes Prow Robot
1f0e718585
Merge pull request #117077 from pacoxu/fsquota-cleanup
...
skip clear quota if FSQuotaMonitoring is disabled
2023-04-18 02:36:57 -07:00
Kubernetes Prow Robot
53cccbe4f9
Merge pull request #117019 from bobbypage/gh_116925
...
kubelet: Mark new terminal pods as non-finished in pod worker
2023-04-17 15:10:58 -07:00
Kubernetes Prow Robot
89462b8128
Merge pull request #117412 from smarterclayton/volume_cancel
...
kubelet: pass context to VolumeManager.WaitFor*
2023-04-17 14:11:10 -07:00
Kubernetes Prow Robot
29fe2c70b1
Merge pull request #117252 from alculquicondor/node-lifecycle-owner
...
Add SIG ownership to controller/nodelifecycle
2023-04-17 14:10:57 -07:00
Kubernetes Prow Robot
94a15929cf
Merge pull request #116408 from ChenLingPeng/fit
...
skip pod resource check when request is zero
2023-04-17 11:44:45 -07:00
Todd Neal
453f81d1ca
kubelet: pass context to VolumeManager.WaitFor*
...
This allows us to return with a timeout error as soon as the
context is canceled. Previously in cases where the mount will
never succeed pods can get stuck deleting for 2 minutes.
In the Sync*Pod methods that call VolumeManager.WaitFor*, we
must filter out wait.Interrupted errors from being logged as
they are part of control flow, not runtime problems. Any
early interruption should result in exiting the Sync*Pod method
as quickly as possible without logging intermediate errors.
2023-04-17 11:53:28 -05:00
Yan Zhu
7fb88eec73
support fieldSelector spec.hostNetwork
...
Signed-off-by: Yan Zhu <hackzhuyan@gmail.com >
2023-04-17 13:19:35 +08:00
Daman
a6339e2702
proxy/conntrack: using common conntrack cleaning function in proxiers
2023-04-16 15:59:14 +05:30
Daman
399f09dde0
proxy/conntrack: common function for cleaning stale conntrack entries
2023-04-16 15:54:47 +05:30
Daman
efb0563094
proxy/conntrack: moved pkg/util/conntrack -> pkg/proxy/conntrack
2023-04-16 15:52:52 +05:30
Kubernetes Prow Robot
403a8fdf1e
Merge pull request #117043 from mouuii/mouuii-dev-0401-clean
...
remove unnecessary check
2023-04-14 14:24:41 -07:00
mantuliu
3b7c14e8cf
Remove unnecessary int type conversion
2023-04-14 16:41:44 +08:00
mouuii
becf73a82b
add invaild scope test case
...
Signed-off-by: mouuii <49775493+mouuii@users.noreply.github.com >
2023-04-14 11:55:08 +08:00
Kubernetes Prow Robot
d060d487dc
Merge pull request #117278 from haoruan/cleanup/replace-spew-with-dump
...
replace spew methods with dump methods
2023-04-13 19:54:39 -07:00
Kubernetes Prow Robot
91fc9e0d11
Merge pull request #117307 from danwinship/kube-proxy-kubelet-skew
...
Clarify kubelet/kube-proxy iptables rule skew constraints
2023-04-13 17:24:45 -07:00
Kubernetes Prow Robot
4c6d6aa482
Merge pull request #116602 from mattcary/fuzz
...
Simplify statefulset fuzzer
2023-04-13 17:24:38 -07:00
Hao Ruan
c4e1b01416
replace spew methods with dump methods
2023-04-14 08:05:53 +08:00
Kubernetes Prow Robot
29c8fb678c
Merge pull request #117194 from sanposhiho/revert-preenqueue
...
Revert "Optimization on running prePreEnqueuePlugins before adding pods into activeQ"
2023-04-13 16:00:50 -07:00
Kubernetes Prow Robot
c9180e445c
Merge pull request #117025 from sanposhiho/warning-in-empty-selector
...
feature(pkg/api): warning for Pod with null labelSelector in PodAffinity and TopologySpread
2023-04-13 16:00:39 -07:00
Kubernetes Prow Robot
af99aa1a50
Merge pull request #117214 from HirazawaUi/add-preemptor-log
...
add log includes pod preemption details
2023-04-13 12:40:38 -07:00
Dan Winship
2bb35e08f4
Clarify kubelet/kube-proxy iptables rule skew constraints
2023-04-13 14:05:58 -04:00
HirazawaUi
ed0124855a
add log includes pod preemption details
2023-04-13 22:29:18 +08:00
Kubernetes Prow Robot
c3e3ff989a
Merge pull request #116896 from thockin/apimachinery_util_diff_cleanup
...
apimachinery util/diff cleanups
2023-04-13 02:26:37 -07:00
Paco Xu
c042837a76
truncate the precision at a millisecond for image pull event message
2023-04-13 15:56:16 +08:00
Kubernetes Prow Robot
5550bd5eac
Merge pull request #117249 from tnqn/fix-data-race
...
Fix a data race in TopologyCache
2023-04-12 16:28:30 -07:00
Kubernetes Prow Robot
caad9d5630
Merge pull request #116593 from danwinship/proxy-unused-cleanup
...
remove some dead code in cmd/kube-proxy
2023-04-12 14:54:44 -07:00
Kubernetes Prow Robot
9082903f94
Merge pull request #117245 from tnqn/fix-topology-hint
...
Fix TopologyAwareHint not working when zone label is added after Node creation
2023-04-12 13:24:44 -07:00
Aldo Culquicondor
b23ab389b4
Add SIG ownership to controller/nodelifecycle
...
Change-Id: I31a329d9ca08bdf12a428cae44a5f061afa01e73
2023-04-12 15:42:06 -04:00
Quan Tian
d567d61aa5
Fix a data race in TopologyCache
...
The member variable `cpuRatiosByZone` should be accessed with the lock
acquired as it could be be updated by `SetNodes` concurrently.
Signed-off-by: Quan Tian <qtian@vmware.com >
Co-authored-by: Antonio Ojea <aojea@google.com >
2023-04-13 02:03:16 +08:00
Quan Tian
a62563f130
Fix TopologyAwareHint not working when zone label is added after Node creation
...
The topology.kubernetes.io/zone label may be added by could provider
asynchronously after the Node is created. The previous code didn't
update the topology cache after receiving the Node update event, causing
TopologyAwareHint to not work until kube-controller-manager restarts or
other Node events trigger the update.
Signed-off-by: Quan Tian <qtian@vmware.com >
2023-04-13 01:47:55 +08:00
Tim Hockin
bc302fa414
Replace uses of ObjectReflectDiff with cmp.Diff
...
ObjectReflectDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:48:03 -07:00
Tim Hockin
9627c50ef3
Replace uses of ObjectGoPrintDiff with cmp.Diff
...
ObjectGoPrintDiff is already a shim over cmp.Diff, so no actual output
or behavior changes
2023-04-12 08:46:16 -07:00
Tim Hockin
29c0b73d64
Replace uses of diff.ObjectDiff with cmp.Diff
...
ObjectDiff is already a shim over cmp.Diff, so no actual output or
behavior changes
2023-04-12 08:46:12 -07:00
Tim Hockin
dd7af241c1
Replace diff.ObjectDiff with cmp.Equal
...
More obvious and cheaper, and ObjectDiff is already written in terms of
cmp.
2023-04-12 08:45:32 -07:00
Tim Hockin
97bab44cae
Replace apimachinery diff.StringDiff with cmp
...
I forced failures of most of these tests and verified readability
2023-04-12 08:45:31 -07:00
Andrea Tosatto
d09842e0ad
node-lifecycle-controller: improve monitorNodeHealth test-coverage ( #116687 )
...
* node-lifecycle-controller: refactor monitorNodeHealth tests to improve test-coverage
* address PR review comments
* dedupe test logic
2023-04-12 07:02:33 -07:00
Dan Winship
be101a748d
Remove some unused winkernel arguments/fields/functions
...
The winkernel proxy was originally created by copying+pasting from the
iptables code, but some iptables-specific things were never removed
(and one function got left behind after its functionality was moved
into the shared proxy code).
2023-04-12 09:41:38 -04:00
Dan Winship
8a790ac2e1
Remove unused ProxyServer.EventClient field
...
The port to Events v1 left some cruft behind.
2023-04-12 09:41:38 -04:00
Dan Winship
9754386c76
Remove write-only ProxyServer fields
2023-04-12 09:41:37 -04:00