Kubernetes Prow Robot
1ea6eb2d1d
Merge pull request #110954 from kerthcet/fix/deadline-should-be-nil
...
Fix pod's deadline to nil when cache ttl is set to zero
2022-07-06 07:28:51 -07:00
Kubernetes Prow Robot
bd2776e0c9
Merge pull request #110868 from rikatz/endport-to-ga
...
Promote endPort in Network Policy to GA
2022-07-05 19:48:49 -07:00
Kubernetes Prow Robot
efa26e5daf
Merge pull request #110876 from zhoumingcheng/master-unit-v6
...
add unit test coverage for pkg/util/slice
2022-07-05 15:59:20 -07:00
Kubernetes Prow Robot
850a5ffda6
Merge pull request #110901 from ping035627/k8s-220701
...
Add failure handling of the desiredStateOfWorldPopulator start
2022-07-05 11:27:31 -07:00
Kubernetes Prow Robot
a17215fe84
Merge pull request #110768 from kerthcet/fix/filter-out-unsatisfied-nodes-in-AddPod
...
Filter out unsatisfied nodes when calling AddPod in PodTopologySpread
2022-07-05 10:15:19 -07:00
kerthcet
72e8fc1d87
Fix: pod's deadline shoud be nil when cache ttl is 0
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-07-05 23:29:31 +08:00
SataQiu
e74af4bdfa
scheduler: remove unused Equal function for HTTPExtender
2022-07-05 13:17:05 +08:00
Kapil Jain
4706dda5da
Added code for disable scheduler cache expiry
2022-07-04 23:46:59 +05:30
Kubernetes Prow Robot
89aaf7c02d
Merge pull request #110862 from Abirdcfly/deleteutil
...
cleanup: delete same utils.go in pkg/apis/storage
2022-07-01 18:23:22 -07:00
Kubernetes Prow Robot
20a7253a0e
Merge pull request #109853 from ping035627/k8s-220506
...
Cleanup FindPluginBySpec() in VolumePluginMgr
2022-07-01 07:29:22 -07:00
PingWang
c6b4725e55
Add failure handling of the desiredStateOfWorldPopulator start
...
Signed-off-by: PingWang <wang.ping5@zte.com.cn >
2022-07-01 13:56:33 +08:00
kerthcet
5a358f478b
Fix: filter out unsatisfied nodes when calling AddPod in PodTopologySpread
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-07-01 11:46:26 +08:00
Yuan Chen
ef0456eb40
Refactor scheduler code
2022-06-30 11:27:25 -07:00
zhoumingcheng
509c487fe8
add unit test coverage for pkg/util/slice
...
Signed-off-by: zhoumingcheng <zhoumingcheng@beyondcent.com >
2022-06-30 15:21:37 +08:00
Ricardo Katz
5351f6c90a
Generated files for endPort promotion
2022-06-30 00:33:43 +00:00
Ricardo Katz
3e7bdbbf30
Promote endPort to GA
2022-06-30 00:33:43 +00:00
Kubernetes Prow Robot
f045fb688f
Merge pull request #110334 from danwinship/iptables-fewer-saves
...
only clean up iptables chains periodically in large clusters
2022-06-29 09:48:06 -07:00
Dan Winship
7d3ba837f5
proxy/iptables: only clean up chains periodically in large clusters
...
"iptables-save" takes several seconds to run on machines with lots of
iptables rules, and we only use its result to figure out which chains
are no longer referenced by any rules. While it makes things less
confusing if we delete unused chains immediately, it's not actually
_necessary_ since they never get called during packet processing. So
in large clusters, make it so we only clean up chains periodically
rather than on every sync.
2022-06-29 11:14:38 -04:00
Dan Winship
1cd461bd24
proxy/iptables: abstract the "endpointChainsNumberThreshold" a bit
...
Turn this into a generic "large cluster mode" that determines whether
we optimize for performance or debuggability.
2022-06-29 11:14:38 -04:00
Dan Winship
c12da17838
proxy/iptables: Add a unit test with multiple resyncs
2022-06-29 11:14:38 -04:00
Kubernetes Prow Robot
0d9ed2c3e7
Merge pull request #110328 from danwinship/iptables-counters
...
Stop trying to "preserve" iptables counters that are always 0
2022-06-29 08:06:06 -07:00
Abirdcfly
1dbd9de96d
cleanup:delete same utils.go in pkg/apis/storage
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-06-29 20:54:34 +08:00
sunzhaochang
e833c64ef0
Fix missing of Lock in SeenAllSources
2022-06-29 11:54:22 +08:00
Kubernetes Prow Robot
7f920da442
Merge pull request #110827 from Abirdcfly/simple2
...
cleanup:use append other than for loop
2022-06-28 19:58:15 -07:00
Kubernetes Prow Robot
50b982edab
Merge pull request #109227 from Monokaix/refactor-pleg/getContainersFromPods
...
refactor: pleg/getContainersFromPods
2022-06-28 10:17:58 -07:00
Kubernetes Prow Robot
8f755aad55
Merge pull request #110745 from AllenZMC/improve_printers
...
Check for errors ahead of time
2022-06-28 08:03:58 -07:00
Dan Winship
7c27cf0b9b
Simplify iptables-save parsing
...
We don't need to parse out the counter values from the iptables-save
output (since they are always 0 for the chains we care about). Just
parse the chain names themselves.
Also, all of the callers of GetChainLines() pass it input that
contains only a single table, so just assume that, rather than
carefully parsing only a single table's worth of the input.
2022-06-28 08:39:32 -04:00
Dan Winship
4988699c2f
Use dedent to fix GetChainLines() tests
...
The test was calling GetChainLines() on invalid pseudo-iptables-save
output where most of the lines were indented. GetChainLines() happened
to still parse this "correctly", but it would be better to be testing
it on actually-correct data.
2022-06-28 08:39:32 -04:00
Dan Winship
a3556edba1
Stop trying to "preserve" iptables counters that are always 0
...
The iptables and ipvs proxies have code to try to preserve certain
iptables counters when modifying chains via iptables-restore, but the
counters in question only actually exist for the built-in chains (eg
INPUT, FORWARD, PREROUTING, etc), which we never modify via
iptables-restore (and in fact, *can't* safely modify via
iptables-restore), so we are really just doing a lot of unnecessary
work to copy the constant string "[0:0]" over from iptables-save
output to iptables-restore input. So stop doing that.
Also fix a confused error message when iptables-save fails.
2022-06-28 08:39:32 -04:00
Kubernetes Prow Robot
6269784cd0
Merge pull request #109250 from d-honeybadger/fix-cronjob-scheduling-every-syntax
...
Fix requeueing of cronjobs with every-style schedule
2022-06-28 04:37:57 -07:00
Abirdcfly
8e9a896483
cleanup:use append other than for loop
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-06-28 16:31:59 +08:00
Kubernetes Prow Robot
10bea49c12
Merge pull request #110140 from marosset/hpc-sandbox-config-fixes
...
Fixing issue in generatePodSandboxWindowsConfig for hostProcess containers
2022-06-27 20:21:57 -07:00
Kubernetes Prow Robot
7c8721ae29
Merge pull request #110711 from 249043822/br-evictionlog
...
fix evictionManager debugLog wrong
2022-06-27 19:16:25 -07:00
Kubernetes Prow Robot
b19d50d68e
Merge pull request #110075 from luckerby/104584-retry-dial-on-socket-windows-base
...
Retry Unix domain sockets on Windows nodes for the plugin registration mechanism
2022-06-27 19:16:16 -07:00
Kubernetes Prow Robot
0f3bf88a91
Merge pull request #108682 from chymy/nilpointer
...
Method call 'err.Error()' might lead to a nil pointer dereference for pkg/kubelet/cm/cpumanager/cpu_assignment_test.go
2022-06-27 19:15:56 -07:00
Kubernetes Prow Robot
123713b496
Merge pull request #110504 from pohly/kubelet-shutdown-test
...
kubelet: convert node shutdown manager to contextual logging
2022-06-27 18:10:15 -07:00
Kubernetes Prow Robot
832c4d8cb7
Merge pull request #110503 from aojea/iptables_rules
...
kube-proxy iptables test number of generated iptables rules
2022-06-27 18:10:08 -07:00
Kubernetes Prow Robot
92945a1a32
Merge pull request #109691 from zhangxyjlu/kubelet_testgetter
...
Add test case for getPodVolumeSubpathsDir
2022-06-27 18:09:57 -07:00
Kubernetes Prow Robot
10810ab42b
Merge pull request #110788 from 21kyu/change_reflect_ptr
...
Change reflect.Ptr to reflect.Pointer
2022-06-27 10:16:59 -07:00
Kubernetes Prow Robot
aefb71d7ef
Merge pull request #110721 from jsafrane/fix-force-detach
...
Don't force detach volume from healthy nodes
2022-06-27 07:49:12 -07:00
21kyu
df168d5b5c
Change reflect.Ptr to reflect.Pointer
2022-06-26 01:23:43 +09:00
Kubernetes Prow Robot
d2c5779dad
Merge pull request #110776 from harry1064/remove-clock-pkg-scheduler
...
Use clock package from k8s.io/utils/clock
2022-06-24 22:32:57 -07:00
Kubernetes Prow Robot
11686e1386
Merge pull request #110771 from alculquicondor/increase_timeout
...
Wait for cache sync in TestSyncPastDeadlineJobFinished
2022-06-24 13:28:59 -07:00
harry1064
fceb5cd4b1
Use clock package from k8s.io/utils/clock
...
- Remove unwanted clock.go file.
2022-06-25 00:25:12 +08:00
Kubernetes Prow Robot
42fec42586
Merge pull request #110756 from lokichoggio/proxy
...
fix comments in pkg/proxy/types.go
2022-06-24 07:03:10 -07:00
Kubernetes Prow Robot
4df3f2b9f0
Merge pull request #110411 from trierra/px-beta-125
...
promote the Portworx feature gate to Beta
2022-06-24 07:02:58 -07:00
Aldo Culquicondor
62a25920e6
Wait for cache sync in TestSyncPastDeadlineJobFinished
...
Change-Id: I6f023ca6999108f4f86a0f57831d47704cdbb42b
2022-06-24 09:22:59 -04:00
Jan Safranek
3b94ac228a
Don't force detach volume from healthy nodes
...
6 minute force-deatch timeout should be used only for nodes that are not
healthy.
In case a CSI driver is being upgraded or it's simply slow, NodeUnstage
can take more than 6 minutes. In that case, Pod is already deleted from the
API server and thus A/D controller will force-detach a mounted volume,
possibly corrupting the volume and breaking CSI - a CSI driver expects
NodeUnstage to succeed before Kubernetes can call ControllerUnpublish.
2022-06-24 12:51:41 +02:00
Kubernetes Prow Robot
7a9268d83a
Merge pull request #110719 from xakdwch/master
...
volume/fc: fix FibreChannel volume plugin matching wrong disks
2022-06-24 03:40:57 -07:00
Patrick Ohly
7f55a0bae0
kubelet: avoid manipulating global logger during unit test
...
The code as it stands now works, but it is still complicated and previous
versions had race
conditions (https://github.com/kubernetes/kubernetes/issues/108040 ). Now the
test works without modifying global state. The individual test cases could run
in parallel, this just isn't done because they complete quickly already (2
seconds).
2022-06-24 11:27:40 +02:00