Kubernetes Prow Robot
85384fe273
Merge pull request #126945 from liangyuanpeng/kubeadm_split_healthz_scheduler
...
kubeadm: scheduler using livez and readyz instead of healthz.
2024-09-03 14:05:15 +01:00
Lan Liang
db8f3a4b7c
kubeadm: scheduler using livez and readyz instead of healthz.
...
Signed-off-by: Lan Liang <gcslyp@gmail.com >
2024-09-03 06:44:07 +00:00
Nathan Baulch
ad7cb45bb2
Fix kubeadm typos
2024-09-03 13:07:55 +10:00
Kubernetes Prow Robot
de6db3ffb0
Merge pull request #126758 from my-git9/dryrun-ut
...
kubeadm: increase ut coverage for util/dryrun
2024-08-30 06:33:30 +01:00
xin.li
6f7f49c3df
kubeadm: increase ut coverage for util/dryrun
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2024-08-30 10:53:04 +08:00
Kubernetes Prow Robot
e9c9a27c97
Merge pull request #126914 from carlory/fix-kubeadm-3045
...
kubeadm remove the deprecated flag '--experimental-output'
2024-08-27 19:17:03 +01:00
carlory
84f6301204
kubeadm: removed the deprecated flag '--experimental-output', please use the flag '--output' instead that serves the same purpose. Affected commands are - "kubeadm config images list", "kubeadm token list", "kubeadm upgade plan", "kubeadm certs check-expiration".
2024-08-26 16:48:30 +08:00
Paco Xu
df00f2fd96
remove deprecated experimental-cert-rotation, use enable-client-cert-rotation instead
2024-08-26 16:39:59 +08:00
Kubernetes Prow Robot
385fd21d92
Merge pull request #126743 from neolit123/1.32-add-get-proxy-env-vars-test
...
kubeadm: sort the merged env vars and improve related tests
2024-08-26 05:40:50 +01:00
Kubernetes Prow Robot
2f3e7f515f
Merge pull request #126740 from neolit123/1.32-allow-config-and-print-manifest
...
kubeadm: allow mix of --print-manifest and --config flags
2024-08-26 05:40:41 +01:00
Lubomir I. Ivanov
a9f681d40a
kubeadm: sort the results of MergeKubeadmEnvVars
...
MergeKubeadmEnvVars use a map which results in non
deterministic output in the end slice EnvVar objects.
Before returning the slice, sort it by the Name field.
Update the unit test to capture the sorting aspect.
2024-08-20 09:11:53 +03:00
Lubomir I. Ivanov
ffbc494a4a
kubeadm: add unit test for GetProxyEnvVars
2024-08-20 09:11:53 +03:00
xin.li
6b9e106c2f
kubeadm: remove unused function in util/pkiutil
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2024-08-17 22:57:33 +08:00
Lubomir I. Ivanov
d441d9140d
kubeadm: allow mix of --print-manifest and --config flags
...
The flag --print-manifest is only present for the subphases of
'kubeadm init phase addon'. It needs to be allowed to be mixed
with the flag --config so that the user can pass their custom
config that will affect the output of the printed manifests.
2024-08-16 17:01:39 +03:00
SataQiu
d8b3ada1c1
kubeadm: update supported etcd version list for 1.32
...
Signed-off-by: SataQiu <shidaqiu2018@gmail.com >
2024-08-15 18:23:59 +08:00
Kubernetes Prow Robot
fc64d2abb0
Merge pull request #126374 from pacoxu/ga-etcd-learner-mode
...
[1.32]kubeadm: promote etcd learner mode to GA
2024-08-14 01:59:22 -07:00
Kubernetes Prow Robot
c8259fb116
Merge pull request #126628 from pacoxu/v1beta4-typo
...
fix a typo in kubeadm v1beta4 doc
2024-08-13 22:11:55 -07:00
Kubernetes Prow Robot
e1b1d4ac7b
Merge pull request #126596 from saschagrunert/checks
...
kubeadm: don't warn if `crictl` binary does not exist
2024-08-13 22:11:48 -07:00
Kubernetes Prow Robot
82cfcbf86d
Merge pull request #126579 from my-git9/ut-version
...
kubeadm: increase ut coverage for util/version
2024-08-13 22:11:41 -07:00
Kubernetes Prow Robot
62cd87e839
Merge pull request #126538 from SataQiu/validate-20240805
...
kubeadm: add a validation warning when the certificateValidityPeriod is more than the caCertificateValidityPeriod
2024-08-13 22:11:03 -07:00
Paco Xu
85c3c67094
fix a typo in kubeadm v1beta4 doc
2024-08-12 15:12:20 +08:00
xin.li
42e8446d7e
kubeadm: increase ut coverage for util/version
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2024-08-09 09:23:10 +08:00
Sascha Grunert
d850fb6756
kubeadm: don't warn if crictl binary does not exist
...
kubeadm does not rely on `crictl` any more, so we can now drop the
warning in 1.32 as outlined in:
https://github.com/kubernetes/kubeadm/issues/3064
Signed-off-by: Sascha Grunert <sgrunert@redhat.com >
2024-08-08 15:28:31 +02:00
SataQiu
506d5c8966
kubeadm: add a validation warning when the certificateValidityPeriod is more than the caCertificateValidityPeriod
2024-08-05 16:15:24 +08:00
Benjamin Elder
8b69990643
kubeadm: bump coredns to 1.11.3
2024-07-29 13:43:04 -07:00
Kubernetes Prow Robot
3a8a60eba2
Merge pull request #126240 from bzsuni/bz/etcd/update/v3.5.15
...
Update etcd to v3.5.15
2024-07-26 04:58:05 -07:00
Paco Xu
bec4c0408c
kubeadm: promote etcd learner mode to GA
2024-07-26 14:02:46 +08:00
Paco Xu
bdb51f28df
fix a typo in kubeadm v1beta4 doc
2024-07-25 22:01:04 +08:00
bzsuni
4ad2cd9299
Update etcd from v3.5.14 to v3.5.15
...
Signed-off-by: bzsuni <bingzhe.sun@daocloud.io >
2024-07-25 10:48:34 +08:00
Kubernetes Prow Robot
815efa2baa
Merge pull request #126250 from my-git9/pkiutil-consot
...
kubeadm: remove unused constants in util/pkiutil
2024-07-21 03:02:57 -07:00
Lubomir I. Ivanov
b90b280c5a
kubeadm: fix join bug where kubeletconfig was not patched in memory
...
During kubeadm join in 1.30 kubeadm started respecting
the kubeletconfiguration healthz address/port. Previously
it hardcoded the health check to localhost:defaultport.
A corner case was not handled where the user applies --patches
on join to modify the local kubeletconfiguration. This results
in kubeletconfiguration patch target patches not being applied to
the KubeletConfiguration in memory and the health check
running on the address:port which are present in the kubelet-config
configmap.
Fix that by explicitly calling a new function to patch the
KubeletConfiguration in memory. This is scoped to only handle
the healthz checks *after* the kubelet config.yaml was already
patched and written to disk.
2024-07-20 19:31:19 +03:00
xin.li
c1dca0ad7c
kubeadm: remove unused constants in util/pkiutil
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2024-07-20 23:30:25 +08:00
Kubernetes Prow Robot
0fa4b9e14c
Merge pull request #126109 from my-git9/staticpod
...
kubeadm: remove unused function in util/staticpod
2024-07-15 23:45:10 -07:00
Christian Schlotter
405fd111c2
kubeadm: use separate phase for changing the kubelet's kubeconfig on upgrade for ControlPlaneKubeletLocalMode
2024-07-15 11:19:21 +02:00
xin.li
fbf8cf41a7
kubeadm: remove unused function in util/staticpod
...
Signed-off-by: xin.li <xin.li@daocloud.io >
2024-07-14 16:57:25 +08:00
Kubernetes Prow Robot
33ccc51cb7
Merge pull request #125780 from chrischdi/pr-kubeadm-control-plane-kubelet-local-init
...
kubeadm: consider feature gate ControlPlaneKubeletLocalMode on init and upgrade
2024-07-12 12:50:16 -07:00
SataQiu
69a2bebc70
kubeadm: fix a bug that ImageExists check returns true when the image isn't in the local storage
2024-07-11 22:42:40 +08:00
SataQiu
d9001c7b00
kubeadm: the '--feature-gates' flag is deprecated and no-op for 'kubeadm upgrade apply/plan'
2024-06-30 11:22:24 +08:00
Alex Stundzia
58ff17bbfa
When using external CA, look for common trust anchor within CA bundle.
2024-06-28 18:04:31 -05:00
Christian Schlotter
8871513c1b
review fixes
2024-06-28 17:15:51 +02:00
Kubernetes Prow Robot
5e331569e4
Merge pull request #125779 from SataQiu/fix-upgrade-diff-20240628
...
kubeadm: fix a bug where the path of the manifest can not be specified when 'upgrade diff' specified a config file
2024-06-28 07:04:00 -07:00
Christian Schlotter
e51b55b451
kubeadm: feature gate ControlPlaneKubeletLocalMode on upgrade
2024-06-28 13:31:26 +02:00
Kubernetes Prow Robot
e832b70230
Merge pull request #125545 from claudiubelu/unittests-12
...
unittests: Fixes unit tests for Windows (part 12)
2024-06-28 03:57:56 -07:00
Christian Schlotter
241c1c7737
kubeadm: feature gate ControlPlaneKubeletLocalMode on init
2024-06-28 12:57:51 +02:00
SataQiu
7c2384d374
kubeadm: mark '--api-server-manifest', '--controller-manager-manifest' and '--scheduler-manifest' as deprecated flags
2024-06-28 18:53:05 +08:00
SataQiu
975f1c978d
kubeadm: fix a bug where the path of the manifest can not be specified when 'upgrade diff' specified a config file
2024-06-28 18:01:19 +08:00
Claudiu Belu
b5e3b81de6
unittests: Fixes unit tests for Windows (part 12)
...
Currently, there are some unit tests that are failing on Windows due
to various reasons:
- IPVS proxy mode is not supported on Windows.
- pkg/kubelet/cri/remote was moved to cri-client.
2024-06-28 08:05:38 +00:00
SataQiu
7120b3902c
kubeadm: improve the error/warning messages of 'validateSupportedVersion' to include the checked resource kind
2024-06-27 18:47:09 +08:00
SataQiu
6190152abd
kubeadm: update the long description about 'kubeadm config' command
2024-06-27 15:54:42 +08:00
Christian Schlotter
038a94804e
kubeadm: implement ControlPlaneKubeletLocalMode
2024-06-24 17:03:33 +02:00