wangyysde
c02e4b5229
remove LabelControlPlaneNodesWithExcludeFromLB function as the statement call it has be removed
2021-04-10 14:30:35 +08:00
SataQiu
dc154e412e
kubeadm: add --validity-period flag for 'kubeadm kubeconfig user' command
2021-04-09 14:40:12 +08:00
wangyysde
2afdffb879
the node.kubernetes.io/exclude-from-external-load-balancers label on upgrade
2021-04-09 14:17:19 +08:00
Kubernetes Prow Robot
9ac9c29f36
Merge pull request #100422 from su225/27145-kubeadm-typo
...
kubeadm: fix typo in help text; ca.cert should be ca.crt
2021-04-08 22:08:57 -07:00
卢振兴10069964
a1452b9115
code cleanup for cmd/kubeadm
2021-04-09 09:44:06 +08:00
RA489
67d30f32f6
kubeadm: Add RA489 as reviewer
2021-04-06 21:45:39 +05:30
Lubomir I. Ivanov
80bca50feb
kubeadm: remove mentions of cgroup-driver from godocs
...
The v1beta1/2 API doc.go files include an example
flag for the kubelet binary "cgroup-driver" under
"kubeletExtraArgs".
This flag is deprecated and should not be in the examples.
Add "v" instead which is one of the flags we know will
not be deprecated soon.
2021-03-24 18:14:35 +02:00
su225
eaa25983e1
fix typo - it should be ca.crt instead of ca.cert
2021-03-20 19:41:21 +05:30
Jared Rodriguez
c68db41a7a
address PR comments
...
- make convertImageTagMetadataToSemver private
- s/the\ the/the/
2021-03-18 11:07:33 -05:00
Jared Rodriguez
5f9a44e1e6
support semver_metadata imagetags
2021-03-17 14:55:09 -05:00
Antonio Ojea
dbc6226e7f
kubeadm unit test initalize global variables
2021-03-13 10:59:07 +01:00
Lubomir I. Ivanov
3e95f9d491
kubeadm: add missing taint for upgrade health check
...
This is part of the "master" -> "control-plane" rename
that we missed. It's not critical for 1.21 as the
"control-plane" taint is still not added to CP nodes,
but it would be best to add the toleration preemptively
like the KEP planned.
2021-03-06 23:14:11 +02:00
Kubernetes Prow Robot
a6bfc7d7a9
Merge pull request #99646 from rajansandeep/remove-kube-dns
...
[kubeadm]: Remove the deprecated kube-dns as an option in kubeadm
2021-03-04 14:41:12 -08:00
Sandeep Rajan
62542bb1ec
add validation to indicate kube-dns is no longer supported
2021-03-04 14:57:52 -05:00
Kubernetes Prow Robot
504b86ced7
Merge pull request #99471 from neolit123/1.21-default-systemd-cgroup-driver
...
kubeadm: set the kubelet cgroup driver to "systemd" during "init"
2021-03-04 11:00:38 -08:00
Sandeep Rajan
b8a1bd6a6c
remove the deprecated kube-dns as an option in kubeadm
2021-03-04 12:12:54 -05:00
Kubernetes Prow Robot
15213128e1
Merge pull request #99687 from pacoxu/dual-stack/follow-up-1
...
cleanup: disable dual stack for some manifest UT
2021-03-04 00:29:23 -08:00
Kubernetes Prow Robot
0d8aae99f9
Merge pull request #98269 from neolit123/1.21-kubeadm-add-lb-label
...
kubeadm: exclude control plane nodes from external LBs
2021-03-04 00:27:59 -08:00
Kubernetes Prow Robot
b0ba6c0b76
Merge pull request #98984 from SataQiu/fix-kubeadm-20210211
...
kubeadm: skip validating pod subnet against node-cidr-mask when allocate-node-cidrs is set to be false
2021-03-03 01:53:20 -08:00
pacoxu
496deb6df9
cleanup: disable dual stack for some manifest UT
2021-03-03 16:00:20 +08:00
Lubomir I. Ivanov
b6ff320507
kubeadm: set the kubelet cgroup driver to "systemd" during "init"
...
The kubeadm documentation instructs users to set the container
runtime driver to "systemd", since kubeadm manages a kubelet via
the systemd init system. The kubelet default however is "cgroupfs".
For new clusters set the driver to "systemd" unless the user
is explicit about it. The same defaulting would not happen
during "upgrade".
2021-03-02 18:39:39 +02:00
pacoxu
3c33ceab04
log a warning if ipv6 site-local addresses is using as it shouldn't be deprecated
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2021-03-02 21:51:28 +08:00
Kubernetes Prow Robot
33035a3fdf
Merge pull request #99586 from zgfh/update-kubeadm-upgrade-description
...
update kubeadm upgrade description
2021-03-01 18:19:41 -08:00
Alan Zhu
8ffdc674b2
update kubeadm upgrade description
...
Signed-off-by: Alan Zhu <zg.zhu@daocloud.io >
2021-03-01 20:42:57 +08:00
SataQiu
2ba178c92c
kubeadm: skip validating pod subnet against node-cidr-mask when allocate-node-cidrs is set to be false
2021-03-01 11:19:47 +08:00
Benjamin Elder
56e092e382
hack/update-bazel.sh
2021-02-28 15:17:29 -08:00
Kubernetes Prow Robot
4880b996b5
Merge pull request #99433 from navist2020/fix/kubeadm/out_info
...
Replace yml with yaml
2021-02-28 09:50:39 -08:00
Kubernetes Prow Robot
1ddc4afcf8
Merge pull request #99294 from pacoxu/kubeadm/dual-stack
...
kubeadm: promote DualStack feature gate to Beta
2021-02-25 20:16:15 -08:00
Lubomir I. Ivanov
108d1dc56a
kubeadm: pass pod-infra-container-image for all CRs
...
Pass the flag --pod-infra-container-image to the kubelet not only
for Docker but for all CRs.
This flag tells the kubelet to special case the image and not garbage
collect it.
2021-02-26 02:47:00 +02:00
navist2020
c5d8da019a
Replace yml with yaml
2021-02-25 11:52:34 +08:00
xiaofei.sun
fd62f32125
Scheduler: remove pkg/apis/core/field_constants.go
2021-02-24 18:06:29 +08:00
Lubomir I. Ivanov
e8f2d888a3
kubeadm: include appovers under reviewers in OWNERS
...
Looks like there is a bit of an issue in the Bluderbuss (Prow plugin)
where it prefers to pick reviewers from a parent OWNERS files,
instead of using an approver from a current OWNERS file as
an additional reviewer.
2021-02-22 20:02:09 +02:00
pacoxu
829b0cde81
kubeadm: promote DualStack feature gate to Beta
2021-02-22 16:03:49 +08:00
Kubernetes Prow Robot
972ae2f2c2
Merge pull request #99187 from CaoDonghui123/fixKubeadm-1
...
Delete duplicate logs for kubeadm upgrade versions
2021-02-21 15:19:41 -08:00
pacoxu
2c89fa4a59
add hostname check in kubeadm join: warning log only
...
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2021-02-20 09:50:25 +08:00
caodonghui
f7469a0a31
Delete duplicate logs
2021-02-19 09:19:11 +08:00
Heng WU
ace6b47298
Update addons.go
2021-02-14 21:04:43 +08:00
Kubernetes Prow Robot
b2b8c1f18d
Merge pull request #98980 from syswu/missing_return_nil
...
catching errors for 'kubeadm join'
2021-02-11 21:32:47 -08:00
Heng WU
4b7f6d8750
Update joinconfiguration.go
2021-02-11 09:57:08 +08:00
Heng WU
0bb842637c
Update joinconfiguration.go
2021-02-11 09:08:11 +08:00
Kubernetes Prow Robot
fcb55645a9
Merge pull request #98547 from neolit123/1.21-update-kubeadm-owners
...
kubeadm: update OWNERS for 1.21
2021-02-09 00:45:16 -08:00
Kubernetes Prow Robot
2b7c61b1bb
Merge pull request #98205 from pacoxu/build/pauses
...
update pause image to 3.4.1 and also update the change log
2021-02-08 18:20:58 -08:00
Kubernetes Prow Robot
f266f60da9
Merge pull request #98839 from Mattias-/kubeadm-fix-config-print-placeholder
...
kubeadm: Fix placeholder in config print help text
2021-02-08 11:54:43 -08:00
Kubernetes Prow Robot
0867767d6e
Merge pull request #98882 from kvaps/flatten-adminconfig
...
kubeadm: flatten admin.conf for cluster-info generation
2021-02-08 09:26:28 -08:00
Andrei Kvapil
9de0b2bf46
kubeadm: flatten admin.conf for cluster-info
2021-02-08 17:22:01 +01:00
Mattias Appelgren
7e80d4d191
kubeadm: Fix placeholder in config print help text
2021-02-06 18:32:45 +01:00
hasheddan
8ae6a20485
kubeadm: drop explicit constant override in version test
...
The k8s release bucket constant is not longer overriden in network tests
because the fetcher is mocked rather than using httptest.NewServer. See
previous implementation in
https://github.com/kubernetes/kubernetes/pull/49119/files#diff-82f2b09991047d4a1884d53dedadd64a473d5c4dc75293514e71773ceedf08e2R128
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2021-02-06 11:03:00 -06:00
hasheddan
1d164d0747
kubeadm: get k8s CI version markers from k8s infra bucket
...
Updates kubeadm version resolution to use kubernetes community infra
bucket to fetch appropriate k8s ci versions. The images are already
being pulled from the kubernetes community infra bucket meaning that a
mismatch can occur when the ci version is fetched from the google infra
bucket and the image is not yet present on k8s infra.
Follow-up to kubernetes/kubernetes#97087
Signed-off-by: hasheddan <georgedanielmangum@gmail.com >
2021-02-06 10:59:15 -06:00
pacoxu
f681edf58e
kubeadm: improve error message about node subnet size validation
...
Co-authored-by: Antonio Ojea <antonio.ojea.garcia@gmail.com >
Co-authored-by: SataQiu <1527062125@qq.com >
Co-authored-by: driazati <david.riazati@gatech.edu >
Co-authored-by: Lubomir I. Ivanov <neolit123@gmail.com >
2021-02-05 23:29:26 +08:00
pacoxu
8946f26769
update pause to 3.4.1 for kubelet/kubeadm
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-02-05 21:33:01 +08:00