Commit Graph

7953 Commits (270e27d4b71cea75351e3162204a869ac1b6b1ba)

Author SHA1 Message Date
Kubernetes Prow Robot 18533fe84f
Merge pull request #76545 from xichengliudui/update-DNSType-comments
Update DNSType comments on compute.go
2019-04-15 00:20:01 -07:00
Kubernetes Prow Robot 299aa5d7a6
Merge pull request #76505 from rosti/fix-join-cri-detection
kubeadm: Don't error out on join with --cri-socket override
2019-04-14 14:30:00 -07:00
SataQiu 8b7b2349c7 capitalize the first letter of the prompt for consistency 2019-04-14 19:10:51 +08:00
Kubernetes Prow Robot 0a59758c58
Merge pull request #76549 from xichengliudui/ends-with-newline
Use fmt.printf() to end with a newline
2019-04-13 15:26:00 -07:00
Rostislav M. Georgiev 2d4307db9f kubeadm: Don't error out on join with --cri-socket override
In the case where newControlPlane is true we don't go through
getNodeRegistration() and initcfg.NodeRegistration.CRISocket is empty.
This forces DetectCRISocket() to be called later on, and if there is more than
one CRI installed on the system, it will error out, while asking for the user
to provide an override for the CRI socket. Even if the user provides an
override, the call to DetectCRISocket() can happen too early and thus ignore it
(while still erroring out).
However, if newControlPlane == true, initcfg.NodeRegistration is not used at
all and it's overwritten later on.
Thus it's necessary to supply some default value, that will avoid the call to
DetectCRISocket() and as initcfg.NodeRegistration is discarded, setting
whatever value here is harmless.

Signed-off-by: Rostislav M. Georgiev <rostislavg@vmware.com>
2019-04-12 17:25:11 +03:00
Davanum Srinivas a6a89421c5
Remove genyaml binary
Change-Id: I7a1ed6a475f8daedc79fcc86a0ad0ac2056065bd
2019-04-12 08:31:29 -04:00
Xin Wang 9870e0e7b5 Fix typo cgroupDriver -> cgroup-driver
Signed-off-by: Xin Wang <wileywang@yunify.com>
2019-04-12 06:38:53 +08:00
Kubernetes Prow Robot dca968b078
Merge pull request #76381 from rojkov/wrong-key
kubeadm: use correct expected key when checking test results
2019-04-11 05:22:11 -07:00
aaa 85901dd0e0 Update DNSType comments on compute.go
update pull request

update pull request

update pull request

update pull request
2019-04-10 11:43:18 -04:00
Dmitry Rozhkov 2d77d9a5a9 kubeadm: use correct expected key when checking test results
Resulting key needs to be compared with the expected key which
was set for the test case, not just a key.
2019-04-10 15:09:12 +03:00
aaa 980de9d38b Use fmt.printf() to end with a newline
update pull request
2019-04-10 03:27:25 -04:00
Kubernetes Prow Robot c62cd6e3a4
Merge pull request #76047 from codenrhoden/mv-nsenter-mount
Move nsenter mounter to pkg/volume/util/nsenter
2019-04-09 09:55:59 -07:00
Travis Rhoden 2253807760 Fix pkg/volume/util/nsenter linting errors 2019-04-08 10:43:54 -06:00
Travis Rhoden 1c045a09db Move nsenter mounter to pkg/volume/util/nsenter
As part of moving pkg/util/mount out of tree, the NSEnter implementation
of mount.Interface needs to be relocated out of pkg/util/mount, as it is
K8s specific. This patch relocates that mounter implementation to
pkg/volume/util/nsenter.

Since the NSEnter mounter shares a lot of its logic with the Linux
mounter implementation, many of the previously private methods of the
Linux mounter are now made public to maintain that shared code.

Additionaly, it was observed that *all* mount.Interface implemenations
were using the same common method for IsNotMountPoint, so this patch
removes that method from the mount.Interface definition and just exports
the common implementation instead.
2019-04-08 09:53:46 -06:00
Kubernetes Prow Robot e47fc04adc
Merge pull request #76201 from mrueg/flags-fix
kubeadm: Quote values in envFile
2019-04-08 05:44:28 -07:00
Manuel Rüger 912794b302 kubeadm: Quote values on envFile
See documentation: https://github.com/kubernetes/website/blob/master/content/en/docs/setup/independent/kubelet-integration.md#workflow-when-using-kubeadm-init

Signed-off-by: Manuel Rüger <manuel@rueg.eu>
2019-04-08 09:23:35 +02:00
Xing Yang 000ab86788 Move CSIDriver Lister to the controller 2019-04-05 12:20:11 -07:00
Kubernetes Prow Robot 84b561033e
Merge pull request #76175 from stealthybox/refactor-mediatype-loops
Refactor loops over `SupportedMediaTypes()` where mediaType is used to match a single SerializerInfo{}
2019-04-04 23:54:07 -07:00
Kubernetes Prow Robot a4a4b4c1db
Merge pull request #76119 from SataQiu/improve-kubeadm-20190404
Code refactor: replace repeated values with a constant
2019-04-04 22:31:43 -07:00
Kubernetes Prow Robot 71f4c9a51c
Merge pull request #76109 from vllry/kubeproxy-autocleanup
Remove kube-proxy autocleanup for inactive modes
2019-04-04 22:31:31 -07:00
Kubernetes Prow Robot 990ee3c09c
Merge pull request #76116 from xichengliudui/patch-5
Fix comments and function names are different
2019-04-04 21:08:07 -07:00
Vallery Lancey 3c9989258a Fixed --cleanup-ipvs help text 2019-04-04 18:35:24 -07:00
leigh capili 47e52d2981 Refactor loops over SupportedMediaTypes() where mediaType is used to match a single SerializerInfo{}
We have an existing helper function for this:  runtime.SerializerInfoForMediaType()

