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
Lubomir I. Ivanov
1c46686f09
kubeadm: mutate ClusterConfiguration.imageRepository to "registry.k8s.io"
...
If the user runs "kubeadm upgrade apply", kubeadm can download
a configuration from the cluster. If the configuration contains
the legacy default imageRepository of "k8s.gcr.io", mutate it
to the new default of "registry.k8s.io" and update the
configuration in the config map.
During "upgrade node/diff" download the configuration, mutate the
image repository locally, but do not mutate the in-cluster value.
That is done only on "apply".
This ensures that users are migrated from the old default registry
domain.
2022-06-02 17:37:30 +03:00
Lubomir I. Ivanov
9f6df1d489
kubeadm: graduate the UnversionedKubeletConfig FG to GA
...
- lock the FG to true by default
- cleanup wrappers and logic related to versioned vs unversioned
naming of API objects (CMs and RBAC)
- update unit tests
2022-06-01 17:17:07 +03:00
Manish Kumar
e9e8be304c
etcd: Updated to v3.5.4
2022-06-01 07:52:46 +05:30
Davanum Srinivas
50bea1dad8
Move from k8s.gcr.io to registry.k8s.io
...
Signed-off-by: Davanum Srinivas <davanum@gmail.com >
2022-05-31 10:16:53 -04:00
Kubernetes Prow Robot
92263ee0dd
Merge pull request #110072 from neolit123/1.25-kubeadm-etcd-liveness-probe
...
kubeadm: add serializable health checks for etcd probes
2022-05-30 00:40:52 -07:00
Kubernetes Prow Robot
0f8b0e14ae
Merge pull request #110141 from chymy/kubeadm-remove-imagespull
...
kubeadm: remove unused ImagesPull
2022-05-20 03:45:12 -07:00
Kubernetes Prow Robot
3308ce1caf
Merge pull request #110137 from neolit123/1.25-update-master-label-taint
...
kubeadm: cleanup OldControlPlaneTaint from unit tests
2022-05-19 22:05:13 -07:00
chymy
525b8cc4b2
kubeadm: remove unused ImagesPull
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2022-05-20 10:49:52 +08:00
Lubomir I. Ivanov
9c68116461
kubeadm: cleanup OldControlPlaneTaint from unit tests
...
The OldControlPlaneTaint taint (master) can be replaced
with the new ControlPlaneTaint (control-plane) taint.
Adapt unit tests in markcontrolplane_test.go
and cluster_test.go.
2022-05-19 22:00:39 +03:00
Manish Kumar
58cc7e7d43
Parse ENV vars to crictl command
2022-05-19 21:53:50 +05:30
Lubomir I. Ivanov
80e5bcae9b
kubeadm: remove RemoveOldControlPlaneLabel
...
The function is no longer used and was missed in a
1.25 cleanup PR.
2022-05-18 15:42:08 +03:00
Kubernetes Prow Robot
84c8afeba3
Merge pull request #110095 from neolit123/1.25-update-master-label-taint
...
kubeadm: cleanup the "master" taint on CP nodes during upgrade
2022-05-18 00:52:54 -07:00
Kubernetes Prow Robot
90d7400ca1
Merge pull request #109356 from pacoxu/kubeadm-2426-cri
...
kubeadm: remove temporary handling of CRI socket paths without URL scheme
2022-05-17 18:00:52 -07:00
Kubernetes Prow Robot
9169f16841
Merge pull request #108447 from pacoxu/kubeadm-json-upgrade-plan
...
`Kubeadm upgrade plan` support json/yaml output
2022-05-17 16:46:31 -07:00