Wojciech Tyczyński
11b679c66a
Fix event broadcaster shutdown in multiple controllers
2022-05-17 22:14:19 +02:00
FillZpp
85e3194cf6
Fix maxUnavailable of StatefulSet should not less than 1
...
Signed-off-by: FillZpp <FillZpp.pub@gmail.com >
2022-05-16 16:58:19 +08:00
terloo
8d09083101
Unified v1/event NewREST function with other
2022-05-15 12:44:59 +08:00
Kubernetes Prow Robot
3441850891
Merge pull request #109987 from gnufied/fix-ephemeral-volume-expansion
...
Fix resizing of ephemeral volumes
2022-05-13 14:24:06 -07:00
Kubernetes Prow Robot
f7857f0846
Merge pull request #109830 from AllenZMC/fix_test
...
fix defer in loop, maybe resource leak
2022-05-13 08:51:49 -07:00
Takashi Kusumi
187af7781a
Fix cluster IP allocator metrics
2022-05-13 22:33:30 +09:00
Kubernetes Prow Robot
1be1ec4aa3
Merge pull request #109970 from stevekuznetsov/skuznets/isolate-versioner
...
storage: move the APIObjectVersioner definition to storage
2022-05-12 12:32:44 -07:00
Kubernetes Prow Robot
3688442c75
Merge pull request #108115 from haircommander/cadvisor-pod-stats
...
kubelet/stats: update cadvisor stats provider with new log location
2022-05-12 08:09:13 -07:00
Kubernetes Prow Robot
7e083ba2a0
Merge pull request #109968 from kerthcet/feature/optimize-apifield-comment
...
cleanup: modify the comments of NodeInclusionPolicy
2022-05-12 06:31:14 -07:00
cyclinder
6150737d11
remove feature gate GA for 1.25
...
Signed-off-by: cyclinder qifeng.guo@daocloud.io
2022-05-12 14:15:23 +08:00
Kubernetes Prow Robot
8aaea8e24c
Merge pull request #107787 from Jiawei0227/volumelimit
...
CSI migration doesn't count inline volumes for attach limit
2022-05-11 23:09:13 -07:00
Kubernetes Prow Robot
414990751e
Merge pull request #109519 from kerthcet/refactor/remove-unnecessary-code
...
cleanup: remove useless codes when checking Skip status
2022-05-11 13:27:02 -07:00
Hemant Kumar
4bf500eb92
Add test for checking ephemeral volume expansion
2022-05-11 16:18:10 -04:00
Hemant Kumar
a5c961f4a8
Fix resizing of ephemeral volumes
2022-05-11 15:06:42 -04:00
Kubernetes Prow Robot
b91c5263f5
Merge pull request #109947 from alculquicondor/fix-job-orphan-pod-ut
...
Wait for cache to sync in job's TestWatchOrphanPods
2022-05-11 10:47:13 -07:00
Kubernetes Prow Robot
3bcbf3de11
Merge pull request #108884 from kerthcet/feature/implement-nodeInclusionPolicy
...
feat: implement node inclusion policy in scheduler
2022-05-11 08:47:02 -07:00
Steve Kuznetsov
3939f3003e
storage: move the APIObjectVersioner definition to storage
...
The means by which we extract and parse the version of an API object is
not specific to etcd3. In order to allow for a generic suite of tests
against any storage.Interface imlpementation, we need this logic to live
outside of the etcd3 package, or import cycles will exist.
Signed-off-by: Steve Kuznetsov <skuznets@redhat.com >
2022-05-11 08:19:32 -07:00
Kubernetes Prow Robot
c50579afb1
Merge pull request #109873 from wojtek-t/migrate_repair_to_new_events
...
Migrate ipallocator and portallocator to new Events API
2022-05-11 05:01:14 -07:00
kerthcet
41e46a1bb4
cleanup: remove unnecessary codes
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-05-11 16:07:12 +08:00
Kubernetes Prow Robot
b74d023e70
Merge pull request #109694 from RyanAoh/fix-108837
...
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 21:28:50 -07:00
kerthcet
790d983867
feat: implement NodeInclusionPolicy in TopologySpreadConstraint
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-05-11 07:51:18 +08:00
kerthcet
5e3df9a155
amend comment of NodeInclusionPolicy
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-05-11 07:48:46 +08:00
Aldo Culquicondor
a5f5eab5fd
Wait for cache to sync in job's TestWatchOrphanPods
...
Otherwise the event handler might not be called.
Change-Id: I23c93c2251b411430a0f2469686db6355d84af2f
2022-05-10 14:18:21 -04:00
Kubernetes Prow Robot
cc66198570
Merge pull request #108492 from kerthcet/feature/add-NodeInclustionPolicies
...
Add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
2022-05-10 08:41:43 -07:00
Takashi Kusumi
15fac8ab96
Fix ServiceIPStaticSubrange assigns duplicate IP addresses
2022-05-10 17:56:31 +09:00
Jiawei Wang
9d01f0bf52
Count inline volume for NodeVolumeLimit when CSI migration enabled
...
Previsouly, when kube-scheduler schedule a pod, it does
not take inline intree volume into account when CSI
migration is enabled. This could lead to failures where
pod scheduled to a node but volume attachment fails.
2022-05-10 07:43:28 +00:00
kerthcet
02f0a3ee91
feat: add NodeInclusionPolicy to TopologySpreadConstraint in PodSpec
...
Signed-off-by: kerthcet <kerthcet@gmail.com >
2022-05-10 12:54:49 +08:00
Aohan Yang
774df1b0af
Be sure to update the status of StatefulSet even if the new replica creation fails
2022-05-10 10:25:26 +08:00
Kubernetes Prow Robot
685b55e88b
Merge pull request #109843 from BenTheElder/sigh
...
correct coverage MainStart argument order
2022-05-09 13:42:33 -07:00
Kubernetes Prow Robot
b53be1d66e
Merge pull request #109879 from zzr93/master
...
wake up only when pod being added to activeQ
2022-05-09 09:09:18 -07:00
Dan Winship
24e1e3d9ee
proxy/iptables: port packet-flow tests to use new parsing stuff
2022-05-09 11:29:08 -04:00
Dan Winship
913f4bc0ba
pkg/util/iptables/testing: Fix FakeIPTables
...
FakeIPTables barely implemented any of the iptables interface, and the
main part that it did implement, it implemented incorrectly. Fix it:
- Implement EnsureChain, DeleteChain, EnsureRule, and DeleteRule, not
just SaveInto/Restore/RestoreAll.
- Restore/RestoreAll now correctly merge the provided state with the
existing state, rather than simply overwriting it.
- SaveInto now returns the table that was requested, rather than just
echoing back the Restore/RestoreAll.
2022-05-09 11:29:08 -04:00
Dan Winship
10a72a9e03
pkg/util/iptables/testing: Add IPTables dump-parsing helpers
2022-05-09 11:29:06 -04:00
Dan Winship
f0f47ae590
proxy/iptables: tweak sortIPTablesRules some more
...
Sort the ":CHAINNAME" lines in the same order as the "-A CHAINNAME"
lines (meaning, KUBE-NODEPORTS and KUBE-SERVICES come first).
(This will simplify IPTablesDump because it won't need to keep track
of the declaration order and the rule order separately.)
2022-05-09 11:19:28 -04:00
Dan Winship
f2fa1033d0
pkg/util/iptables/testing: Add better IPTables rule-parsing helpers
...
There were previously some strange iptables-rule-parsing functions
that were only used by two unit tests in pkg/proxy/ipvs. Get rid of
them and replace them with some much better iptables-rule-parsing
functions.
2022-05-09 11:19:26 -04:00
Kubernetes Prow Robot
d9780798ba
Merge pull request #109849 from pacoxu/fix-data-race
...
fix data race in device manager plugin hander
2022-05-09 06:33:20 -07:00
Wojciech Tyczyński
f1d901861b
Migrate ipallocator and portallocator to new Events API
2022-05-09 09:37:47 +02:00
zzr93
923a99db95
unify wake up variable names to activated
2022-05-08 12:09:13 +08:00
Kubernetes Prow Robot
7af5a7bfc5
Merge pull request #109602 from lavalamp/remove-clustername
...
Finish clustername removal
2022-05-07 08:01:16 -07:00
Kubernetes Prow Robot
c8b3b293c0
Merge pull request #109756 from kidddddddddddddddddddddd/FilterOutPods_O_len
...
remove pkg/scheduler/framework/FilterOutPods since it's not used anymore
2022-05-07 04:41:17 -07:00
Kubernetes Prow Robot
fcffb6de7e
Merge pull request #108089 from mysunshine92/nodeController-20220212
...
fix typo for nodelifecycle controller
2022-05-07 03:33:18 -07:00
Kubernetes Prow Robot
9d0bb09fae
Merge pull request #109845 from danwinship/proxy-chain-variables
...
unexport mistakenly-exported kube-proxy constants
2022-05-06 21:15:28 -07:00
Kubernetes Prow Robot
c8cdf08191
Merge pull request #109684 from yibozhuang/test-cleanup
...
cleanup: move scheduler unit tests to use PodWrapper
2022-05-06 21:15:16 -07:00
kidddddddddddddddddddddd
a42f06263f
remove FilterOutPods
2022-05-07 11:28:24 +08:00
zzr93
94ed4d0761
wake up only when pod being added to activeQ
2022-05-07 11:23:06 +08:00
Paco Xu
0ec7e38ef0
fix data race in device manager plugin hander
2022-05-07 11:18:23 +08:00
Kubernetes Prow Robot
af4dceeac2
Merge pull request #109308 from danwinship/traffic-policy-docs
...
Clarify ExternalTrafficPolicy/InternalTrafficPolicy definitions
2022-05-06 17:23:16 -07:00
Kubernetes Prow Robot
03a46ac94b
Merge pull request #108727 from sanposhiho/fix-bug-clone
...
Copy recordPluginMetrics in CycleState.Clone
2022-05-06 09:07:05 -07:00
Kubernetes Prow Robot
8ca76bad17
Merge pull request #108420 from humblec/secretRef-introduction
...
csi: modularize validation of secretRef object fields for PV
2022-05-06 07:57:04 -07:00
Kubernetes Prow Robot
7e77252b0d
Merge pull request #109854 from wojtek-t/shutdown_allocators
...
Clean storage shutdown for allocators
2022-05-06 06:21:16 -07:00