Commit Graph

12802 Commits

Author SHA1 Message Date
Daman Arora
bc5088cbf3 Revert "Kube proxy node manager" 2025-07-15 19:34:05 +05:30
Kubernetes Prow Robot
3d007ecdfa Merge pull request #132776 from neolit123/1.34-fix-unnamed-ports-in-manifests
kubeadm: use named ports in static pod manifests
2025-07-15 01:28:22 -07:00
Kubernetes Prow Robot
8790d5b819 Merge pull request #132341 from dashpole/graduate_kubelet_tracing
Promote KubeletTracing featuregate to GA
2025-07-14 15:34:23 -07:00
Daman Arora
fa9e466945 kube-proxy: merge NodeEligibleHandler with NodeManager
ProxyHealthServer now consumes NodeManager to get the latest
updated node object for determining node eligibility.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 23:06:44 +05:30
Daman Arora
c6735d9b3b kube-proxy: merge NodePodCIDRHandler with NodeManager
NodeManager, if configured with to watch for PodCIDR watch, watches
for changes in PodCIDRs and crashes kube-proxy if a change is
detected in PodCIDRs.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 23:06:44 +05:30
Daman Arora
c43104cbea kube-proxy: add NodeManager to manage life-cycle based on NodeIPs
NodeManager initialises node informers, waits for cache sync and polls for
node object to retrieve NodeIPs, handle node events and crashes kube-proxy
when change in NodeIPs is detected.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 21:48:52 +05:30
Daman Arora
af7abde0e5 kube-proxy: add NodeTopologyConfig for tracking topology labels
This simplifies how the proxier receives update for change in node
labels. Instead of passing the complete Node object we just pass
the proxy relevant topology labels extracted from the complete list
of labels, and the downstream event handlers will only be notified
when there are changes in topology labels.

Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-07-11 21:05:19 +05:30
Lubomir I. Ivanov
38080c082e kubeadm: use named ports in static pod manifests
Start using a named port 'probe-port' for all probes in all the control
plane components static pod manifests - kube-apiserver,
kube-controller-manage, kube-scheduler, etcd.

Users who previously patched the probes with custom values must now
switch to patching the named port too.
2025-07-07 13:30:48 +02:00
Kubernetes Prow Robot
2ee568260f Merge pull request #132087 from ania-borowiec/move_code_and_status
Moving Scheduler interfaces to staging: Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework
2025-07-01 09:21:38 -07:00
Paco Xu
6a25bdaac8 kubeadm: fix missing log of health check 2025-07-01 11:33:52 +08:00
Kubernetes Prow Robot
201325e869 Merge pull request #132433 from michaelasp/configurablecle
feat: make CLE timers configurable
2025-06-30 12:08:31 -07:00
Kubernetes Prow Robot
c6539bc785 Merge pull request #132284 from ArkaSaha30/bump-etcd-3.6.1
Bump etcd to v3.6.1
2025-06-30 11:00:35 -07:00
David Ashpole
5a20c38da6 remove usage of KubeletTracing featuregate from kubelet 2025-06-30 12:30:47 +00:00
Ania Borowiec
ee8c265d35 Move Code and Status from pkg/scheduler/framework to k8s.io/kube-scheduler/framework 2025-06-30 10:06:22 +00:00
Lubomir I. Ivanov
f644e35d19 kubeadm: cleanup after WaitForAllControlPlaneComponents GA 2025-06-28 11:21:54 +02:00
Lubomir I. Ivanov
cfe8604504 kubeadm: graduate WaitForAllControlPlaneComponents to GA 2025-06-28 11:16:01 +02:00
Davanum Srinivas
d50e1a684c Ensure all the files have the updated sorting
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-27 11:13:50 -04:00
Kubernetes Prow Robot
b3e438aef9 Merge pull request #132220 from BenTheElder/a-little-owners-cleanup
emeritus spiffxp and backfill OWNERS
2025-06-25 19:16:28 -07:00
Kubernetes Prow Robot
c1afec6a0b Merge pull request #132357 from dims/drop-usage-of-forked-copies-of-goyaml.v2-and-goyaml.v3
Drop usage of forked copies of goyaml.v2 and goyaml.v3
2025-06-25 09:48:29 -07:00
Michael Aspinwall
1a59c250ea feat: make CLE timers configurable 2025-06-25 16:38:50 +00:00
Davanum Srinivas
c5b4b133ce switch to latest sigs.k8s.io/yaml v1.5.0 (run update-gofmt.sh as well)
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-25 11:42:12 -04:00
Kubernetes Prow Robot
5b1af0c8c2 Merge pull request #127655 from guozheng-shen/remove-usage
remove 'endpointsleases' and 'configmapsleases' from usage
2025-06-24 09:54:28 -07:00
ArkaSaha30
e1d74f1d33 Update etcd image revision to 3.6.1-1
This commit will update etcd image revision from 3.6.1-0 to 3.6.1-1
Ref Discussion: https://github.com/kubernetes/kubernetes/pull/132395/files#r2156576606

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-23 23:00:38 +05:30
Kubernetes Prow Robot
60f0ad4615 Merge pull request #122384 from carlory/remove-kubelet-flag-register-schedulable
kubelet: remove --register-schedulable flag
2025-06-18 05:26:54 -07:00
Davanum Srinivas
3827d3bc4f Drop usage of forked copies of goyaml.v2 and goyaml.v3
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-17 11:00:27 -04:00
Kubernetes Prow Robot
3e39d1074f Merge pull request #132221 from dims/new-cmp-diff-impl
New implementation for `Diff` (drop in replacement for `cmp.Diff`)
2025-06-16 18:02:58 -07:00
Davanum Srinivas
03afe6471b Add a replacement for cmp.Diff using json+go-difflib
Co-authored-by: Jordan Liggitt <jordan@liggitt.net>
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-06-16 17:10:42 -04:00
Kubernetes Prow Robot
827fcd23dc Merge pull request #132171 from zhifei92/fix-watchdog-starts-late
Fix the issue of slow startup of the systemd watchdog
2025-06-16 10:13:05 -07:00
Pierre Gimalac
40c718864b chore(apiserver): avoid using html template which disables dce 2025-06-13 15:28:55 +02:00
Kubernetes Prow Robot
c1ed20c4ff Merge pull request #131981 from HirazawaUi/promote-4654-to-beta
kubeadm: Graduate NodeLocalCRISocket Feature gate to beta
2025-06-13 04:45:02 -07:00
ArkaSaha30
e09b042d34 Bump etcd to v3.6.1
This commit will bump etcd to v3.6.1
Release: https://github.com/etcd-io/etcd/releases/tag/v3.6.1
Issue: https://github.com/etcd-io/etcd/issues/20047

Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com>
2025-06-13 16:28:35 +05:30
Kubernetes Prow Robot
5a0f0f7b2d Merge pull request #122634 from carlory/KEP-3902
Promote SeparateTaintEvictionController to stable
2025-06-13 03:28:55 -07:00
carlory
901441c66e Promote SeparateTaintEvictionController to stable
Signed-off-by: carlory <baofa.fan@daocloud.io>
2025-06-13 11:15:35 +08:00
Jesung Yang
04110fce1b Correct error message to print ResetConfigurationKind
The previous message incorrectly used `JoinConfigurationKind`,
which is unrelated, as `documentMapToResetConfiguration` function
only processes ResetConfiguration.
2025-06-12 21:29:54 +09:00
Benjamin Elder
2810f6e65f add bentheelder to cmd/preferredimports *reviewers*
I'm not sure the one remaining reviewer is active, I am active in code organization and build + test tooling for many years now.
2025-06-10 20:10:02 -07:00
Benjamin Elder
ad68a4b4cd emeritus spiffxp
spiffxp moved on from the project years ago, he is still missed
2025-06-10 20:05:40 -07:00
zhangzhifei16
0a86ca4061 Add healthChecker to the kubeDeps 2025-06-10 21:14:17 +08:00
zhangzhifei16
4a7e68a355 fix: Fix the issue where kubelet's slow startup causes it to be mistakenly killed by the watchdog.
Add a lock for checkers and improve the unit test.