This is common prep-work for encoding runtime.Objects into JSON/YAML for transmission over the wire or writing to ComponentConfigs.
2019-04-04 19:01:01 -06:00
Vallery Lancey eff9b4036e Revert "Deprecated --cleanup-ipvs flag in kube-proxy"
This reverts commit 4f1bb2bd2f.
2019-04-04 16:59:05 -07:00
Kubernetes Prow Robot d18dae53a5
Merge pull request #75432 from draveness/feature/use-devnull-instead-of-stdin
feat: use ignore instead of stdin in genyaml cmd
2019-04-04 13:21:18 -07:00
Vallery Lancey 4f1bb2bd2f Depricated --cleanup-ipvs flag in kube-proxy 2019-04-04 12:51:36 -07:00
qingsenLi ccac84c12b delete some unused consts in kubeadm/app/constants/constants.go 2019-04-04 19:54:51 +08:00
SataQiu 4a200a2222 replace repeated values with a constant 2019-04-04 12:42:26 +08:00
lIuDuI 6f89267125
Fix comments and function names are different 2019-04-04 10:57:20 +08:00
Vallery Lancey cdce2d0ef9 Removed cleanup for non-current kube-proxy modes in newProxyServer() 2019-04-03 15:27:21 -07:00
Kubernetes Prow Robot d5b56f4ffc
Merge pull request #75988 from mcrute/add-mcrute-cloudprovider
Add mcrute to cloudprovider related owners files
2019-04-03 14:55:13 -07:00
Kubernetes Prow Robot 2c675818ed
Merge pull request #75866 from jmkeyes/kubeadm-config-image-repository-flag
Provide imageRepository override for 'kubeadm config images' commands.
2019-04-03 11:14:37 -07:00
Kubernetes Prow Robot 7cdd26e127
Merge pull request #76071 from qingsenLi/k8s190403
fix some spelling error
2019-04-03 05:31:53 -07:00
qingsenLi 1350446417 fix some spelling error 2019-04-04 00:07:19 +08:00
Kubernetes Prow Robot 628925672c
Merge pull request #76029 from SataQiu/improve-kubeadm-20190403
Code improve: use constants instead of hard coding
2019-04-03 05:31:41 -07:00
Kubernetes Prow Robot 0ec8ce0077
Merge pull request #76038 from MengZn/patch-1
patch-reset
2019-04-03 03:24:06 -07:00
Kubernetes Prow Robot 0f3867a830
Merge pull request #75948 from xichengliudui/addconstants
Replace variables 10251 and 10252 with constants
2019-04-03 03:23:55 -07:00
MengZeLee 52d8f5e19b patch-reset
When we reset cluster, the program does not automatically delete it ($HOME/.kube/config).
We should prompt the user how to checkt
2019-04-03 14:18:49 +08:00
Kubernetes Prow Robot 3a9ffadebe
Merge pull request #76016 from ping035627/k8s-190402
Extract Method for kubeadm
2019-04-02 18:45:42 -07:00
SataQiu 9e051bb327 code improve: use constants instead of hard coding 2019-04-03 05:58:01 +08:00
Kubernetes Prow Robot aa52140928
Merge pull request #75346 from seans3/version-fix
kubectl: removes pkg/version dependency
2019-04-02 10:19:18 -07:00
draveness 33e61267e3 feat: use bytes.NewReader(nil) instead of stdin in genyaml 2019-04-02 23:41:29 +08:00
PingWang 38fe68658d Extract Method for kubeadm
Signed-off-by: PingWang <wang.ping5@zte.com.cn>
2019-04-02 18:45:30 +08:00
Kubernetes Prow Robot c3cc31797a
Merge pull request #75969 from rajansandeep/translationcheck
Fix translation from kube-dns to CoreDNS Config to skip invalid values
2019-04-01 22:44:35 -07:00
Mike Crute 85d72950eb Add mcrute to cloudprovider related owners files 2019-04-01 19:06:34 -07:00
Kubernetes Prow Robot dd96b15e5d
Merge pull request #75931 from xichengliudui/Simplify-two-if
Simplify two if (remove redundant code)
2019-04-01 15:49:21 -07:00
Sandeep Rajan deadefd385 Fix translation to skip invalid values 2019-04-01 15:15:39 -04:00
Kubernetes Prow Robot 255a73ffc6
Merge pull request #75939 from xichengliudui/conversion-constants
Define common sentences as constants
2019-04-01 10:03:25 -07:00
Kubernetes Prow Robot 13cde9e181
Merge pull request #75950 from qingsenLi/k8s190401-fix-Certifcate
spelling error 'Certifcate'
2019-04-01 06:38:58 -07:00
qingsenLi 703a397ee3 spelling error 'Certifcate' 2019-04-02 01:14:56 +08:00