k8s-ci-robot
2f8b585d9c
Merge pull request #69330 from vaikas-google/json-patch
...
Add support for JSON patch in fake client
2018-10-15 15:04:32 -07:00
k8s-ci-robot
b11211ed8c
Merge pull request #69645 from neolit123/kubeadm-set-version-fix
...
kubeadm: modify SetKubernetesVersion
2018-10-15 11:40:42 -07:00
k8s-ci-robot
653b027200
Merge pull request #69646 from zhouhaozz/delete-cert
...
certs: Delete useless code
2018-10-13 08:47:13 -07:00
Lubomir I. Ivanov
fa9940c71c
kubeadm: modify SetKubernetesVersion
...
Without this patch SetKubernetesVersion does not set
a version in all locations where it's called, because
the passed config to it always has a default version
stable-1.
This always triggers the != "" check and the function
returns without setting a version.
Validate against DefaultKubernetesVersion and "" instead.
This fixes all cases where fetching a version from the internet
is not needed at all - e.g. "kubeadm token create".
Also make SetKubernetesVersion default to version.Get().String()
and add unit tests for the function.
2018-10-13 17:16:22 +03:00
k8s-ci-robot
e4200cea9c
Merge pull request #69354 from yujuhong/rm-jwt
...
GCP: Remove the deprecated google-json-key support
2018-10-12 17:16:46 -07:00
k8s-ci-robot
f22334f14d
Merge pull request #69720 from fabriziopandini/kubeadm-add-etcd-ports-constant
...
Kubeadm - Add etcd ports constant
2018-10-12 16:02:01 -07:00
k8s-ci-robot
7d45044c11
Merge pull request #69684 from fabriziopandini/kubeadm-add-phase-runner2
...
kubeadm add phase runner
2018-10-12 14:48:56 -07:00
fabriziopandini
6a8ace5c65
add phase runner
2018-10-12 17:55:10 +02:00
fabriziopandini
66e846fa26
Add etcd ports constant
2018-10-12 09:33:07 +02:00
k8s-ci-robot
709ac9ce85
Merge pull request #69624 from bart0sh/PR0029-kubeadm-token-mix-config-with-print-join-command
...
kubeadm: allow usage --config with --print-join-command
2018-10-11 11:06:58 -07:00
k8s-ci-robot
8f620950e2
Merge pull request #69614 from mitar/patch-1
...
Adding more kernel config paths
2018-10-11 03:36:22 -07:00
Ville Aikas
a363b15385
Add support for JSON patch in fake client
2018-10-11 08:13:50 +00:00
Zhou Hao
081cf49671
certs: Delete useless code
...
Signed-off-by: Zhou Hao <zhouhao.oci@gmail.com >
2018-10-11 09:16:48 +08:00
k8s-ci-robot
8a4022fd49
Merge pull request #69517 from SataQiu/fix-2018100801
...
cleanup: delete duplicate lines
2018-10-10 16:46:45 -07:00
k8s-ci-robot
77742ea94c
Merge pull request #69301 from neolit123/kubeadm-version-stable
...
kubeadm: handle stable-1 as the default version
2018-10-10 12:01:18 -07:00
k8s-ci-robot
ccf6611c65
Merge pull request #69586 from neolit123/kubeadm-cleanup-init
...
kubadm: remove misleading message in `init`
2018-10-10 06:03:24 -07:00
k8s-ci-robot
c487e67290
Merge pull request #69575 from fabriziopandini/Kubeadm-api-doc
...
kubeadm - improve api config documentation
2018-10-10 06:03:04 -07:00
Ed Bartosh
eacff9436e
kubeadm: allow usage --config with --print-join-command
...
kubeadm token create --print-join-command --config <path>
fails with Error: can not mix '--config' with arguments [print-join-command]
As print-joint command can't be put into the configuration file it
should be possible to use those 2 options at the same time.
Added print-join-command options to the list of exceptions in
ValidateMixedArguments check to allow its usage with --config option.
Fixes : kubernetes/kubeadm#1166
2018-10-10 16:00:55 +03:00
Mitar
3f8ef7c6f8
Adding more kernel config paths
2018-10-10 00:37:14 -07:00
Lubomir I. Ivanov
28c936ea7f
kubadm: remove misleading message in init
...
The message right before the kubelet boots up the control
plane is misleading because the image pulling is now part of
preflight.
Remove the message.
2018-10-09 22:27:12 +03:00
fabriziopandini
17cf652783
kubeadm-improve-apidoc
2018-10-09 17:40:05 +02:00
SataQiu
6b7951a2d0
cleanup: delete duplicate lines
2018-10-08 17:14:22 +08:00
RA489
8729cade98
util/config` packages; filenames and methods should be updated to use new names
2018-10-08 14:12:17 +05:30
Guoliang Wang
187e2e01c9
Move scheduler cache interface and implementation to pkg/scheduler/internal/cache
2018-10-06 20:48:59 +08:00
Christoph Blecker
97b2992dc1
Update gofmt for go1.11
2018-10-05 12:59:38 -07:00
k8s-ci-robot
b836fa432e
Merge pull request #69420 from ereslibre/fix-kubeadm-panic
...
kubeadm: do not panic if etcd local alpha phase is called when an external etcd config is used
2018-10-05 10:55:30 -07:00
Rostislav M. Georgiev
f0d82fb5f4
kubeadm: Allow mixing Init and Join Configurations
...
This change allows mixing InitConfiguration/ClusterConfiguration with
JoinConfiguration in a single YAML file, by performing the following changes:
- Replace the explicit error in `DetectUnsupportedVersion` with a warning.
- Modify `NodeConfigFileAndDefaultsToInternalConfig` to use only
`JoinConfiguration`.
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2018-10-05 10:46:23 +03:00
Rafael Fernández López
503c6c7b85
kubeadm: do not panic if etcd local alpha phase is called when an external etcd config is used
...
If etcd local alpha phase is called manually while the kubeadm configuration
points to an external etcd cluster kubeadm panics.
2018-10-05 07:55:17 +02:00
Lubomir I. Ivanov
505413581e
kubeadm: handle stable-1 as the default version
...
The default version in kubeadm is now `stable-1`. This will
pull a version from the `stable-1.txt` endpoint which might
end up being newer than the version of the client by a magnitude
of MINOR or even a MAJOR release.
To be able to prevent this scenario add the new helper function:
validateStableVersion()
This function determines if the remote version is newer than the
local client version and if that's the case it returns `stable-X.xx`
that conforms with the version of the client. If not it returns
the remote version.
2018-10-05 00:02:57 +03:00
fabriziopandini
b4092acdb6
autogenerated
2018-10-04 13:20:20 +02:00
fabriziopandini
9aec633c40
Fix tests
2018-10-04 13:20:11 +02:00
fabriziopandini
488ac6825b
Automated bump from v1alpha3 references to v1beta1
2018-10-04 12:03:38 +02:00
fabriziopandini
8ae5179a7b
Add a duplicated v1beta1 API
2018-10-04 12:02:50 +02:00
Justin Santa Barbara
34b8433006
kubeadm: fix printf format error
...
go test in 1.11 verifies format strings; this fix is needed for the
test to pass with go 1.11.
2018-10-03 15:16:04 -04:00
k8s-ci-robot
94d300db32
Merge pull request #68290 from mkenigs/68201-cmd-kubeadm
...
Update import-boss - cmd/kubeadm
2018-10-02 21:46:12 -07:00
k8s-ci-robot
c179a9c9df
Merge pull request #67356 from yliaog/master
...
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s…
2018-10-02 20:35:51 -07:00
Yu-Ju Hong
ed92397eff
GCP: Remove the deprecated google-json-key support
...
The flag was deprecated in 1.10. According to the deprecation policy, it
is safe to remove the flag now.
2018-10-02 16:53:28 -07:00
Yu Liao
fc21115c3f
Moved staging/src/k8s.io/client-go/tools/bootstrap to staging/src/k8s.io/cluster-bootstrap
2018-10-02 09:46:13 -07:00
Lubomir I. Ivanov
94e4c25ae6
kubeadm: include better details about v1alpha3 godocs
...
- update examples in v1alpha3/doc.go
- add docs link when printing `kubeadm config print-default`
2018-10-02 19:12:41 +03:00
k8s-ci-robot
27456975d4
Merge pull request #69290 from neolit123/reviewer
...
cmd/kubeadm: add neolit123 as reviewer
2018-10-01 22:20:58 -07:00
k8s-ci-robot
1fbf7c5542
Merge pull request #69259 from xichengliudui/fix180929
...
Fix typo
2018-10-01 22:20:39 -07:00
k8s-ci-robot
2f2b445e0b
Merge pull request #69058 from fabriziopandini/kubeadm-cleanup-v1alpha3-api-conversion-and-restore-fuzzer
...
Kubeadm cleanup v1alpha3 api conversion and restore fuzzer
2018-10-01 18:04:24 -07:00
Lubomir I. Ivanov
0de2607443
cmd/kubeadm: add neolit123 as reviewer
2018-10-01 19:11:31 +03:00
Ed Bartosh
b1b719fa68
kubeadm: fix kubeadm join using existing certs
...
If 'kubeadm join' is run with --discovery-file option it still
prompts for bootstrap token. This makes it impossible to use
existing client certificates mentioned in the discovery file.
Fixed by checking for empty bootstrap token only if discovery file
is not specified.
Fixes : kubernetes/kubeadm#1142
2018-10-01 18:20:20 +03:00
RA489
824ed161d5
Rename the constant that refers to the kubeadm-config
ConfigMap
2018-10-01 15:50:04 +05:30
xichengliudui
3e2d2ea42d
fix typo
2018-09-29 06:17:20 -04:00
matthew
51ae0e426a
updated cmd/kubeadm/.import-restrictions with dependencies
...
Removed redundant prefixes
Update .import-restrictions
2018-09-28 17:28:40 -05:00
fabriziopandini
dd8a7aa257
autogenerated
2018-09-28 10:45:13 +02:00
fabriziopandini
19be8be4f3
Restore fuzzer test
2018-09-28 10:43:45 +02:00
fabriziopandini
8e887e1eee
cleanup v1alpha3 conversion to internal
2018-09-28 10:42:38 +02:00