Commit Graph

7155 Commits (8696cfcfe2d084a70496cabe8f6a35ec2c9761c0)

Author SHA1 Message Date
k8s-ci-robot 16d0992534
Merge pull request #69753 from wangzhen127/diff-node-status
Update kubelet node status report logic with node lease feature
2018-11-07 20:26:45 -08:00
k8s-ci-robot e41f297d11
Merge pull request #69878 from Klaven/kubeadm_1072
Fixes /kubernetes/kubeadm/issues/1072 Cleanup of selfhosting logic
2018-11-07 19:10:25 -08:00
k8s-ci-robot df713d2711
Merge pull request #70729 from Pingan2017/remove-dulp-default
remove duplicate default in `kubelet --help`
2018-11-07 14:26:34 -08:00
Zhen Wang 98fc4a107a Update kubelet node status report logic with node lease feature
When node lease feature is enabled, kubelet reports node status to api server
only if there is some change or it didn't report over last report interval.
2018-11-07 11:59:42 -08:00
Marek Counts 18dc529d05 Removed feature gates selfhosting, HA and store certs in secrets.
Added new alpha command to pivot to self hosted
Removed slelfhosting upgrade ability
Added warning message to self hosted pivot
added certs in secrets flag to new selfhosting comand
2018-11-07 11:44:54 -05:00
Pingan2017 55a29589c8 remove duplicate default in kubelet --help 2018-11-07 14:41:03 +08:00
k8s-ci-robot 7737576629
Merge pull request #70405 from yagonobre/upload-config
kubeadm graduate upload-config phase
2018-11-06 16:12:44 -08:00
k8s-ci-robot 50de3a0d79
Merge pull request #69659 from cheftako/lintClean3
Fixes lint errors in kubeapiserver packages
2018-11-06 14:02:05 -08:00
Yago Nobre 79f1b66f4e
kubeadm graduate upload-config phase 2018-11-06 11:30:46 -02:00
k8s-ci-robot c6c88f1bf1
Merge pull request #70666 from neolit123/phase-fix-hidden
kubeadm: make sure that commands are not added for hidden phases
2018-11-05 20:59:47 -08:00
k8s-ci-robot be85dc07d9
Merge pull request #70534 from sttts/sttts-kube-ctrl-mgr-command-owner
cmd/kube-controller-manager: add myself as owner
2018-11-05 16:32:43 -08:00
k8s-ci-robot 7ac1f8974b
Merge pull request #70635 from xichengliudui/fix18110202
Modify and update the comments
2018-11-05 14:20:20 -08:00
k8s-ci-robot faed5aa974
Merge pull request #70537 from yagonobre/validate-kubeconfig
Validate kubeconfig files in case of external CA mode
2018-11-05 14:20:10 -08:00
k8s-ci-robot c8e5233971
Merge pull request #70646 from Pingan2017/kubelet-default
remove duplicate default value in `kubelet --help`
2018-11-05 12:58:26 -08:00
Lubomir I. Ivanov 4a098980d6 kubeadm: make sure that commands are not added for hidden phases 2018-11-05 22:15:31 +02:00
k8s-ci-robot 1059feddbc
Merge pull request #70584 from Songjoy/fix-typo
fix typo Kubernets to Kubernetes
2018-11-05 11:42:17 -08:00
k8s-ci-robot b3441e1348
Merge pull request #69662 from ereslibre/conditional-ipvs-check
kubeadm: Perform IPVS check on join only if the cluster was set up with IPVS
2018-11-05 10:24:17 -08:00
Dr. Stefan Schimanski 447720b4c6 cmd/kube-controller-manager: add myself as approver 2018-11-05 12:00:27 +01:00
Rostislav M. Georgiev eb6f7b1f17 kubeadm: Add configurable control plane up timeout
Until now the control plane timeout was fixed to 4 minutes and users did not
have the ability to change it. This commit allows that timeout to be configured
via the new `timeoutForControlPlane` option in the API server config (itself a
member of the ClusterConfiguration).

The default timeout is still 4 minutes.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-11-05 12:36:28 +02:00
xichengliudui 453197c3b7 Modify the wrong function name
Modify and update the comments

