Commit Graph

12793 Commits

Author SHA1 Message Date
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
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
joshjms
b461d80f3d etcd: update etcd image to v3.6.0
Signed-off-by: joshjms <joshjms1607@gmail.com>
2025-05-26 15:06:50 +08:00
Kubernetes Prow Robot
7f74d2b407 Merge pull request #131842 from michaelasp/compatmetrics
Add metrics for compatibility version
2025-05-23 15:58:35 -07:00
Lubomir I. Ivanov
c5f368522d kubeadm: fix dryrun-latest e2e by updating cluster-info fixture
Recently in PR 131741 the kubeadm fixture for cluster-info
in dryrun.go was updated to remove the 'preferences' struct.

This means that the hardcoded JWS signature of the cluster-info
fixture must also be updated.

Update the signature to the expected one to fix e2e
failures in dryrun-latest.

https://testgrid.k8s.io/sig-cluster-lifecycle-kubeadm#kubeadm-kinder-dryrun-latest
2025-05-21 12:09:40 +03:00
Kubernetes Prow Robot
707efc4e51 Merge pull request #131677 from lalitc375/master
[Kubeadm]: Add support for ECDSA-P384 encryption algorithm
2025-05-20 18:24:35 -07:00
Davanum Srinivas
c509e22d11 Add a list of modules that should be pinned at current versions
Signed-off-by: Davanum Srinivas <davanum@gmail.com>
2025-05-20 18:05:57 -04:00
Lalit Chauhan
637d234aae feat: Add support for ECDSA-P384 encryption algorithm
This commit introduces support for using ECDSA P-384 as an encryption
algorithm for generating certificates and keys within kubeadm.

The following changes are included:
- Defined the `EncryptionAlgorithmECDSAP384` constant in the kubeadm API types.
- Updated API documentation to reflect the new algorithm option ("ECDSA-P384").
- Added validation for `ECDSA-P384` in the cluster configuration.
- Implemented key generation logic for ECDSA P-384 keys in `pkiutil`
  (using `elliptic.P384()`).
- Added corresponding unit tests to verify the new algorithm's functionality
  in `pkiutil`.

This allows users to choose ECDSA P-384 for
kubeadm-managed clusters.
2025-05-20 17:08:56 +00:00
Maciej Szulik
8cf5e8db78 Deprecate kubeconfig's preference field in favor of kuberc
Signed-off-by: Maciej Szulik <soltysh@gmail.com>
2025-05-20 13:31:57 +02:00
Michael Aspinwall
a8ed33bc64 feat: add metrics for compatibility version
Add metrics for compatibility version for kube-apiserver, kube-scheduler, and kube-controller-manager.

Signed-off-by: Michael Aspinwall <maspinwall@google.com>
2025-05-20 08:41:01 +00:00
Brendan Shephard
be5d8c767b Update cmd/kubeadm/app/cmd/upgrade/apply.go
Co-authored-by: Bing Hongtao <695097494plus@gmail.com>
2025-05-18 18:38:16 +10:00