Commit Graph

7122 Commits (0c79df1bcbc0c6dd37a9929bf62515cffbbbd446)

Author SHA1 Message Date
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
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
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
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
Yago Nobre cc670e29a1
Fix typos on cmd/kubeadm/app/cmd 2018-10-31 16:32:02 -03:00
k8s-ci-robot 587f020a1a
Merge pull request #70368 from thomasem/cmd_test_to_cmd
Swap cmd_test to cmd package in kubeadm/app/cmd/config_test.go
2018-10-31 11:50:32 -07:00
Lubomir I. Ivanov 968fdb95e3 kubeadm: move the control-plane phase to the phase runner
Remove custom flags that were previously available per
sub-phase. Rely on the config passed to 'kubeadm init' for that.

Remove redundant functions in manifests.go.

Move the audit policy settings to the control plane phase (under
API server).
2018-10-31 16:05:14 +02:00
Lubomir I. Ivanov f337f0e580 kubeadm: remove the unit test TestRunListTokens
Remove the test based on these points:

- it's apparently flaky by more than one reports and it's hard to debug.
- it's not a CLI unit test.
- it's testing API objects using a fake API server which is a bad hack...
- existing e2e tests already provide coverage for all
the `expectedError: false` cases.
2018-10-30 22:49:01 +02:00
k8s-ci-robot 739998f8fe
Merge pull request #70098 from fabriziopandini/kubeadm-graduate-kubeconfig
Kubeadm graduate kubeconfig phase
2018-10-30 12:22:48 -07:00
k8s-ci-robot 0a405f4a86
Merge pull request #69812 from rosti/single-api-endpoint
kubeadm: Remove multiple API server endpoints support upon join
2018-10-30 12:22:38 -07:00
k8s-ci-robot d196d63c01
Merge pull request #69884 from liggitt/self-sign-in-memory
Allow components to generate certificates in-memory
2018-10-30 11:03:29 -07:00
fabriziopandini 4f26d1de5f autogenerated 2018-10-30 16:35:37 +01:00
fabriziopandini 3cadb3ca1d kubeadm graduate kubeconfig phase 2018-10-30 16:35:29 +01:00
Rostislav M. Georgiev a3e7d7e038 kubeadm: APIServerEndpoints -> APIServerEndpoint
In the past the discovery configuration expected, that we can support multiple
API server endpoints. In practice, we always end up with a single API server
endpoint, because, even in HA setups, we use a load balancer scheme for API
servers.
Therefore, to reduce complexity and improve readability of the config, the
multiple API server endpoints support is removed from the bootstrap token
discovery join method and configuration.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2018-10-30 16:10:28 +02:00
k8s-ci-robot 03a145de8a
Merge pull request #70271 from yuexiao-wang/switch-errors-1
[kubeadm/app/]switch to github.com/pkg/errors
2018-10-30 03:38:35 -07:00
yuexiao-wang c0a9b4d04d add BUILD
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-30 16:23:52 +08:00
yuexiao-wang cc303c8774 [kubeadm/app/]switch to github.com/pkg/errors
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-30 16:23:24 +08:00
k8s-ci-robot a5356359cb
Merge pull request #69518 from Pingan2017/remove-skip-preflight-checks-deprecated-info
remove flag '--skip-preflight-checks' deprecated info
2018-10-29 15:53:50 -07:00
k8s-ci-robot 8c6fbd708c
Merge pull request #70331 from ereslibre/graduate-certs
kubeadm: Graduate certs phase
2018-10-29 14:38:43 -07:00
k8s-ci-robot ab61dcda62
Merge pull request #70003 from yagonobre/kubeadm-clean-etcd-dir
Get the etcd data path from kubeadm config or etcd pod manifest on kubeadm reset
2018-10-29 14:38:22 -07:00
Rafael Fernández López 00a7240a3a
kubeadm: graduate `certs` phase 2018-10-29 17:23:31 +01:00
Thomas Maddox f4a98e83ed
Swap cmd_test to cmd package in kubeadm/app/cmd/config_test.go 2018-10-29 09:18:27 -05:00
zuoxiu.jm 7f608eb5df prune internal informer from kubeapiserver constructor 2018-10-29 11:30:44 +08:00
Yago Nobre b35e22abe1
Update bazel 2018-10-28 17:04:53 -03:00
Yago Nobre 0c9e922fcd
Get etcd data dir from kubeadm config or use etcd manifest as fallback on kubeadm reset 2018-10-28 17:04:53 -03:00
fabriziopandini fbd6d2d68a autogenerated 2018-10-27 18:04:44 +02:00
fabriziopandini d30492ee8f kubeadm graduate kubelet-start phase 2018-10-27 18:04:33 +02:00
k8s-ci-robot 1df4f8eaf6
Merge pull request #70028 from liggitt/move-extensions-types
move internal apps API types out of extensions package
2018-10-26 15:56:13 -07:00
k8s-ci-robot b104eac566
Merge pull request #67133 from yue9944882/refactor/admission-config-complete-new-flow
Refactor admission controller contructor with Config.Complete.New flow
2018-10-26 12:22:01 -07:00
yuexiao-wang f15410692e [kubeadm/app/util]switch to github.com/pkg/errors
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-26 15:17:21 +08:00
yue9944882 6a8faa6e40 replace contrustor of ad controller with config.complete.new flow
review:
1. import order
2. only set nil field on complete
3. replace hardcoded default namespace
2018-10-26 11:49:37 +08:00
Jordan Liggitt d0577ace6b fixup extensions->apps references 2018-10-25 21:12:57 -04:00
k8s-ci-robot 0ba00ec3a3
Merge pull request #69209 from Pingan2017/control-config
remove flag: insecure-experimental-approve-all-kubelet-csrs-for-group
2018-10-25 17:51:22 -07:00
k8s-ci-robot 584a86736e
Merge pull request #70071 from xichengliudui/fix18102203
Fix grammatical errors and repeat words
2018-10-25 07:12:20 -07:00
k8s-ci-robot abb8f66ff4
Merge pull request #70186 from yuexiao-wang/switch-errors
[kubeadm/app/cmd]switch to github.com/pkg/errors
2018-10-25 05:55:19 -07:00
yuexiao-wang f9084c6ce6 [kubeadm/app/cmd]switch to github.com/pkg/errors
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2018-10-25 15:05:04 +08:00
k8s-ci-robot eff7492d38
Merge pull request #70182 from SataQiu/fix-20181024
Fix incorrect return value of kubeadm pre-flight checks
2018-10-24 16:58:22 -07:00