galal-hussein
95ad165f75
Add the ability to add extra admission plugins
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-04-23 13:20:06 -03:00
galal-hussein
612a2274b9
Ignore nfacct init error in kube-proxy
...
Signed-off-by: galal-hussein <hussein.galal.ahmed.11@gmail.com >
2025-04-23 13:20:06 -03:00
Darren Shepherd
9e7ed196d8
Fix CSI initialization conflict
...
CSI is used by both the kubelet and kube-controller-manager. Both
components will initialize the csiPlugin with different VolumeHost
objects. The csiPlugin will then assign a global variable for
the node info manager. It is then possible that the kubelet gets
the credentials of the kube-controller-manager and that will cause
CSI to fail.
2025-04-23 13:20:06 -03:00
Erik Wilson
1d6158557c
Update kubernetes service on start for port changes
2025-04-23 13:20:06 -03:00
Darren Shepherd
4ac249cdc8
Add ability to disable proxy hostname check
2025-04-23 13:20:06 -03:00
Darren Shepherd
65014334a1
Set all sources so node+agent in the same process doesn't get restricted
2025-04-23 13:20:06 -03:00
Darren Shepherd
8e2b47c3d4
Don't check for cpuset cgroup, not always required?
2025-04-23 13:20:06 -03:00
Darren Shepherd
1cd6f9968c
Drop client-go cloud auth
2025-04-23 13:20:06 -03:00
carlory
3836d58744
fix handle terminating pvc when kubelet rebuild dsw
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-03-10 18:59:59 +08:00
Kubernetes Prow Robot
002366336a
Merge pull request #130509 from cici37/automated-cherry-pick-of-#130035-upstream-release-1.31
...
Automated cherry pick of #130035 : [KEP-5080]Ordered Namespace Deletion
2025-03-07 22:45:44 -08:00
Cici Huang
ae9dcc0a75
Update status before returning err
2025-03-06 11:00:19 -08:00
Cici Huang
f12dbc31a9
Add the feature gate OrderedNamespaceDeletion for apiserver.
2025-03-03 13:43:37 -08:00
Richa Banker
19ebee96b2
Add tests
2025-02-10 14:39:06 -08:00
Tim Allclair
4272f7016c
Kubelet server handler cleanup
2025-02-06 11:04:01 -08:00
Kubernetes Prow Robot
50c9c29e09
Merge pull request #129744 from pjsharath28/automated-cherry-pick-of-#128997-upstream-release-1.31
...
Automated cherry pick of #128997 : Replaced util.NewIOHandler() with fakeIOHandler to make UT pass on different host envs
2025-01-28 10:35:23 -08:00
Kubernetes Prow Robot
d7fc7e30cb
Merge pull request #129519 from kishen-v/automated-cherry-pick-of-#127422-upstream-release-1.31
...
Automated cherry pick of #127422 : Fix Go vet errors for master golang
2025-01-22 11:10:37 -08:00
Abhishek Kr Srivastav
8f8cca81af
Added check for multipath device mapper
...
Addressed review comments
2025-01-22 10:27:01 +05:30
Aravindh Puthiyaparambil
c94919d68b
kubelet: use env vars in node log query PS command
...
- Use environment variables to pass string arguments in the node log
query PS command
- Split getLoggingCmd into getLoggingCmdEnv and getLoggingCmdArgs
for better modularization
2025-01-13 14:46:05 -08:00
Kubernetes Prow Robot
6f456a1908
Merge pull request #129323 from ardaguclu/automated-cherry-pick-of-#129301-upstream-release-1.31
...
Automated cherry pick of #129301 : Do not attempt to truncate revision history if revisionHistoryLimit is negative
2025-01-09 03:36:32 -08:00
Kubernetes Prow Robot
c8317628c1
Merge pull request #129181 from RomanBednar/automated-cherry-pick-of-#128086-upstream-release-1.31
...
Automated cherry pick of #128086 : prevent unnecessary resolving of iscsi/fc devices to dm
2025-01-08 11:28:31 -08:00
Abhishek Kr Srivastav
9d10ddb060
Fix Go vet errors for master golang
...
Co-authored-by: Rajalakshmi-Girish <rajalakshmi.girish1@ibm.com >
Co-authored-by: Abhishek Kr Srivastav <Abhishek.kr.srivastav@ibm.com >
2025-01-08 15:11:34 +05:30
Arda Güçlü
b82572f6f6
Do not attempt to truncate revision history if revisionHistoryLimit is negative
2024-12-20 10:03:38 +03:00
Roman Bednar
b8265e7853
prevent unnecessary resolving of iscsi/fc devices to dm
2024-12-12 15:59:00 +01:00
carlory
04f5b20388
kubelet: Fix the volume manager did't check the device mount state in the actual state of the world before marking the volume as detached. It may cause a pod to be stuck in the Terminating state due to the above issue when it was deleted.
2024-12-03 09:47:51 +08:00
Adrian Moisey
ea299acf97
Ensure that a node's CIDR isn't released until the node is deleted
...
Fixes https://github.com/kubernetes/kubernetes/issues/127792
Fixes bug where a node's PodCIDR was released when the node was given a
delete time stamp, but was hanging around due to a finalizer.
2024-11-14 20:00:41 +02:00
Kubernetes Prow Robot
11d2b4d7ed
Merge pull request #128340 from googs1025/automated-cherry-pick-of-#127834-upstream-release-1.31
...
Automated cherry pick of #127834 : fix(leaderelection): nil check in OnStoppedLeading func
2024-11-12 10:18:46 +00:00
Kubernetes Prow Robot
f7d6fad111
Merge pull request #128431 from NoicFank/automated-cherry-pick-of-#128307-upstream-release-1.31
...
Automated cherry pick of #128307 : bugfix(scheduler): preemption picks wrong victim node with higher priority pod on it
2024-11-12 09:13:07 +00:00
Kubernetes Prow Robot
dd898b82d0
Merge pull request #127584 from AxeZhan/automated-cherry-pick-of-#125398-upstream-release-1.31
...
Automated cherry pick of #125398 : [scheduler] When the hostname and nodename of a node do not match, ensure that pods carrying PVs with nodeAffinity are scheduled correctly.
2024-11-12 09:12:53 +00:00
NoicFank
2d540ade5f
bugfix(scheduler): preemption picks wrong victim node with higher priority pod on it.
...
Introducing pdb to preemption had disrupted the orderliness of pods in the victims,
which would leads picking wrong victim node with higher priority pod on it.
2024-10-30 15:36:30 +08:00
googs1025
c94baacfff
fix(leaderelection): nil check in OnStoppedLeading func
2024-10-26 00:12:37 +08:00
Dan Winship
b84713348c
Fix deleted UDP endpoint detection
2024-10-02 07:08:21 -04:00
AxeZhan
d8d31947dc
tests for nodes with different nodeName and name
2024-09-24 06:41:05 +00:00
AxeZhan
fdca80f8dc
manually revert #109877
2024-09-24 06:41:05 +00:00
Yang Yang
dad9c77a74
bugfix: endpoints controller track resource version conrrectly
...
The endpoints controller store the resource version of the previous
Endpoints objects to avoid issues related to stale information on the
cache.
However, there can be update operations that succeed without increasing
the resource version, causing the endpoints controller to declare stale
the existing Resource Version and stopping the Endpoints to be updated.
Co-Author-By: Quan Tian <quan.tian@broadcom.com >
Co-Author-By: Yang Yang <yyyng@amazon.com >
2024-09-18 17:05:05 +00:00
Kubernetes Prow Robot
a8a78f0da6
Merge pull request #127212 from SergeyKanzhelev/automated-cherry-pick-of-#126543-upstream-release-1.31
...
Automated cherry pick of #126543 : Restart the init container to not be stuck in created state
2024-09-09 23:15:07 +01:00
Kubernetes Prow Robot
939edc7c6b
Merge pull request #127207 from SergeyKanzhelev/automated-cherry-pick-of-#126343-upstream-release-1.31
...
Automated cherry pick of #126343 : Terminated pod should not be re-admitted
2024-09-09 22:05:54 +01:00
Gunju Kim
fc5d752394
Restart the init container to not be stuck in created state
...
The main sync loop should have created and started the container in one
step. If the init container is in the 'created' state, it's likely that
the container runtime failed to start it. To prevent the container from
getting stuck in the 'created' state, restart it.
2024-09-06 20:00:48 +00:00
Sergey Kanzhelev
8a28b17c3a
succeeded pod is being re-admitted
2024-09-06 18:27:57 +00:00
Gunju Kim
8469207728
Avoid SidecarContainers code path for non-sidecar pods
...
This fixes a regression in the SidecarContainers feature by minimizing
the impact of the new code path. Use the old code path for pods without
restartable init containers, and apply the new code path only to pods
with restartable init containers.
2024-09-06 16:37:09 +00:00
James Sturtevant
2454d8d4c3
Revert "fix: handle socket file detection on Windows"
...
This reverts commit 4060ee60c1 .
2024-09-03 17:40:06 +00:00
Kubernetes Prow Robot
6572754297
Merge pull request #126687 from wedaly/automated-cherry-pick-of-#126532-upstream-release-1.31
...
Automated cherry pick of #126532 : kube-proxy: initialization wait for service and endpoint
2024-08-28 18:18:56 +01:00
Kubernetes Prow Robot
6498fed36a
Merge pull request #126761 from thockin/automated-cherry-pick-of-#126749-upstream-release-1.31
...
Automated cherry pick of #126749 : fix v1a3 ResourceSliceList metadata field name
2024-08-27 09:14:48 +01:00
Tim Hockin
62e601a95a
fix v1a3 ResourceSliceList metadata field name
...
This field was incorrectly named "listMeta" and was missed in review.
2024-08-17 12:12:57 -07:00
Jordan Liggitt
d8da86b16d
Switch DisableNodeKubeProxyVersion back to disabled-by-default
...
This is clearing a stable API field, so the 1 year from announcement to change period applies
2024-08-15 13:16:30 -04:00
Wei Huang
9eec84c67f
fix a scheduler preemption issue that victim is not patched properly
2024-08-14 11:48:11 -07:00
Will Daly
f520ede814
kube-proxy: initialization wait for service and endpoint handlers synced
...
Ensure kube-proxy waits for the services/endpointslices informer
caches to be synced *and* all pre-sync events delivered before
setting isInitialized=true. Otherwise, in clusters with many services,
some services may be missing from svcPortMap when kube-proxy starts
(e.g. during daemonset rollout). This can cause kube-proxy to temporarily
remove service DNAT rules and then skip cleanup of UDP conntrack entries
to a service VIP.
Resolves: https://github.com/kubernetes/kubernetes/issues/126468
2024-08-14 09:02:23 -07:00
Davanum Srinivas
4fc6d8daf5
[kube-proxy] add log verbosity to endpoint topology hint loop - Take 2
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2024-08-02 22:28:51 -04:00
Kubernetes Prow Robot
dbc2b0a5c7
Merge pull request #126383 from Shubham82/correct_comment_for_StableLoadBalancerNodeSet
...
Update the Comment for StableLoadBalancerNodeSet Feature Gate.
2024-08-01 07:20:02 -07:00
Marek Siarkowicz
93a10a7569
Introduce ConcurrentWatchObjectDecode feature gate disabled by default
2024-07-31 18:30:45 +02:00
Kubernetes Prow Robot
eb729d1db7
Merge pull request #126469 from serathius/beta2
...
Move ConsistentListFromCache to Beta default again
2024-07-31 08:35:47 -07:00