k8s-ci-robot
1e4ad048fa
Merge pull request #67763 from rosti/join-discovery-split
...
kubeadm: Split discovery from JoinConfiguration
2018-10-16 19:25:47 -07:00
k8s-ci-robot
ee4346651c
Merge pull request #69800 from xichengliudui/fix181015
...
Fixing grammatical errors
2018-10-16 17:53:20 -07:00
k8s-ci-robot
1d3d1e8968
Merge pull request #68518 from leakingtapan/golint-fix-volume-empty-dir
...
fix golint issues for pkg/volume/empty_dir
2018-10-16 17:52:44 -07:00
Andrew Rynhard
197fd02dca
Fix node join taints
2018-10-16 14:24:53 -07:00
k8s-ci-robot
d169696b2e
Merge pull request #69622 from fabriziopandini/kubeadm-add-phase-runner
...
kubeadm refactor cmd init
2018-10-16 13:01:42 -07:00
k8s-ci-robot
c2d9321044
Merge pull request #69340 from stevesloka/fixHostNameOverride
...
Allow hostname-override arg to be used if specified
2018-10-16 13:01:32 -07:00
Rostislav M. Georgiev
576b8d3f4f
kubeadm: Split discovery from JoinConfiguration
...
This change splits out discovery fields from JoinConfiguration by performing
the following changes:
- Introduce a BootstrapTokenDiscovery structure, that houses configuration
options needed for bootstrap token based discovery.
- Introduce a FileDiscovery structure, that houses configuration options
(currently only a single option) needed for KubeConfig based discovery.
- Introduce a Discovery structure, that houses common options (such as
discovery timeout and TLS bootstrap token) as well as pointer to an instance
of either BootstrapTokenDiscovery or FileDiscovery structures.
- Replace the old discovery related JoinConfiguration members with a single
Discovery member.
This change is required in order to cleanup the code of unnecessary logic and
make the serialized JoinConfiguration more structured (and therefore, more
intuitive).
Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com >
2018-10-16 15:25:32 +03:00
stewart-yu
a2942e5f9c
fix register wrong configz for *-controller-manager
2018-10-16 18:00:25 +08:00
fabriziopandini
68b4286ae0
cmd init refactor
2018-10-16 11:38:42 +02:00
k8s-ci-robot
21cb721ca2
Merge pull request #69842 from liggitt/etcd2-cleanup
...
etcd2 code cleanup, remove deserialization cache
2018-10-15 23:27:56 -07:00
xichengliudui
0dba66a2a1
Delete repeated words and fix misspellings
...
Delete repeated words and fix misspellings
2018-10-16 01:05:05 -04:00
Jordan Liggitt
c8db31b84a
etcd2 code cleanup, remove deserialization cache
2018-10-15 22:17:44 -04:00
k8s-ci-robot
cf3a930938
Merge pull request #69607 from mikedanese/audctx
...
tokenreview: add APIAudiences config to generic API server and augment context
2018-10-15 19:03:43 -07:00
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
d54e0fc0bc
Merge pull request #69670 from atlassian/simplify-rand-seed
...
Simplify rand seeding
2018-10-15 13:53:01 -07:00
Cheng Pan
42ef7ae8d5
fix golint issues for pkg/volume/empty_dir
2018-10-15 20:00:36 +00:00
Tomáš Kukrál
a031d03501
use etcd endpoint from advertise-client-urls
...
It makes more sense to use advertised etcd endpoints instead of using
listened client URLS.
I'm solving this use case: Listen on localhost and public IP but I don't
want to add multiple endpoints to kube-apiservers because it's targeting
same etcd server.
2018-10-15 21:23:13 +02: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
xichengliudui
a20fbf0b5a
Fix syntax error
...
Fixing grammatical errors
2018-10-15 06:52:55 -04:00
Ibrahim AshShohail
2fb3ba71f1
Update usages of http.ResponseWriter.WriteHeader to use http.Error
...
Signed-off-by: Ibrahim AshShohail <me@ibrasho.com >
2018-10-14 05:58:00 +03: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
Zhen Wang
e35d808aa2
NodeLifecycleController treats node lease renewal as a heartbeat signal
2018-10-11 16:07:15 -07:00
k8s-ci-robot
820c9eef3f
Merge pull request #69512 from islinwb/reuse_GetNodeIP
...
Reuse func getNodeIP
2018-10-11 13:45:22 -07:00
k8s-ci-robot
94306c12f5
Merge pull request #69057 from denkensk/create-a-new-scheduler-constructor
...
create-a-new-scheduler-constructor
2018-10-11 13:45:02 -07: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
Mikhail Mazurskiy
3a243090a5
Simplify random seed initialization
...
There is no need to set the time zone as the result does not
depend on it
2018-10-11 21:01:15 +11: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
wangqingcan
608911d5ac
add test for new constructor
2018-10-10 17:15:10 +08:00
wangqingcan
a74fd15e62
create a new scheduler constructor
2018-10-10 17:10:10 +08:00
Mitar
3f8ef7c6f8
Adding more kernel config paths
2018-10-10 00:37:14 -07:00
Mike Danese
21fd8f2041
tokenreview: add APIAudiences config to generic API server and augment context
2018-10-09 22:47:10 -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
k8s-ci-robot
f9acfd8e38
Merge pull request #69527 from liggitt/remove-quorum
...
Remove deprecated --etcd-quorum-read flag
2018-10-08 23:38:02 -07:00
Pingan2017
c1a1050a68
remove kubelet flag --experimental-fail-swap-on
2018-10-09 10:54:28 +08:00
Weibin Lin
2d2ecb15d2
update bazel
2018-10-09 10:27:27 +08:00
Weibin Lin
0d57ec2938
reuse func getNodeIP
2018-10-09 10:27:27 +08:00