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
Sean McGinnis
874ceb0fdf
Improve wording in kubeadm upgrade plan
...
Originally raised as an issue with invalid versions to plan, but it has
been determined with air gapped environments and development versions it
is not possible to fully address that issue.
But one thing that was identified was that we can do a better job in how
we output the upgrade plan information. Kubeadm outputs the requested
version as "Latest stable version", though that may not actually be the
case. For this instance, we want to change this to "Target version" to
be a little more accurate.
Then in the component upgrade table that is emitted, the last column of
AVAILABLE isn't quite right either. Also changing this to TARGET to
reflect that this is the version we are targetting to upgrade to,
regardless of its availability.
There could be some improvements in checking available versions,
particularly in air gapped environments, to make sure we actually have
access to the requested version. But this at least clarifies some of the
output a bit.
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com >
2021-02-03 09:44:15 -06:00
Kubernetes Prow Robot
645c40fcf6
Merge pull request #98638 from neolit123/1.21-optimize-unit-tests-certs
...
kubeadm: introduce static defaults for unit tests
2021-02-02 03:20:29 -08:00
Lubomir I. Ivanov
f27555b890
kubeadm: optimize tests in pki_helpers_tests.go
...
Reduce the number of calls to algorithm.GenerateKey()
but try not to reduce coverage.
2021-02-02 04:25:06 +02:00
Lubomir I. Ivanov
afea70f9ae
kubeadm: update OWNERS for 1.21
2021-02-01 20:14:00 +02:00
Lubomir I. Ivanov
6578e0f6c5
kubeadm: introduce static defaults for unit tests
...
Add DefaultedStaticInitConfiguration() which can be
used instead of DefaultedInitConfiguration() during unit tests.
The later can be slow since it performs dynamic defaulting.
2021-02-01 19:43:57 +02:00
Jordan Liggitt
8761972f68
Use private key fixtures for kubeadm unit tests
2021-02-01 10:06:10 -05:00
Lubomir I. Ivanov
01ea75e36d
kubeadm: exclude control plane nodes from external LBs
...
Apply the label:
"node.kubernetes.io/exclude-from-external-load-balancers"
To control plane nodes to preserve backwards compatibility
with the legacy mode where "master" nodes were excluded from
LBs.
2021-01-26 20:42:58 +02:00
chymy
081d78f635
kubeadm: APIEndpointFromString verifies ip
...
Signed-off-by: chymy <chang.min1@zte.com.cn >
2021-01-19 18:36:55 +08:00
Kubernetes Prow Robot
7791bbe978
Merge pull request #98008 from RA489/min_support_ver
...
kubeadm: Update versions for 1.21
2021-01-15 14:50:04 -08:00
Kubernetes Prow Robot
e1c1fd9edf
Merge pull request #97880 from justinsb/spelling
...
Fix spelling typos: scheduable -> schedulable
2021-01-15 03:43:51 -08:00
RA489
fe91902d08
kubeadm: Update versions for 1.21
2021-01-15 16:36:34 +05:30
Kubernetes Prow Robot
4a595bd373
Merge pull request #97372 from ihgann/master
...
Fix bug in Member Exists Join for Kubeadm etcd join
2021-01-14 12:45:30 -08:00
Kubernetes Prow Robot
d067c2e95d
Merge pull request #97087 from SataQiu/change-ci-image-repo
...
kubeadm: change the default image repository for CI images from gcr.io/kubernetes-ci-images to gcr.io/k8s-staging-ci-images
2021-01-14 08:55:04 -08:00
RA489
546b0a704d
kubeadm: Update versions for 1.21
2021-01-13 18:03:34 +05:30
Lubomir I. Ivanov
3b5e698cb2
kubeadm: trim leading "v" when running CoreDNS migration preflight
...
During upgrade the coredns migration library seems to require
that the input version doesn't have the "v" prefix".
Fixes a bug where the user cannot run commands such as
"kubeadm upgrade plan" if they have `v1.8.0` installed.
Assuming this is caused by the fact that previously the image didn't
have a "v" prefix.
2021-01-11 18:21:19 +02:00
Justin SB
8797738c02
Fix spelling typos: scheduable -> schedulable
...
Bulk fix of a common typo.
2021-01-09 12:59:33 -05:00
he.qingguo
6f1c8de85c
Fix typo of BoostrapToken in kubeadmin-type.go]
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2021-01-09 16:16:29 +08:00
pacoxu
bd3a74fece
use default unkown sock for kubeadm cmd if cri detect is not needed
...
Signed-off-by: pacoxu <paco.xu@daocloud.io >
2021-01-05 22:30:42 +08:00
Kubernetes Prow Robot
17bb2fc050
Merge pull request #97706 from knight42/refactor/kubeadm-certs-to-stable
...
refactor(kubeadm): remove the "alpha certs" command
2021-01-05 04:50:10 -08:00
Kubernetes Prow Robot
42fe1d3405
Merge pull request #97620 from rajansandeep/patch-1
...
[kubeadm]: CoreDNS preflight: Parse correct version syntax
2021-01-05 04:49:58 -08:00
Kubernetes Prow Robot
242e07dc3c
Merge pull request #97290 from neolit123/1.21-kubeadm-improve-token-error-messages
...
kubeadm: improve the error messages when validating discovery CA hash
2021-01-04 22:55:59 -08:00
Jian Zeng
394fb5617f
refactor(kubeadm): remove the "alpha certs" command
2021-01-05 11:18:36 +08:00
Sandeep Rajan
a9ba7b06f0
CoreDNS preflight: Remove "v" from version
...
Corrects the error: "CoreDNS will not be upgraded: cannot migrate up to 'v1.8.0' from '1.7.0'"
2021-01-04 20:26:03 -05:00
he.qingguo
5faa19ede8
Fix Spelling error about [workflow] for kubeadm
...
Signed-off-by: he.qingguo <he.qingguo@zte.com.cn >
2020-12-31 16:00:53 +08:00
Jian Zeng
57d563403b
refactor(kubeadm): remove deprecated command "alpha selfhosting pivot"
2020-12-31 13:47:15 +08:00
Jian Zeng
5ae687ecc6
feat(kubeadm): graduate command "kubeconfig user"
2020-12-30 10:24:23 +08:00
Kubernetes Prow Robot
80be1d6c72
Merge pull request #96429 from rajansandeep/coredns180-kubeadm
...
[kubeadm]: Bump CoreDNS version to 1.8.0
2020-12-29 13:19:48 -08:00
Kubernetes Prow Robot
88a05df5ff
Merge pull request #97266 from robbiemcmichael/kubeadm-validate-cert-chains
...
kubeadm: support certificate chain validation
2020-12-24 11:32:26 -08:00
Robbie McMichael
9022f24aed
kubeadm: tests for certificate chain validation
2020-12-24 23:49:04 +08:00
Robbie McMichael
de8821acd3
kubeadm: support certificate chain validation
...
Fixes an issue where some kubeadm phases fail if a certificate file
contains a certificate chain with one or more intermediate CA
certificates. The validation algorithm has been changed from requiring
that a certificate was signed directly by the root CA to requiring that
there is a valid certificate chain back to the root CA.
2020-12-24 23:41:10 +08:00
Kubernetes Prow Robot
9858bc2925
Merge pull request #97452 from 249043822/br-cleanup-kubctl111
...
remove unused funcs for kubeadm tests
2020-12-23 17:04:26 -08:00
Kubernetes Prow Robot
6d76ece4d6
Merge pull request #97413 from SataQiu/fix-kubeadm-join-command-20201221
...
kubeadm: clean redundant whitespace for join command template
2020-12-23 10:18:26 -08:00
KeZhang
0abed09a6a
remove unused funcs for kubeadm tests
2020-12-22 19:37:30 +08:00