Kubernetes Prow Robot
095b9d6045
Merge pull request #134433 from neolit123/1.35-show-wait-control-plane-errors-more-verbosely
...
kubeadm: print errors during control-plane-wait retries
2025-10-13 08:13:43 -07:00
Lubomir I. Ivanov
52c734f1e6
kubeadm: print errors during control-plane-wait retries
...
While waiting for control plane components, the errors during
retries are not shown in higher klog verbosity. Show them
for level 5.
2025-10-13 14:14:37 +02:00
Kubernetes Prow Robot
c8fb7c9174
Merge pull request #134524 from HirazawaUi/revert-134178
...
Revert "Merge pull request #134178 from HirazawaUi/remove-RootlessControlPlane“
2025-10-10 20:42:59 -07:00
Kubernetes Prow Robot
27cfc5b4d5
Merge pull request #133778 from carlory/kubeadm-cleanup-pod-infra-container-image
...
Remove the --pod-infra-container-image flag from kubeadm and cluster/gce
2025-10-10 19:48:58 -07:00
HirazawaUi
7b4d4f72c9
fix lint error
2025-10-10 22:35:03 +08:00
HirazawaUi
d6dec0b345
Revert "Merge pull request #134178 from HirazawaUi/remove-RootlessControlPlane"
...
This reverts commit fce5a08b92 , reversing
changes made to d39b162163 .
2025-10-10 18:36:42 +08:00
carlory
400f8eccc5
Remove the --pod-infra-container-image flag from kubeadm
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-10-10 16:54:42 +08:00
Kubernetes Prow Robot
4db43d1321
Merge pull request #134251 from joshjms/update-etcd-3.6.5
...
etcd: Update etcd to v3.6.5
2025-10-03 07:00:58 -07:00
joshjms
070d4c1846
bump etcd to v3.6.5
...
Signed-off-by: joshjms <joshjms1607@gmail.com >
2025-10-03 18:19:15 +08:00
Lubomir I. Ivanov
b6afe986c6
kubeadm: rework the FetchInitConfigurationFromCluster node flags
...
The newControlPlane flag has been historically problematic, since
it implies that the function FetchInitConfigurationFromCluster
cannot handle the cases where a node is worker node but
we still want to fetch its NodeRegistrationOptions conditionally,
in cases such as "upgrade node" for workers.
To fix this issue, replace the flag newControlPlaneNode with
two new flags getNodeRegistration and getAPIEndpoint.
If getNodeRegistration is true, we fetch the NRO, and if
getAPIEndpoint is true, we fetch the API endpoint for
that node.
Additionally, rename skipComponentConfigs to getComponentConfigs
for consistency and flip its value accordingly everywhere.
2025-09-29 19:58:56 +02:00
Lubomir I. Ivanov
bd075eb98c
kubeadm: use JoinHostPort in WaitControlPlaneClient
...
Using naive string concat with ":" does not work for IPv6.
Apply the fix to WaitForKubelet as well.
2025-09-25 19:11:10 +02:00
Lubomir I. Ivanov
0010d3992a
kubeadm: ensure waiting for apiserver uses a local client
...
When waiting for the kube-apiserver to report 'ok'
in the 'init' and 'join' phase 'wait-control-plane', a client
constructed from the 'admin.conf' is used. In the case of the
kube-apiserver, the discovery client is used so that
anonymous-auth works. But if 'admin.conf' is used as is,
it would point to the CPE and not the LAE.
Implement a new method WaitControlPlaneClient() for both
init.go and join.go that patches the 'Server' field in the
loaded v1.Config to point to the LAE, before constructing
a client set and using it in the kube-apiserver waiter.
2025-09-25 14:43:45 +02:00
hoteye
1e4e6e10c1
Use context.Background() directly in kubeadm polling API calls
...
Replace context.TODO() and poll timeout context propagation with direct
context.Background() calls to prevent timeout errors from masking actual
API errors. Affects discovery/file.go, phases/upgrade/health.go, and
util/apiclient/wait.go for consistent error reporting.
2025-09-22 21:37:27 +08:00
Kubernetes Prow Robot
fce5a08b92
Merge pull request #134178 from HirazawaUi/remove-RootlessControlPlane
...
Kubeadm: Remove RootlessControlPlane feature gate
2025-09-21 09:00:12 -07:00
HirazawaUi
12db1e28dc
remove unused file
2025-09-21 00:35:54 +08:00
HirazawaUi
15b16e0090
Remove RootlessControlPlane feature gate
2025-09-20 22:37:56 +08:00
Lubomir I. Ivanov
9d4b91dbd8
kubeadm: cleanup after ControlPlaneKubeletLocalMode
2025-09-18 18:37:23 +02:00
Lubomir I. Ivanov
56a4306fed
kubeadm: graduate ControlPlaneKubeletLocalMode to GA
2025-09-17 15:02:00 +02:00
杨朱 · Kiki
8817dd6529
Update cmd/kubeadm/app/cmd/upgrade/node.go
...
Co-authored-by: Bing Hongtao <695097494plus@gmail.com >
2025-09-15 20:51:52 +08:00
carlory
5dac4ee169
Improve dry-run error messages for clarity
2025-09-15 09:56:13 +08:00
carlory
97cd1c2408
replace fmt.Printf with fmt.Fprintf
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
2025-09-11 16:43:46 +08:00
carlory
96463c1e9a
kubeadm: fix the KUBEADM_UPGRADE_DRYRUN_DIR environment variable doesn't work forthe upgrade phase when it writes kubelet config files to disk
...
Signed-off-by: carlory <baofa.fan@daocloud.io >
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2025-09-11 15:57:47 +08:00
Kubernetes Prow Robot
a8905a154b
Merge pull request #133179 from nmn3m/fix-strings-title
...
Replace deprecated strings.Title with cases.Title
2025-09-09 05:53:30 -07:00
HirazawaUi
8118636321
Close container runtime connections after use
2025-09-06 14:42:36 +08:00
Nour
72847ee1f7
Replace deprecated strings.Title with cases.Title
2025-08-30 18:16:59 +03:00
Kubernetes Prow Robot
546519987d
Merge pull request #132288 from thevilledev/chore/coredns-v1.12.2
...
chore: update CoreDNS to v1.12.3
2025-08-28 06:55:10 -07:00
Kubernetes Prow Robot
52d089e653
Merge pull request #133667 from neolit123/1.34-clarify-some-api-fields
...
kubeadm: clarify the comments for a few API fields
2025-08-27 20:24:14 -07:00
Kubernetes Prow Robot
4f0ce131a3
Merge pull request #133513 from tom1299/fix_missing_controlplanehealthcheck
...
Add missing conversion for timeoutForControlPlane
2025-08-27 18:30:31 -07:00
Lubomir I. Ivanov
16d4f9ea1f
kubeadm: clarify the comments for a few API fields
...
- Make it clear that FeatureGates are kubeadm-specific
- Add note that custom etcd image results in etcd upgrade skip
- Explain how is ClusterName is used
2025-08-23 16:24:57 +02:00
tom1299
b46a5cceef
Fix missing control plane health check timeout
2025-08-19 13:49:02 +02:00
Ville Vesilehto
aa819af85a
chore: update CoreDNS to v1.12.3
...
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi >
2025-08-13 08:52:10 +03:00
SataQiu
d959186056
kubeadm: simplify error handling in getAPIEndpointWithRetry
2025-08-01 11:52:55 +08:00
Ivan Valdes
e8dc272c53
Update etcd to 3.6.4
2025-07-27 21:45:02 -07:00
Kubernetes Prow Robot
c44bf18b9b
Merge pull request #130713 from ArkaSaha30/bump-pause-version
...
dependency: update pause version to registry.k8s.io/pause:3.10.1
2025-07-20 20:16:26 -07:00
carlory
cef9f9edb6
kubeadm: fix a bug where it should generate default etcd command based on etcd version when the etcd image tag supports semver
2025-07-17 16:58:58 +08:00
Kubernetes Prow Robot
b1b15a57e6
Merge pull request #132838 from AwesomePatrol/drop-experimental-etcd-flags
...
Drop experimental flags from etcd
2025-07-16 02:18:23 -07:00
Aleksander Mistewicz
f8c7131b46
Drop experimental- prefix from etcd flags
...
They were deprecated in etcd 3.6.0 and were removed in 3.7.0:
https://github.com/etcd-io/etcd/pull/19959
InitialCorruptCheck is now a behind Etcd feature gate. The new flags are
set based on provided k8s version.
Signed-off-by: Aleksander Mistewicz <amistewicz@google.com >
2025-07-15 15:32:13 +02:00
ArkaSaha30
621482d68b
update pause version to 3.10.1
...
This commit will update the pause version to 3.10.1 as per thread: https://kubernetes.slack.com/archives/CJH2GBF7Y/p1741674313893029
Signed-off-by: ArkaSaha30 <arkasaha30@gmail.com >
2025-07-09 16:38:14 +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
Paco Xu
6a25bdaac8
kubeadm: fix missing log of health check
2025-07-01 11:33:52 +08: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
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
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
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
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