Commit Graph

43988 Commits

Author SHA1 Message Date
Tim Hockin
e927ce85b6 service REST: Call Decorator(old) on update path
This is causing a bug when upgrading from older releases to 1.23 because
of Service's maybe-too-clever default-on-read logic.

Service depends on `Decorator()` to be called upon read, to
back-populate old saved objects which do not have `.clusterIPs[]` set.
This works on read, but the cache saves the pre-decorated type (as it is
documented)

In 1.23, this code was refactored and it seems some edge-case handling
was inadvertently removed (I have not confirmed exactly what happened).

Test by aojea
2022-01-30 11:25:17 -08:00
bryfry
038ad9b3a5 correct references to service-account-signing-key-file flag 2022-01-30 04:24:25 +00:00
Kubernetes Prow Robot
a5d28a638f Merge pull request #107816 from DuC-cnZj/master
fix flushBackoffQCompleted: remove defer
2022-01-28 10:16:31 -08:00
Kubernetes Prow Robot
f49a15ae50 Merge pull request #107831 from liggitt/key-pod-by-uid
Include pod UID in secret/configmap cache key
2022-01-28 00:16:30 -08:00
Jordan Liggitt
1d27942efc Include pod UID in secret/configmap cache key 2022-01-27 22:21:52 -05:00
Kubernetes Prow Robot
0fe90ac48b Merge pull request #107729 from tkashem/apf-pl-first
apf: create suggested pl before flowschema
2022-01-27 17:58:30 -08:00
Kubernetes Prow Robot
4dba52cdf4 Merge pull request #107821 from liggitt/kubelet-secret-manager
Move kubelet secret and configmap manager calls to sync_Pod functions
2022-01-27 08:26:58 -08:00
Jordan Liggitt
085693eff2 Move kubelet secret and configmap manager calls to sync_Pod functions 2022-01-27 10:09:13 -05:00
Kubernetes Prow Robot
f90267f062 Merge pull request #106840 from Nordix/multi-numa
ReservedMemory Configuration for NUMA
2022-01-27 06:46:25 -08:00
duc
040f8a4cf0 a flag to indicate whether or not to broadcast
change the returns above to breaks, add a flag to indicate whether or not to broadcast.
2022-01-27 21:52:30 +08:00
jlsong01
d281e25426 Optimize cronjob controller status updates 2022-01-27 17:09:47 +08:00
duc
c3bfb568f9 fix flushBackoffQCompleted: remove defer
'defer' is called in the 'for' loop, remove it
2022-01-27 17:08:12 +08:00
Antonio Ojea
1c5d8cfdf7 fix flake test for ipvs graceful termination 2022-01-27 09:55:44 +01:00
Kubernetes Prow Robot
876d4e0ab0 Merge pull request #107659 from jlsong01/readability_ut_cj_controller
readability enhancement for cj controller unit test
2022-01-26 21:12:49 -08:00
Kubernetes Prow Robot
8712a903cb Merge pull request #107608 from marseel/fake_prober_in_kubemark
Use FakeProber in kubemark clusters
2022-01-26 19:42:49 -08:00
Jyoti Mahapatra
0e0abd602f parse ipv6 address before comparison (#107736)
* parse ipv6 address before comparison

Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>

* use parse sloppy

Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>

* use parse sloppy

Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>

* use node address from cloudprovider as is

Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>
2022-01-26 18:38:49 -08:00
Kubernetes Prow Robot
be38633742 Merge pull request #107789 from gnufied/mark-device-uncertain-inuse
Mark device as uncertain if unmount device succeeds
2022-01-26 08:28:03 -08:00
Kubernetes Prow Robot
e6cbcaea15 Merge pull request #107748 from cyclinder/fix_concurrent_map
kube-proxy ipvs: fix to prevent concurrent map read and map write
2022-01-26 05:10:01 -08:00
Hemant Kumar
ff765210d5 Mark device as uncertain if unmount device succeeds
If unmount device succeeds but somehow unmount operation
fails because device was in-use elsewhere, we should mark the
device mount as uncertain because we can't use the global
mount point at this point.
2022-01-26 07:49:49 -05:00
Marcel Zięba
b4b4b8fd6d Use FakeProber in kubemark clusters 2022-01-26 09:29:04 +00:00
Kubernetes Prow Robot
38e9a29620 Merge pull request #106932 from SergeyKanzhelev/removeDynamicKubeletConfig
Remove dynamic kubelet config
2022-01-25 19:20:25 -08:00
cyclinder
50045b96bc kube-proxy ipvs: fix to prevent concurrent map read and map write
Signed-off-by: cyclinder <qifeng.guo@daocloud.io>
2022-01-26 11:12:56 +08:00
Ryan Phillips
25f95f2bde kubelet: fix podstatus not containing pod full name 2022-01-25 13:21:04 -06:00
Monokaix
96702a89b2 replace filepath.Walk with filepath.WalkDir in doCleanSubPaths 2022-01-25 09:56:32 +08:00
Abu Kashem
95b4ac4dbd apf: create suggested pl before flowschema 2022-01-24 10:24:30 -05:00
calvin
d9ab5e18d3 fix: data race when hijack klog
Signed-off-by: calvin <wen.chen@daocloud.io>
2022-01-24 15:01:49 +08:00
Wei Huang
939e98135c sched: fix goroutine leak in unit tests 2022-01-22 22:53:11 -08:00
yujunwang
8f96600907 perf:logic-optimiz-for-DetermineVolumeAction 2022-01-22 23:45:29 +08:00
Andrew Sy Kim
8fe2ad89cb update godoc for ServiceLBNodePortControl feature gate
Signed-off-by: Andrew Sy Kim <andrewsy@google.com>
2022-01-21 15:36:03 -05:00
Kubernetes Prow Robot
0c8074e1b1 Merge pull request #107445 from mengjiao-liu/goroutine_leak_TestSelectorSpreadScore
Fix goroutine leaks in package `selectorspread`
2022-01-21 11:23:21 -08:00
Kubernetes Prow Robot
c175418281 Merge pull request #107065 from saikat-royc/fix-node-stage-path
change node staging path for csi driver to PV agnostic
2022-01-21 01:31:58 -08:00
Kubernetes Prow Robot
d90342e500 Merge pull request #107664 from yanghesong/dockershim_remove_comments
Remove dockershim comments in kubelet
2022-01-20 16:51:59 -08:00
Saikat Roychowdhury
80e0501e89 change staging path for csi driver to pv agnostic 2022-01-20 22:59:29 +00:00
jlsong01
79d921e040 readability enhancement for cj controller unit test 2022-01-20 23:10:10 +08:00
Davanum Srinivas
35864ac0de Add labels when there sig aliases used in approvers/reviewers
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2022-01-20 10:02:07 -05:00
Antonio Ojea
51b84245ae dual-stack feature gate ga 2022-01-20 10:16:37 +01:00
Kubernetes Prow Robot
46c5edbc58 Merge pull request #107106 from tkashem/apf-comment
apf: clarify with comment
2022-01-20 01:13:51 -08:00
yanghesong
4cab028a92 Remove dockershim comments in kubelet
Signed-off-by: yanghesong <hesong.yang@foxmail.com>
2022-01-20 16:15:29 +08:00
Kubernetes Prow Robot
184daed0db Merge pull request #107559 from liggitt/invalid-selectors
Handle invalid selectors properly
2022-01-19 14:49:31 -08:00
Abu Kashem
df41fe5d84 apf: clarify with comment 2022-01-19 17:38:31 -05:00
Sergey Kanzhelev
7e7bc6d53b remove DynamicKubeletConfig logic from kubelet 2022-01-19 22:38:04 +00:00
Kubernetes Prow Robot
9d41c13348 Merge pull request #107443 from mattcary/no-watch
Turn off informer for statefulset unit tests
2022-01-19 01:28:18 -08:00
Ciprian Hacman
21809043b5 Remove deprecated flag --non-masquerade-cidr in kubelet
Signed-off-by: Ciprian Hacman <ciprian@hakman.dev>
2022-01-19 09:17:26 +02:00
Kubernetes Prow Robot
d3ce412220 Merge pull request #104120 from bart0sh/PR0098-remove-HugePageStorageMediumSize-feature
remove GAed HugePageStorageMediumSize feature gate
2022-01-18 13:41:03 -08:00
Kubernetes Prow Robot
feb758027c Merge pull request #106907 from cyclinder/remove_dockershim_flags
Clean up dockershim flags in the kubelet
2022-01-18 09:09:09 -08:00
Kubernetes Prow Robot
24b0c3ce13 Merge pull request #107603 from jayesh-srivastava/IANA-links
Updated Links to IANA for Service Name and Transport Protocol Port Number Registry
2022-01-18 07:11:21 -08:00
Kubernetes Prow Robot
874ce66d19 Merge pull request #107279 from NikhilSharmaWe/pathCheck
added devicePath check for fcDisk
2022-01-18 03:05:08 -08:00
Eric Lin
fea15977c8 Consider threads-max when deciding MaxPID.
Fixes kubernetes#107111
2022-01-17 21:51:59 +00:00
Antonio Ojea
a20b2088ac set secondary address on host-network pods
host-network pods IPs are obtained from the reported kubelet nodeIPs.

Historically, host-network podIPs are immutable once set, but when
we've added dual-stack support, we didn't consider that the secondary
IP address may not be present at the same time that the primary nodeIP.

If a secondary IP address is added to a node after the host-network pods
IPs are set, we can add the secondary host-network pod IP address
maintaining the current behavior of not updating the current podIPs on
host-network pods.
2022-01-17 18:05:42 +01:00
Ed Bartosh
0447c48aff remove GAed HugePageStorageMediumSize feature gate 2022-01-17 15:19:27 +02:00