format code.

fix unit test
2025-06-09 21:27:57 +08:00
Kubernetes Prow Robot
43bb11b5c1 Merge pull request #131534 from aroradaman/kube-proxy-ipt-init-error-2
kube-proxy: log iptables errors in platformCheckSupported
2025-06-06 21:08:38 -07:00
Daman Arora
858b88bcee kube-proxy: log ipt errors during platformCheckSupported
Signed-off-by: Daman Arora <aroradaman@gmail.com>
2025-06-07 01:14:33 +05:30
Kubernetes Prow Robot
513e188697 Merge pull request #129460 from sohankunkerkar/add-test
kubelet: add coverage for identical kubelet config and drop-in config content
2025-06-06 12:00:44 -07:00
Lubomir I. Ivanov
d1a858ca9f kubeadm: fix one missed pkg/errors location
Missed in PR 132080.
2025-06-05 17:48:13 +03:00
Lubomir I. Ivanov
5be254650f kubeadm: start using util/errors
- Replace usage of pkg/errors with the local util/errors.
- Run kinder/hack/orderimports tool from kubeadm repo to
order the imports in the source tree.
2025-06-05 16:05:02 +03:00
Lubomir I. Ivanov
f522d7cb85 kubeadm: add a local implementation of wrapped errors
pkg/errors is archived and while there is go-errors/errors as
an alternative, it lacks wraping methods. kubeadm has
specific neends and it's better to implement something
minimal locally instead of introducing another depedency.

- Implement basic wrapped errors and stack trace support.
cmd/kubeadm/app/util/errors.
- Remove unused error codes >1. At some point it seems we broke
these and 1 was returned for all error types.
- Remove the Error type in preflight and separate the printing
of '[preflight]' message and the error return from preflight
checks.
- Print an 'error:' prefix for all errors.
2025-06-05 16:04:52 +03:00
HirazawaUi
ad3a13e014 Graduate NodeLocalCRISocket to beta 2025-06-03 19:28:20 +08:00
Kubernetes Prow Robot
e0859f91b7 Merge pull request #131887 from ania-borowiec/extract_cyclestate_interface
Moving Scheduler interfaces to staging: split CycleState into interface and implementation, move interface to staging repo
2025-05-30 04:00:18 -07:00
Ania Borowiec
d75af825fb Extract interface CycleState and move is to staging repo. CycleState implementation remains in k/k/pkg/scheduler/framework 2025-05-29 16:18:36 +00:00
Kubernetes Prow Robot
cd3b5c5766 Merge pull request #131658 from dims/allow-specifying-a-directory-for-image-credential-providers-json-configuration
Allow specifying a directory for image credential providers json configuration
2025-05-29 07:46:20 -07:00
Davanum Srinivas
be6807e6a5 Allow specifying a directory for image credential providers json/yaml configuration
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-29 09:42:26 -04:00
Kubernetes Prow Robot
2f94274c88 Merge pull request #131562 from logica0419/kube-proxy-string-concat
Add missing space in string concatenation (kube-proxy)
2025-05-27 13:36:22 -07:00