Paco Xu
5c0c20a5ea
kubeadm: UnversionedKubeletConfigMap is GAed in v1.25
2022-07-14 20:56:45 +08:00
Abirdcfly
00b9ead02c
cleanup: remove duplicate import
...
Signed-off-by: Abirdcfly <fp544037857@gmail.com >
2022-07-14 11:25:19 +08:00
SataQiu
723cadf750
kubeadm: respect user specified image repository when using Kubernetes ci version
2022-07-09 16:24:51 +08:00
Kubernetes Prow Robot
34b9f0dbed
Merge pull request #110998 from chendave/de_dup_kubeadm
...
kubeadm: De-dup the confirmation on the interactive cmds
2022-07-07 12:46:37 -07:00
Dave Chen
8aeee521e6
kubeadm: De-dup the confirmation on the interactive cmds
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-07-07 11:51:26 +08:00
Mengjiao Liu
88c6deb778
Update godoc.org
to pkg.go.dev
in kubeadm
2022-07-07 11:06:13 +08:00
Kubernetes Prow Robot
f88b11897d
Merge pull request #110978 from chendave/dry_run_interactive
...
kubeadm: Don't ask for input if it's dry run mode
2022-07-06 18:39:33 -07:00
Dave Chen
988b96fcbb
kubeadm: Don't ask for input if it's dry run mode
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-07-06 18:18:53 +08:00
runzhliu
37f66cb9d8
improve the comments
2022-07-05 01:59:11 +00:00
Kubernetes Prow Robot
fa16bf8e12
Merge pull request #110791 from SataQiu/fix-kubeadm-20220626
...
kubeadm: fix the bug that configurable KubernetesVersion not respected during kubeadm join
2022-06-30 21:53:34 -07:00
Kubernetes Prow Robot
8b0221708c
Merge pull request #110744 from neolit123/1.25-update-etcd-startup-probe
...
kubeadm: use non-serializable startup probe for etcd pods
2022-06-30 21:53:22 -07:00
Kubernetes Prow Robot
3eb7b7a48f
Merge pull request #110874 from chendave/fix_debug
...
kubeadm: Force to disable debug mode for `crictl`
2022-06-30 10:42:20 -07:00
Lubomir I. Ivanov
2829fc03e3
kubeadm: use non-serializable startup probe for etcd pods
...
As per the etcd maintainers' recommendation - startup probes
shouldn't be serialized, while the liveness probes should be.
2022-06-30 20:26:32 +03:00
SataQiu
2fb1941ae3
kubeadm: improve the error message of getClusterNodeMask func
2022-06-30 20:28:45 +08:00
Dave Chen
c5b22b535b
kubeadm: Force to disable debug mode for crictl
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-06-30 15:08:45 +08:00
SataQiu
5b2d6ca5df
kubeadm: fix the bug that configurable KubernetesVersion not respected during kubeadm join
2022-06-30 14:47:33 +08:00
Kubernetes Prow Robot
dafa55be10
Merge pull request #110837 from SataQiu/fix-kubeadm-20220628
...
kubeadm: support retry mechanism for removing container in reset phase
2022-06-29 05:12:05 -07:00
SataQiu
3889a6cac8
kubeadm: support retry mechanism for removing container in reset phase
2022-06-29 17:54:56 +08:00
Kubernetes Prow Robot
4cd7394252
Merge pull request #110819 from pacoxu/kubeadm-join-doc
...
kubeadm: update join --discovery-file docs
2022-06-28 19:58:03 -07:00
Paco Xu
0b44750ab9
kubeadm: update join --discovery-file docs(support tokenfile authProvider and exec)
2022-06-28 12:12:29 +08:00
Kubernetes Prow Robot
34b4125351
Merge pull request #110656 from pacoxu/kubeadm-dup-unix
...
kubeadm: handle dup unix:// prefix in node annotation
2022-06-24 00:21:21 -07:00
Paco Xu
8555f401a0
kubeadm: handle dup unix:// prefix in node annotaiton
2022-06-24 11:16:34 +08:00
Kubernetes Prow Robot
07dfdf0859
Merge pull request #110709 from chendave/fix_renew
...
kubeadm: Honor `cert-dir` for cert operations
2022-06-23 19:51:19 -07:00
Kubernetes Prow Robot
035f22d781
Merge pull request #110712 from chendave/ignore_args
...
kubeadm: certs renew doesn't support positional args
2022-06-23 09:09:43 -07:00
Dave Chen
e8e804deaa
kubeadm: certs renew doesn't support positional args
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-06-23 19:52:22 +08:00
Kubernetes Prow Robot
df0af6f7b8
Merge pull request #110736 from Octopusjust/k8s-pr3
...
Incomplete coverage of test scenarios
2022-06-23 04:33:44 -07:00
Dave Chen
57646c941f
kubeadm: Honor cert-dir
for cert operations
...
- `cert-dir` could be specified to a value other than the default value
- we have tests that should be executed successfully on the working cluster
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-06-23 19:32:20 +08:00
ZhangYu
9f4562c7b6
Incomplete coverage of test scenarios
2022-06-23 11:41:23 +08:00
Kubernetes Prow Robot
e9702cfc1b
Merge pull request #110593 from SataQiu/kubeadm-coredns-20220615
...
kubeadm: add the preferred pod anti-affinity for CoreDNS Deployment
2022-06-22 09:29:56 -07:00
chymy
c8aa25e472
fix several typo
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2022-06-21 09:11:41 +00:00
Kubernetes Prow Robot
609db7ed0b
Merge pull request #110635 from chendave/kubeadm_fix
...
kubeadm: fail faster when the version is not provided
2022-06-19 10:06:03 -07:00
Dave Chen
aa5dfd8b28
kubeadm: fail faster when the version is not provided
...
Signed-off-by: Dave Chen <dave.chen@arm.com >
2022-06-17 16:42:56 +08:00
Lubomir I. Ivanov
81b3540206
kubeadm: ensure kubelet patch results are in YAML
...
Once we patch a kubelet configuration file, the patched output
is in JSON. Make sure it's converted back to YAML, given
the kubelet config in the cluster and on disk is always in YAML.
Add unit test for the new function applyKubeletConfigPatches()
2022-06-15 13:38:04 +03:00
SataQiu
299e745127
kubeadm: add the preferred pod anti-affinity for CoreDNS Deployment
2022-06-15 14:38:12 +08:00
tallaxes
4a542609aa
Support more auth strategies in kubeadm join
with discovery file ( #110553 )
...
* Add support for client-go credential plugins
* Add support for authprovider authentication
* Add support for TokenFile authentication
2022-06-14 08:03:45 -07:00
Kubernetes Prow Robot
4407a02aef
Merge pull request #110560 from lunhuijie/fixTestpki
...
Incomplete coverage of test scenarios and optimize bad code
2022-06-14 04:53:32 -07:00
10284789刁浩
696d537239
Incomplete coverage of test scenarios and bad code
2022-06-14 07:48:43 +00:00
Paco Xu
178dc11b75
kubeadm: upgrade coredns to v1.9.3
2022-06-09 18:45:26 +08:00
Paco Xu
31922c7794
kubeadm: use staticpod known tags for upgrade/init phases
2022-06-09 14:21:48 +08:00
Kubernetes Prow Robot
0985c476e3
Merge pull request #109995 from wangyysde/fix_issue_2681
...
add print-manifest flag to print addon manifests to STDOUT
2022-06-08 09:00:22 -07:00
Paco Xu
29aca9692c
overwrite known targets in patch manager cache in case it changes
2022-06-08 16:10:41 +08:00
wangyysde
e863ebb6b5
add print-manifest flag to print addon manifests to STDOUT
...
Signed-off-by: wangyysde <net_use@bzhy.com >
2022-06-08 13:45:37 +08:00
Kubernetes Prow Robot
cd4b8ed070
Merge pull request #110405 from neolit123/1.25-kubelet-config-patches
...
kubeadm: add support for patching a "kubeletconfiguration" target
2022-06-07 07:05:07 -07:00
Kubernetes Prow Robot
9fad5c981a
Merge pull request #110327 from neolit123/1.25-ga-unversioned-kubelet-config
...
kubeadm: graduate the UnversionedKubeletConfigMap FG to GA
2022-06-07 07:04:56 -07:00
Lubomir I. Ivanov
2134026e3b
kubeadm: allow passing the --patches flag to init/join/node phases
...
Allow passing the --patches flag to init/join/node phases
relevant to the kubelet writing the config file on disk.
2022-06-06 20:37:27 +03:00
Lubomir I. Ivanov
428c3fe954
kubeadm: document "kubeletconfiguration" as a patch target
...
Document the "kubeletconfiguration" as a patch target in the
v1beta3 API Init/JoinConfiguration.Patches struct
and also for the --patches flag.
2022-06-06 20:37:26 +03:00
Lubomir I. Ivanov
c3c9fb8608
kubeadm: add unit tests for patching a "kubeletconfiguration" target
2022-06-06 20:37:26 +03:00
Lubomir I. Ivanov
85fb6b01f8
kubeadm: apply patches to the kubelet config before writing it to disk
...
In phases/kubelet/WriteConfigToDisk() create a patch
manager for the root patches directory and apply
the user patches with a target "kubeletconfiguration".
2022-06-06 20:37:26 +03:00
Lubomir I. Ivanov
665f66d2bc
kubeadm: pass io.Writer and "patches dir" to WriteConfigToDisk()
...
With phases/kubelet/WriteConfigToDisk() about to support patches
it is required that the function accepts an io.Writer
where the PatchManager can output to and also a patch directory.
Modify all call sites of the function WriteConfigToDisk()
to properly prepare an pass an io.Writer and patches dir to it.
This results in command phases for init/join/upgrade to pass
the root io.Writer (usually stdout) and the patchesDir populated
either via the config file or --patches flag.
2022-06-06 20:37:26 +03:00
Kubernetes Prow Robot
b7b824bb9e
Merge pull request #110033 from mk46/etcd_update_v3.5.4
...
etcd: Updated to v3.5.4
2022-06-02 13:26:31 -07:00