Modify and update the comments
2018-11-05 05:16:33 -05:00
Pingan2017 7db1252023 remove duplicate default value in kubelet --help 2018-11-05 17:47:00 +08:00
k8s-ci-robot f379f7b3e8
Merge pull request #70589 from fabriziopandini/kubeadm-phase-flags
Kubeadm phases - improve flags management
2018-11-04 19:19:07 -08:00
walter 2af982abb9 Fixes lint errors in kubeapiserver packages
Fixes lint errors in kubeapiserver/admission, kubeapiserver/authorizer,
kubeapiserver/authenticator. Also enables lint testing of these
directories.
Fixed go format.
Fixed changes from config.
2018-11-04 17:22:41 -08:00
Yago Nobre 52ef8ebd97
Update bazel 2018-11-04 19:02:12 -02:00
Yago Nobre e1320bba36
Validate kubeconfig files in case of external CA mode 2018-11-04 18:58:46 -02:00
fabriziopandini 3e5133e793 autogenerated 2018-11-04 19:47:04 +01:00
fabriziopandini d63bae610f improve flags management in phases 2018-11-04 19:46:55 +01:00
k8s-ci-robot 14120dd44a
Merge pull request #70611 from yagonobre/rsa
Fix error wrap on pki_helpers
2018-11-03 11:05:14 -07:00
Yago Nobre a80a573074
Fix error wrap on pki_helpers 2018-11-03 10:17:20 -03:00
k8s-ci-robot 474e27f914
Merge pull request #70495 from rosti/writable-to-readonly-volumes
kubeadm: Writable to ReadOnly in HostPathMount
2018-11-03 01:43:02 -07:00
k8s-ci-robot ee94a56214
Merge pull request #70551 from liztio/fix-renew-overflow
Fix overflow issue on renewal
2018-11-02 16:44:39 -07:00
k8s-ci-robot 5e76248e23
Merge pull request #70512 from neolit123/phase-wait-control-plane
kubeadm: graduate wait-control-plane phase
2018-11-02 16:44:20 -07:00
Rostislav M. Georgiev 6c9e347e31 kubeadm: Writable to ReadOnly in HostPathMount
Writable was added to HostPathMount in v1alpha1 in order to control if an extra
volume is mounted in read only or writable mode.
Usually, in Kubernetes, this option is referred to as ReadOnly, instead of
Writable and is defaulted to `false`. However, at the time, all extra volumes
to pods were defaulted to read-only. Therefore, to avoid changes to existing
v1alpha1 configs, this option had to be added with reversed meaning.

Hence, it's called `writable`.

Now, with the migration towards v1beta1, we can safely change this to ReadOnly
and get it in sync with the reset of Kubernetes.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-11-02 18:02:06 +02:00
k8s-ci-robot b83a947ee9
Merge pull request #70371 from rosti/control-plane-substructs
kubeadm: Control plane config moved to substructs
2018-11-02 08:38:47 -07:00
liz adf9d7a031
Fix overflow issue on renewal
Co-authored-by: Ruben Orduz <rubenoz@gmail.com>
2018-11-02 10:12:57 -04:00
Lubomir I. Ivanov cbb448113d kubeadm: graduate wait-control-plane phase 2018-11-02 15:47:23 +02:00
k8s-ci-robot 7f32ad0287
Merge pull request #70529 from SataQiu/fix-2018110101
Fix the expression of some comments
2018-11-02 05:29:05 -07:00
Songjoy e8a09871e0
fix typo Kubernets to Kubernetes
fix typo Kubernets to Kubernetes in line 239
2018-11-02 20:24:01 +08:00
Rostislav M. Georgiev d14c27a347 kubeadm: Control plane config moved to substructs
In v1alpha3's, control plane component config options were nested directly into
the ClusterConfiguration structure. This is cluttering the config structure and
makes it hard to maintain. Therefore the control plane config options must be
separated into different substructures in order to graduate the format to beta.

This change does the following:

- Introduces a new structure called ControlPlaneComponent, that contains fields
  common to all control plane component types. These are currently extra args
  and extra volumes.

- Introduce a new structure called APIServer that contains
  ControlPlaneComponent and APIServerCertSANs field (from ClusterConfiguration)

- Replace all API Server, Scheduler and Controller Manager options in
  ClusterConfiguration with APIServer, ControllerManager and Scheduler fields
  of APIServer and ControlPlaneComponent types.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-11-02 11:38:56 +02:00
k8s-ci-robot 400438a887
Merge pull request #70336 from yuexiao-wang/move-pkiutil
kubeadm: move certs/pkiutil to generic kubeadm utils
2018-11-01 22:16:45 -07:00
k8s-ci-robot 78b43cc631
Merge pull request #70388 from neolit123/phase-etcd
kubeadm: graduate etcd phase
2018-11-01 13:44:16 -07:00
k8s-ci-robot 8e9c376cb3
Merge pull request #70452 from neolit123/remove-token-test
kubeadm: remove the unit test TestRunListTokens
2018-11-01 09:53:14 -07:00
Lubomir I. Ivanov 31049f972a kubeadm: graduate the etcd phase 2018-11-01 18:29:17 +02:00
Dr. Stefan Schimanski 12f7d02e88 cmd/cloud-controller-manager: add myself as approver 2018-11-01 12:26:00 +01:00
SataQiu d32526fba4 improve the expression of some comments 2018-11-01 17:44:37 +08:00
Rafael Fernández López 242e071fa2
kubeadm: Perform IPVS check on join only if the cluster was set up with IPVS. 2018-11-01 09:43:16 +01:00
yuexiao-wang 4f0c2ecf09 move certs/pkiutil to generic kubeadm utils
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-11-01 15:05:19 +08:00
k8s-ci-robot a95c0c36e5
Merge pull request #70341 from yagonobre/fix-typos
Fix typos on cmd/kubeadm
2018-10-31 17:08:59 -07:00
fabriziopandini b56e122e66 autogenerated 2018-10-31 22:19:01 +01:00
fabriziopandini 0c31c79e7b kubeadm alpha commands 2018-10-31 22:18:39 +01:00