Commit Graph

44631 Commits

Author SHA1 Message Date
Sebastian Sterk
bf4e43b736 simple grammar fix 2022-02-01 23:59:39 +01:00
Kubernetes Prow Robot
954fa57f0e Merge pull request #107470 from jlsong01/optimize_cj_status_update
Optimize cronjob controller status updates
2022-02-01 00:14:18 -08:00
Jyoti Mahapatra
a1b52fb17a extend sa token if audience is apiserver (#105954)
Signed-off-by: Jyoti Mahapatra <jyotima@amazon.com>
2022-01-31 16:01:52 -08:00
Fabio Bertinatto
eb2adaa32f Fix panic in Kubelet
Currently, the Kubelet panics when it's started with the
`enable-controller-attach-detach=false` option set and a
volume is attached to a node.

This patch adds a check that prevents the Kubelet from trying to attach
or detach CSI volumes and report a proper error warning the user that this
use case is not supported.
2022-01-31 17:29:25 -03:00
Kubernetes Prow Robot
2fb24de42b Merge pull request #107775 from denkensk/add-postfilter-info-to-event
Add details about preemption in the event for scheduling failed
2022-01-31 09:38:23 -08:00
Alex Wang
52275fc831 add preemption info in scheduling failed event 2022-02-01 00:37:16 +08:00
Kubernetes Prow Robot
0038bcfad4 Merge pull request #107863 from bryfry/master
apiserver: correct references to service-account-signing-key-file flag
2022-01-30 23:04:23 -08:00
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
Clayton Coleman
b638bd8b03 kubelet: If the container status is created, we are waiting
If CRI returns a container that has been created but is not running,
it is not safe to assume it is terminal, as our connection to CRI
may have failed. Instead, created is treated as waiting, as in
"waiting for this container to start". Either syncPod or
syncTerminatingPod is responsible for handling this state.
2022-01-28 18:32:15 -05: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
Paco Xu
df81521d88 remove unused parameter: intercceptRedirects & RequireSameHostRedirects 2022-01-28 10:31:51 +08: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
00255991
cc2b2cda18 Migrate statefulset pkg files to structured logging 2022-01-26 10:47:24 +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
fengzixu
9808ae48a0 change the volume health status metrics name 2022-01-23 02:44:10 +00: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
andyzhangx
a550fb50e1 set AzureDisk CSI migration on GA 2022-01-21 02:45:05 +00: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